Best LLMs for Structured Output Extraction
Extracts structured data from text into a specified JSON schema. Pure shape-conformance — no enrichment, no rephrasing, no summarisation. Used when a downstream consumer needs schema-clean data from prose.
Run this task on Fronset — request an invitation
Models
Frontier on this task: Claude Opus 5.5 at 9.93 / 10. Quality bar at 90%: 8.94.
point-estimate floor (CI low) · upper CI (less certain) · Bars sorted by blended cost; best-value model first. Greyed rows are MEDIUM+ models whose point estimate does not clear the bar.
| Model | Quality score | CI low | Cost / 1k runs | vs best value |
|---|---|---|---|---|
| Xiaomi MiMo V2.6 Flash | 9.77 / 10 | 9.54 | $0.74 | best value |
| GPT-6 Luna | 9.11 / 10 | 8.84 | $1.10 | 1.5x more expensive |
| Xiaomi MiMo V2.6 Pro | 9.64 / 10 | 9.38 | $2.22 | 3x more expensive |
| DeepSeek V4.1 Flash | 9.25 / 10 | 8.92 | $3.20 | 4.3x more expensive |
| MiniMax M3 | 9.17 / 10 | 9.01 | $4.55 | 6.1x more expensive |
| Qwen 3.7 Plus | 9.72 / 10 | 9.58 | $16.17 | 22x more expensive |
| GPT-6 Sol | 9.21 / 10 | 8.89 | $21.50 | 29x more expensive |
| Claude Sonnet 5.5 | 9.88 / 10 | 9.72 | $33.92 | 46x more expensive |
| Claude Opus 5.5 | 9.93 / 10 | 9.77 | $67.78 | 91x more expensive |
| Moonshot Kimi K3 | 9.60 / 10 | 9.30 | $75.39 | 102x more expensive |
| Qwen 3.8 Max | 9.34 / 10 | 8.94 | $142.10 | 192x more expensive |
| Grok 4.7 | 8.26 / 10 | 7.93 | $30.82 | 42x more expensive |
| Gemini 3.5 Flash Lite | 8.23 / 10 | 7.78 | $5.60 | 7.6x more expensive |
| Gemini 3.8 Flash | 8.15 / 10 | 7.82 | $10.15 | 14x more expensive |
| Thinking Machines Inkling Small | 8.41 / 10 | 7.92 | $7.32 | 9.9x more expensive |
| Claude Haiku 5.5 | 8.52 / 10 | 8.11 | $1.72 | 2.3x more expensive |
Cost breakdown
| Model | Quality | Confidence | Cost / 1k runs | Overpay | Mode |
|---|---|---|---|---|---|
| Xiaomi MiMo V2.6 Flash ★ Xiaomi MiMo | 9.77 / 10 CI [9.54, 9.99] | HIGH | $0.74 | best value | batch |
| GPT-6 Luna OpenAI | 9.11 / 10 CI [8.84, 9.39] | HIGH | $1.10 | 1.5x | batch |
| Xiaomi MiMo V2.6 Pro Xiaomi MiMo | 9.64 / 10 CI [9.38, 9.90] | HIGH | $2.22 | 3x | batch |
| DeepSeek V4.1 Flash DeepSeek | 9.25 / 10 CI [8.92, 9.59] | MEDIUM | $3.20 | 4.3x | batch |
| MiniMax M3 OpenRouter | 9.17 / 10 CI [9.01, 9.32] | RANKED | $4.55 | 6.1x | batch |
| Qwen 3.7 Plus Alibaba Cloud (DashScope) | 9.72 / 10 CI [9.58, 9.86] | RANKED | $16.17 | 22x | batch |
| GPT-6 Sol OpenAI | 9.21 / 10 CI [8.89, 9.53] | MEDIUM | $21.50 | 29x | batch |
| Claude Sonnet 5.5 Anthropic | 9.88 / 10 CI [9.72, 10.00] | RANKED | $33.92 | 46x | batch |
| Claude Opus 5.5 best Anthropic | 9.93 / 10 CI [9.77, 10.00] | RANKED | $67.78 | 91x | batch |
| Moonshot Kimi K3 Moonshot AI | 9.60 / 10 CI [9.30, 9.90] | MEDIUM | $75.39 | 102x | batch |
| Qwen 3.8 Max Alibaba Cloud (DashScope) | 9.34 / 10 CI [8.94, 9.73] | MEDIUM | $142.10 | 192x | batch |
Overpay shows how much more you pay than the best-value model that clears the quality bar (marked ★) — the best-value good-enough option. "16x" means you overpay 16× — 16× that reference for no quality benefit above the bar. Typical call shape for this task: 3451 input tokens → 13113 output tokens, EMA-tracked from production traffic. Cost is the observed, all-in $ per 1,000 task runs: each model's own measured usage on this task — output verbosity, thinking/reasoning tokens, cache reads and writes, and the spend on its billed failures — priced at current list rates and adjusted by the billing overhead we actually reconcile against provider invoices. Models that answer tersely cost what they actually cost; models that think at length pay for it. Not comparable to providers' advertised $/1M list rates — this is what running the task costs, not a per-token price.
Output schema
Every answer on this task is checked against this JSON Schema, whichever model wrote it. An answer that doesn't fit counts as a model failure, and the call is retried on another model.
{
"properties": {
"report_markdown": {
"description": "The full synthesized report formatted in Markdown.",
"title": "Report Markdown",
"type": "string"
}
},
"required": [
"report_markdown"
],
"title": "SynthesizedOutputMarkdownOnly",
"type": "object"
}Prompt templates
The published template for this task.
default ·
STRUCTURED_OUTPUT_EXTRACTION_SYSTEM_PROMPT +
STRUCTURED_OUTPUT_EXTRACTION_USER_PROMPT
(2695 calls in window)
System prompt
You are a JSON extraction assistant. Extract structured data from the provided text that matches the given JSON schema. Output ONLY the structured data matching the schema.
User prompt
Extract the structured data from the following text that matches this JSON schema:
## JSON Schema:
```json
{schema_json}
```
## Text to extract from:
{raw_text}