Which AI model for extract data from invoices and PDFs ?

To read invoices or statements and extract clean fields, we choose GPT-6.1 Terra: second on ParseBench and third on ExtractBench, at $1 per million input tokens. Claude Sonnet 5.5 and Gemini 3.8 Flash are the alternatives. Locally, Qwen3.8-27B is the most consistent open model across the three document tests.

Our recommendation.

Notre choix

GPT-6.1 Terra

OpenAI · served via API

Price per million tokens, input / output
1 $ / 5 $
Its profile and scores
Alternative 1

Claude Sonnet 5.5

Anthropic · served via API

Price per million tokens, input / output
2 $ / 10 $
Its profile and scores
Alternative 2

Gemini 3.8 Flash

Google · served via API

Price per million tokens, input / output
0.75 $ / 3.75 $
Its profile and scores

Why this choice

Claude Opus 5.5 reads documents best (ParseBench) and GPT-6.1 Sol extracts fields best (ExtractBench), but GPT-6.1 Terra is in the top three of both tests at a price that lets you process thousands of pages a month. Claude Sonnet 5.5, second on ExtractBench, handles complex documents; Gemini 3.8 Flash, third on ParseBench at $0.75, is enough for simple invoices.

À héberger chez vous

Qwen3.8-27B

Alibaba · poids ouverts

Price per million tokens, input / output
not published
On your premises
On a workstation · About 24 Go of GPU memory (1 × NVIDIA RTX 4090)

Qwen3.8-27B publishes results on all three document tests and matches Claude Sonnet 5.5 on ParseBench (69%), on a single 24 GB card.

Its profile and scores

An integrator's recommendation: it weighs the benchmarks below against price, speed and what we see in real projects. It is no substitute for a trial on your own cases.

What the benchmarks say.

The scores published on the 3 tests that measurent this task best. At the top of the table are the models that publish the most of these tests, then their average score out of 100; the best score in each column is highlighted in colour. Click a score to open its source.

Scores published on the task benchmarks: Extract data from invoices and PDFs
ModelParseBenchExtractBenchOmniDocBench 1.5Average score
Qwen3.8-27B69 %89,8 %91,1 %94 on 3 tests
Qwen3.6-35B-A3B37,4 %88,1 %89,9 %79 on 3 tests
GPT-6.1 Terra73,6 %94,3 %not published96 on 2 tests
Claude Opus 5.578,8 %86,1 %not published95 on 2 tests
GPT-6.1 Sol69,6 %95,3 %not published94 on 2 tests
Claude Sonnet 5.569,2 %94,7 %not published94 on 2 tests
GPT-6 Astra69,8 %91,9 %not published93 on 2 tests
GPT-6 Luna64,1 %91 %not published88 on 2 tests
Gemini 3.8 Flash71,2 %80,7 %not published88 on 2 tests
DeepSeek V4.1 Flash64,4 %87,1 %not published87 on 2 tests
Gemma 4 26B A4B58,5 %70,3 %not published74 on 2 tests
Qwen3.8 Maxnot publishednot published92,1 %100 on 1 test
Muse Glimmer 30Bnot publishednot published75,8 %82 on 1 test
Gemma 4 31B62,4 %not publishednot published79 on 1 test
Claude Haiku 5.556 %not publishednot published71 on 1 test
Gemma 4 12Bnot published45,4 %not published48 on 1 test

ParseBench

Document reading

Faithful transcription of complex business documents: tables, columns, headers, scanned pages.

LlamaIndex · 13 tracked models publish it

The official ranking

ExtractBench

Data extraction

Extracting specific fields from 370 business documents (4,869 pages, 67 document types), marked on accuracy and completeness.

LlamaIndex · 12 tracked models publish it

The official ranking

OmniDocBench 1.5

Document reading

Understanding complex layouts: formulas, tables, documents combining text and images.

OpenDataLab · 4 tracked models publish it

The official ranking

The criteria for choosing well.

A schema, not an open question

Give the exact list of expected fields (number, date, amount excl. VAT, VAT, supplier) and their format. The model fills in a form instead of telling a story.

Long documents separate the models

On a one-page invoice, almost all models perform equally. On a forty-page statement with tables spanning pages, the gap exceeds twenty points.

An automated check behind it

The line totals must equal the invoice total, and the VAT must match the rate. These checks catch most reading errors.

The questions we get asked.

Can AI read a scanned or photographed invoice?

Yes, 2026 models read the image directly, without separate character recognition software. A blurred or skewed photo remains the main cause of errors: ask for a straight scan.

How many invoices can an AI process a month?

No practical limit: a one-page invoice costs less than a cent with the models recommended here. The limit comes from human checking of doubtful cases, which needs to be built into the process.

Does the extracted data go straight into the accounts?

They can, through your software’s API (Pennylane, Sage, Odoo…). We always keep a queue of cases where the checks fail, handled by a person.

What is the best AI model for extract data from invoices and PDFs?

Our choice is GPT-6.1 Terra, à 1 $ le million de jetons en entrée, with Claude Sonnet 5.5 et Gemini 3.8 Flash as alternatives. On the task benchmarks as recorded on 15 November 2026, Claude Opus 5.5 leads ParseBench (78,8 %), GPT-6.1 Sol leads ExtractBench (95,3 %) et Qwen3.8 Max leads OmniDocBench 1.5 (92,1 %). Our choice weighs these scores against price and what we see in real projects.

Which local AI for extract data from invoices and PDFs?

Qwen3.8-27B, open-weight, on a workstation (about 24 Go of GPU memory (1 × NVIDIA RTX 4090), d'après BenchLM). Qwen3.8-27B publishes results on all three document tests and matches Claude Sonnet 5.5 on ParseBench (69%), on a single 24 GB card.

The right model for your specific case.

We test the recommended model and an alternative on your own examples, then connect it to your tools. The first meeting is used to scope the task and the volume.