Skip to content

Texomy vs LLM extraction

Use the model to write the parser, not to be the parser.

LLM per documentTexomy
CostTokens for every document, foreverAI once per format; parsing costs CPU time
DeterminismAnswers can vary between runsSame input, same output
Data locationUsually sent to a model providerParsed on your machine
AuditabilityA prompt and a model versionA readable spec, tests and exact offsets
Rate limitsSet by the model providerNone: it runs on your machine
10 MB of textMillions of tokens0.42–1.30 seconds with 12 matching worker threads on the measured examples; scaling varies by workload
Instructions in the textCan steer the model (prompt injection)Patterns match text; they do not follow it
Output shapeFollows the prompt; can vary between runsOne shape for every spec: type, offsets, fields
Novel, one-off textStrongNeeds a spec first
SetupA promptA 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