Best LLMs for Structured Data Extraction
Turning emails, invoices and forms into JSON at volume.
Typical request this page prices
- Quality floor: Top 60% of priced models by Intelligence Index (≥ 27.9).
- Costs use each provider’s current standard rates, with cached tokens at the cached-input rate where one is published. Speed is from Artificial Analysis where measured.
Lowest cost that meets the bar
Models that clear the quality floor, ordered by estimated cost for the request above.
| Model | Intelligence | Speed | Cheapest host | Input / output per 1M | Per 1,000 requests |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash DeepSeek | 32.4 | 186tok/s | OpenRelay 30 providers | $0.035 / $0.330 cached $0.010 | $0.308 |
| Ling 3.1 Flash InclusionAI | 29.7 | - | OpenRouter 6 providers | $0.075 / $0.225 cached $0.015 | $0.363 |
| MiniMax-M3.1-Flash MiniMax | 29.1 | 128tok/s | OpenRouter 13 providers | $0.075 / $0.300 cached $0.0075 | $0.399 |
| GPT-6 Luna OpenAI | 27.9 | 138tok/s | HiAPI 10 providers | $0.082 / $0.410 cached $0.0082 | $0.485 |
| Muse Ember Meta | 36.1 | 599tok/s | OpenRouter 2 providers | $0.100 / $0.500 cached $0.0040 | $0.585 |
| Claude Haiku 5.5 Anthropic · 1.0M context | 36.5 | 225tok/s | IteraCompute 7 providers | $0.100 / $0.500 cached $0.010 | $0.592 |
| Inkling 2 Small Thinking Machines | 30.7 | 93tok/s | Prime Intellect 5 providers | $0.150 / $0.500 cached $0.030 | $0.756 |
| Qwen3.8-Flash-Next Alibaba | 28.5 | 81tok/s | Liquid Inference 1 provider | $0.200 / $0.500 | $1.10 |
Highest-scoring options
Ordered by Artificial Analysis Intelligence Index, with the cost of the same request.
| Model | Intelligence | Speed | Cheapest host | Input / output per 1M | Per 1,000 requests |
|---|---|---|---|---|---|
| Claude Fable 5.2 Anthropic · 1.0M context | 64.8 | 91tok/s | HiAPI 9 providers | $4.07 / $20.35 cached $0.102 | $23.73 |
| GPT-6.2 Astra OpenAI | 62.2 | 64tok/s | HiAPI 8 providers | $2.00 / $10.00 cached $0.100 | $11.72 |
| Gemini 4 Neon Google | 61.5 | 124tok/s | PopNow 4 providers | $2.10 / $10.50 cached $0.105 | $12.31 |
| Gemini 4 Carbon Google | 60.1 | 85tok/s | HiAPI 6 providers | $1.64 / $8.20 cached $0.090 | $9.62 |
| Claude Opus 5.5 Anthropic · 1.0M context | 59.1 | 97tok/s | CloudGPU 12 providers | $2.00 / $10.00 cached $0.100 | $11.72 |
| GPT-6.2 Sol OpenAI | 57.3 | 74tok/s | HiAPI 9 providers | $0.500 / $2.50 cached $0.025 | $2.93 |
| GPT-6 Astra OpenAI | 56.9 | 71tok/s | HiAPI 10 providers | $2.50 / $12.50 cached $0.250 | $14.80 |
| GPT-6.1 Sol OpenAI | 54.7 | 78tok/s | HiAPI 10 providers | $0.500 / $2.50 cached $0.025 | $2.93 |
Compare every model and provider on the LLM API pricing table.
How to choose an LLM for structured data extraction
Extraction pipelines send a schema, a few examples and one document, and expect a JSON object back. The instructions and examples repeat on every call, so part of the input is cacheable; the document itself is not. The estimate assumes about a third of input is a cached prefix.
Accuracy is measured against your own schema, not a general benchmark. A model with a modest intelligence score but reliable structured-output support often beats a higher-scoring model that occasionally emits malformed JSON. The quality floor here is deliberately below the median so smaller, faster models stay in the comparison.
At high volume the per-request cost is what matters. Small differences in output rate add up when every document returns several hundred tokens of JSON.
Frequently Asked Questions
How do I pick a model for extraction without a benchmark for my schema?
Label a few dozen representative documents, run the cheapest few models from this list against them, and compare field-level accuracy. Move up the quality list only if the cheaper models miss fields you need.
Does structured output mode cost more?
Providers generally bill structured or JSON-mode output at the normal token rates. The cost difference comes from output length, so keep schemas compact and avoid asking for explanations alongside the data.
Can I use batch APIs for extraction?
Yes, if documents can be processed asynchronously. Batch rates are lower than standard rates at most providers that offer them; check each model’s page for current batch pricing.