Texomy vs LLM extraction
Use the model to write the parser, not to be the parser.
| LLM per document | Texomy | |
|---|---|---|
| Cost | Tokens for every document, forever | AI once per format; parsing costs CPU time |
| Determinism | Answers can vary between runs | Same input, same output |
| Data location | Usually sent to a model provider | Parsed on your machine |
| Auditability | A prompt and a model version | A readable spec, tests and exact offsets |
| Rate limits | Set by the model provider | None: it runs on your machine |
| 10 MB of text | Millions of tokens | 0.42–1.30 seconds with 12 matching worker threads on the measured examples; scaling varies by workload |
| Instructions in the text | Can steer the model (prompt injection) | Patterns match text; they do not follow it |
| Output shape | Follows the prompt; can vary between runs | One shape for every spec: type, offsets, fields |
| Novel, one-off text | Strong | Needs a spec first |
| Setup | A prompt | A sample and your agent |
Pay for intelligence once
Most extraction workloads repeat: the same log format, the same supplier invoices, the same report phrasing. An LLM reads every one of them from scratch. With Texomy, your agent studies a sample once and writes a spec. From then on, parsing needs no model at all.
Results you can defend
Every node in a Texomy result points to the exact characters it came from, and the spec that produced it is a reviewed file in your repository. When a value is wrong, you fix a rule and add a test, instead of rewording a prompt and hoping.
Text cannot give orders
A document sent to a model is also a prompt. An invoice or an email that says ignore the previous instructions can change what the model extracts, and you will not see it in the output. A Texomy spec only matches patterns. Whatever the text says, it is parsed by the same rules as every other record.
Best together
Texomy is built for AI authoring. The MCP server gives Claude Code, Cursor, Copilot and other agents the tools to write, check and test specs. Studio lets you review the spec and inspect its matches. The model does what it is good at, and the parser does the rest.
When an LLM is the better tool
- Documents with little recurring structure.
- One-off questions about a single document.
- Tasks that need judgement or summarisation, not extraction.
Questions
Does Texomy use AI when parsing?
No. texomy parse runs the compiled spec locally. AI is only involved while writing or refining a spec.
What happens when a new format appears?
Records that match nothing produce no node. Show the new sample to your agent, let it extend the spec, and keep the old tests green.
How much does it save?
It depends on your volume and model. We are preparing reproducible comparisons on public datasets that measure accuracy, runtime cost and authoring effort separately.
More comparisons: Texomy vs regular expressions · Texomy vs Grok patterns · Texomy vs a script from your AI
Write the spec once. Run it on everything.
Install the CLI, connect your agent, and turn your first sample into typed data in minutes.
brew install texomy/tap/texomy