We present ExtractBench Pro, a schema-guided document extraction benchmark that tests six challenging modes of extraction underrepresented in existing datasets. It is created following a framework for synthetic document generation, in which deterministic document generators assemble challenging components into documents that are designed to be difficult at a level calibrated for frontier systems. We synthesize 100 realistic documents spanning a diverse range of styles. On this data, we evaluate ten coding agents and eight extraction API configurations for accuracy, grounding, and their ability to perfectly extract documents. No extraction system extracts more than 61% of documents error-free. The strongest general-purpose coding agents, Claude Code Opus 5.5 and Codex GPT-6 Astra, outperform specialized extraction APIs on both perfect-document rate and Value F1, but at a higher cost per page. Among specialized extraction APIs, LlamaExtract spans the lower-cost frontier, with Agentic Plus Max Effort approaching the strongest coding agent on both perfect-document rate and Value F1 at lower cost per page. Our analysis of coding agent traces identifies intelligent image processing and programmatic reasoning, but also failures in applying document-specific definitions and recovering relationships from diagrams. We release ExtractBench Pro and these evaluation results as resources for the future development of improved frontier extraction systems.
Figures & tables
Figure 1: Selected page regions from ten generated ExtractBench Pro documents spanning all six challenge groups, illustrating their visual diversity and complexity.
Extraction challenges
Evaluation
Benchmark
Long lists
Degraded pages
Cross- references
Computed values
Chart evidence
Grounding
Cost
Contextual ExtractBench [ 8 ]
✓
ExStrucTiny [ 21 ]
✓
✓
VAREX [ 2 ]
✓
UniKIE-Bench [ 12 ]
✓
LongArray-Extract [ 6 ]
✓
✓
Table 1: Coverage of extraction challenges and evaluation measures. Checkmarks indicate reported coverage; blank cells indicate no reported coverage. Grounding scores source locations, and cost measures extraction spending. Pro combines these measures with tasks requiring computed values and chart evidence, including printed chart content.
Figure 2: Coding agents build configurable generators from real references and revise them using verifier feedback. Each generator produces a document, extraction schema, and ground truth from shared data, with controls over content and presentation. In the highlighted example, the generator draws 11 beats on an ECG strip and computes the expected rate band using the counting rule printed in the document.
Challenge group
Main elements
Generators
Docs
Pages
Values
Interpretation rules
Rules , aggregation
18
22
875
121,287
Custom terminology
Jargon , rules
14
14
606
15,242
Conditional aggregation
Aggregation , rules
12
12
225
409
Relational diagrams
Relational diagrams , rules, aggregation
17
20
352
2,349
Charts and maps
Charts and maps , rules
25
25
557
1,347
Long single pages
Extreme aspect ratios , charts and maps
4
7
7
3,507
Table 2: Dataset composition across challenge groups. Values are scalar fields in the expected output, including nulls.
Figure 3: The construction process for the ExtractBench Pro benchmark, starting with challenge mining followed by a feedback cycle to construct appropriately-difficult extraction tasks.
Figure 4: Perfect Value F1 and mean document-level cost per page. The dashed line joins the observed cost-quality frontier.
System
Perfect Value F1
Value F1
Grounding F1
¢/page
Coding agents
Codex GPT-6 Astra
59.0
96.3
72.2
95.2
Codex GPT-6.1 Sol
13.0
75.8
65.0
13.9
Codex GPT-6 Luna
0.0
53.1
47.6
1.1
Codex GPT-6.1 Terra
27.0
74.2
60.2
4.1
CC Opus 5.5
61.0
93.1
60.3
41.2
Table 3: Overall results. Bold and underline mark the highest and second-highest scores in each quality column. LE: LlamaExtract; CC: Claude Code.
System
Interpretation rules
Custom terminology
Conditional aggregation
Relational diagrams
Charts and maps
Long single pages
Perfect
F1
Perfect
F1
Perfect
F1
Perfect
F1
Perfect
F1
Perfect
F1
Coding agents
Codex GPT-6 Astra
27.3
97.2
64.3
99.5
66.7
89.3
80.0
98.0
64.0
94.7
57.1
99.7
Codex GPT-6.1 Sol
9.1
91.4
14.3
86.6
16.7
46.6
25.0
75.1
4.0
65.6
14.3
93.6
Codex GPT-6 Luna
0.0
71.9
0.0
73.4
0.0
30.4
0.0
39.6
0.0
55.0
0.0
23.4
Codex GPT-6.1 Terra
9.1
67.5
14.3
89.2
25.0
63.6
30.0
74.4
56.0
87.7
0.0
34.6
Table 4: Perfect Value F1 / Value F1 by challenge, in percent. Bold and underline mark the highest and second-highest scores in each column. LE: LlamaExtract; CC: Claude Code.
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 5: Pages from twenty documents of ExtractBench Pro, chosen to show the drawn and charted formats.
Figure 6: An example reasoning flow for extracting a value from a document in the Interpretation rules challenge group.
Figure 7: An example reasoning flow for extracting a value from a document in the Custom terminology challenge group.
Figure 8: An example reasoning flow for extracting a value from a document in the Conditional aggregation challenge group.
Figure 9: An example reasoning flow for extracting a value from a document in the Relational diagrams challenge group.
Figure 10: An example reasoning flow for extracting a value from a document in the Charts and maps challenge group.
Figure 11: An example reasoning flow for extracting a value from a document in the Long single pages challenge group.
Figure 12: Four stages in generating an ECG page for a titration packet. The program lays out the page, draws traces from the data model, adds text, and applies a capture transform. Expected values come from the underlying data. Evidence annotations are added where the task provides a localized source.
Grounding F1
System
All
Interp.
Terms
Aggr.
Diagr.
Charts and maps
Long pages
Boxed values (%)
78
77
100
66
20
7
100
Coding agents
Codex GPT-6 Astra
72.2
92.2
63.5
33.3
87.1
87.8
14.0
Codex GPT-6.1 Sol
65.0
82.0
54.2
32.2
80.3
75.7
19.2
Codex GPT-6 Luna
47.6
52.7
44.1
18.2
57.0
83.0
0.0
Appendix
Table 5: Grounding F1 by challenge under the three-hour execution budget across the 81 documents with bounding-box annotations. A value is grounded when it is correct and its box overlaps an accepted box at IoU ≥0.5 ; the second header row gives the share of expected values with a box. Bold and underline mark the highest and second-highest scores in each column.
Minutes per document
Runs scoring 0
System
Mean
Median
Max
> 3 hours
Failed
Finished zero F1
Extraction APIs
LlamaExtract Agentic Plus Max Effort
6.9
5.3
20
0
0
0
LlamaExtract Agentic Plus
3.5
2.9
21
0
0
0
LlamaExtract Agentic
3.2
2.7
11
0
0
0
LlamaExtract Cost Effective
5.6
5.4
13
0
0
8
Appendix
Table 6: Wall-clock time per document over runs with a recorded duration, and runs scoring zero: runs over three hours, execution failures, and completed runs with zero Value F1.
Perfect Value F1 (%)
Value F1
Grounding F1
System
30 min
3 hours
30 min
3 hours
30 min
3 hours
Extraction APIs
LlamaExtract Agentic Plus Max Effort
56
56
92.7
92.7
66.2
66.2
LlamaExtract Agentic Plus
36
36
81.2
81.2
62.4
62.4
LlamaExtract Agentic
38
38
80.6
80.6
61.4
61.4
LlamaExtract Cost Effective
0
0
47.2
47.2
49.4
49.4
Appendix
Table 7: Scores with a 30-minute limit and the primary three-hour limit, on the same saved outputs. Bold marks a score that the limit changes.
System
Interp.
Terms
Aggr.
Diagr.
Charts/maps
Long
Extraction APIs
LlamaExtract Agentic Plus Max Effort
10.8
8.3
8.0
19.9
19.5
332.3
LlamaExtract Agentic Plus
7.5
7.5
7.5
7.5
7.5
7.5
LlamaExtract Agentic
3.1
3.1
3.1
3.1
3.1
3.1
LlamaExtract Cost Effective
1.0
1.0
1.0
1.0
1.0
1.0
Datalab Accurate
3.4
2.6
3.9
8.1
5.2
40.5
Appendix
Table 8: Mean document-level cost per page (¢) by challenge. A long chart sheet is one page, so its column is the mean cost per sheet. Abbreviations: Interp. (Interpretation rules), Terms (Custom terminology), Aggr. (Conditional aggregation), Diagr. (Relational diagrams), Charts and maps, and Long (Long single pages).
Figure 13: Per-document Value F1 under the three-hour budget across the 18 systems. Documents are grouped by challenge and ordered by mean score; systems are grouped with extraction APIs first, followed by coding agents. White dots mark documents with Value F1 equal to one.
Extraction APIs
Coding agents
Document
Challenge
LlamaExtract Agentic Plus Max Effort
LlamaExtract Agentic Plus
LlamaExtract Agentic
LlamaExtract Cost Effective
Datalab Accurate
Extend Operator
Pulse Effort
Reducto Deep
Codex GPT-6 Astra
Codex GPT-6.1 Sol
Codex GPT-6 Luna
Codex GPT-6.1 Terra
Claude Code Opus 5.5
Claude Code Sonnet 5.5
Claude Code Haiku 5.5
Muse Code Ember 1.0
Gemini CLI Argon
Gemini CLI Hydrogen
Mean
Water loss audit 02
Diagrams
50
20
25
17
59
14
24
18
76
100
15
25
100
14
18
23
0
0
33
Time location chart 02
Long pages
57
78
2
1
0
0
17
0
99
96
0
34
99
0
0
82
0
99
37
TV post buy affidavit 01
Aggregation
17
37
37
43
40
17
37
37
100
34
37
17
37
66
40
17
40
17
37
Time location chart 01
Long pages
99
62
0
0
0
0
0
0
100
86
0
9
56
98
0
81
0
96
38
Wireline log 01
Long pages
98
7
2
0
0
0
9
14
99
90
12
6
95
96
36
65
28
99
42
Appendix
Table 9: Value F1 (%) on the ten documents with the lowest mean Value F1 across the 18 systems, under the three-hour budget, lowest first. Scores are rounded to whole numbers, except that a cell reads 100 only when the document is perfect. Failed runs score 0.
Figure 14: Left: Percentage of documents meeting each Value F1 threshold; the remaining systems appear in gray. Right: Oracle scores as systems are added greedily to maximize additional perfect-document coverage, breaking ties by oracle mean Value F1. Both panels use all 100 documents under the three-hour budget.
Figure 15: Spearman correlation of per-document Value F1 across all 18 systems. Orange labels identify extraction APIs; teal labels identify coding agents. Lines separate the two groups.
System
Effort
Perfect (%)
Value F1 [95% CI]
Cost (¢/page)
Median (min)
Codex GPT-6.1 Sol
Low
13
75.8 [70.8, 80.7]
13.9
3.6
Medium
28
88.2 [84.3, 91.7]
18.9
5.2
Extra High
48
92.7 [89.4, 95.5]
19.5
8.8
Codex GPT-6.1 Terra
Low
11
51.3 [44.7, 58.2]
2.6
1.8
Medium
27
74.2 [68.2, 80.0]
4.1
3.4
Extra High
55
89.3 [85.0, 93.1]
12.3
8.1
Appendix
Table 10: Reasoning effort on all 100 documents, with a one-hour execution budget per document. Failures score zero. Value F1 intervals use 10,000 paired document-bootstrap resamples. Cost is the mean document-level cost per page.