Table of Contents
Which AI model can you trust to read invoices? We ran 6 on 100 documents, and rental invoices split them
If your accounts payable team wants a model to key invoices for them, the question is not whether it reads an invoice. It is how often one comes back with a wrong number nobody notices. On December 1, 2026 we took 100 invoices, gave them to six models, and counted a document as right only when every value on it was right.
- Ordinary invoices and contracts are solved. Gemini 4 Hydrogen, Claude Sonnet 5.5, Claude Haiku 5.5 and GPT-6 Luna got all 60 right on both passes. The cheapest of them costs 28 cents per 1,000 documents.
- Equipment rental invoices are not. On 18 rental invoices with rates printed beside the billed amount, Gemini 4 Hydrogen read every one right on both passes. Claude Sonnet 5.5 and GPT-6.2 Sol got 86% fully right, Claude Haiku 5.5 got 83%, GPT-6 Luna got 56% and Gemini 3.5 Flash-Lite got 33%.
- Scans decide it for the cheap models. On the hard invoices we degraded to look like scans, Luna got half right and Flash-Lite got 4%.
- Gemini 4 Hydrogen was the most accurate and Claude Haiku 5.5 is the value pick. Hydrogen got 97.5% of the hard invoices fully right at $20.45 per 1,000. Haiku got 92.5% at $1.27.
No model was perfect on the hard set, so plan for a review step whichever you choose.
| Test setup | |
|---|---|
| Date | December 1, 2026 |
| Models | Gemini 4 Hydrogen, Claude Sonnet 5.5, Claude Haiku 5.5, GPT-6.2 Sol, GPT-6 Luna, Gemini 3.5 Flash-Lite, each through its vendor's API |
| Ordinary set | 60 documents: 45 invoices and credit notes, 15 service agreements |
| Hard set | 40 invoices: 18 equipment rental, 12 paint supplier, 10 workforce screening |
| Passes | Two per model, same prompt, default settings, each vendor's structured-output feature |
| Scoring | A document is right only if every header field and every line item matches the answer key |
| Data | All 100 documents, the answer keys, scripts and results |
The scorecard
| Model | Ordinary set, fully right | Hard set, fully right | Rental | Paint | Screening | Scanned hard invoices | Cost per 1,000 hard invoices |
|---|---|---|---|---|---|---|---|
| Gemini 4 Hydrogen | 100% | 97.5% | 100% | 91.7% | 100% | 91.7% | $20.45 |
| Claude Sonnet 5.5 | 100% | 93.8% | 86.1% | 100% | 100% | 95.8% | $20.93 |
| GPT-6.2 Sol | 98.3% | 93.8% | 86.1% | 100% | 100% | 87.5% | $15.88 |
| Claude Haiku 5.5 | 100% | 92.5% | 83.3% | 100% | 100% | 87.5% | $1.27 |
| GPT-6 Luna | 100% | 76.2% | 55.6% | 87.5% | 100% | 50.0% | $0.87 |
| Gemini 3.5 Flash-Lite | 88.3% | 53.8% | 33.3% | 66.7% | 75.0% | 4.2% | $2.69 |
Each percentage covers both passes: 120 readings on the ordinary set and 80 on the hard set per model. Costs come from the tokens each call used and the standard list prices from OpenAI, Anthropic and Google on the test date.
Ordinary invoices are solved
The ordinary set is what most suppliers send: one or two pages, a handful of lines, a subtotal, tax and a total. We added the traps that catch people. Day-first dates from UK suppliers. German and Swiss number formats. A due date given only as "Net 30". A balance due printed larger than the invoice total. A logo that differs from the legal name. A dollar sign on a Canadian invoice. Fifteen documents were degraded to look like scans, and 15 were service agreements with their own traps, such as a special-terms clause that overrides the stated term.
Four models read all of it correctly on both passes. GPT-6.2 Sol miscounted the line items on two scanned invoices. Gemini 3.5 Flash-Lite got 24 values wrong, 22 of them invoice or due dates.
For this kind of document, buy on price. Claude Haiku 5.5 cost 51 cents per 1,000 documents and GPT-6 Luna cost 28 cents.
Rental invoices are where models fail
Equipment rental invoices are built differently. Every line prints the minimum, day, week and four-week rates next to the amount actually billed. Under each line sit the make, model, serial number, meter readings and rental dates. A long job runs to three pages and two dozen lines. Then come the protection plan, an environmental charge, delivery, pickup and tax.

One page of a three-page rental invoice from the hard set. The vendor is invented; the layout follows the one US rental houses publish. Generated December 1, 2026.
We modeled the layout on the sample rental agreement and charges schedule that Herc Rentals publishes, with invented companies. The paint invoices put colour codes and tint formulas inside the line items and print a list price beside the price charged. The screening invoices have a summary by service code followed by pages of per-donor rows.
Paint and screening invoices barely troubled the four stronger models. Colour codes that look like product numbers, list prices beside net prices and 110-row donor listings came back right, with one exception: Gemini 4 Hydrogen misread one line on the same scanned paint invoice on both passes. For every other model, rental invoices caused nearly every error.
What the errors were
- GPT-6 Luna got 23 rental lines wrong or missing across the two passes and returned 24 lines that match nothing in the answer key. On scanned multi-page invoices it misread equipment numbers by a digit or two and dropped lines.
- Claude Haiku 5.5 had 25 wrong rental lines, concentrated in three long scanned invoices per pass. Its other 37 invoices per pass were fully right.
- Gemini 3.5 Flash-Lite got 103 values wrong: 41 paint lines, the job number 24 times (it dropped the letter prefix) and the vendor name 19 times (it dropped the legal suffix or returned the brand). It also added a time of day to 24 billing-period dates, which we accepted as right.
- Claude Sonnet 5.5 and GPT-6.2 Sol got five values wrong each, with no misread line items from Sonnet and one from Sol.
- Gemini 4 Hydrogen got one line wrong, twice: the same line on one scanned paint invoice. Every header value and every rental line was right on both passes.
One charge with nowhere to go
Most of the errors from Claude Sonnet 5.5, GPT-6.2 Sol and Claude Haiku 5.5 were the same mistake, and our test invited it. Some rental invoices carry a 12% transportation surcharge. Our schema has fields for delivery, pickup, sales items and tax, but none for that surcharge, and the prompt says to use zero for a charge the document does not have. The models filed the surcharge anyway: under sales items (GPT-6.2 Sol four times, Sonnet twice), under delivery or pickup (Sonnet three times, Haiku twice) or under tax (Haiku twice). Gemini 4 Hydrogen left the surcharge out every time, as the prompt asked.
That is a flaw in our schema and a real behaviour worth knowing. Give a model a charge your schema has no field for and it may put the money in a field that exists. Add a catch-all field for other charges and reconcile the total in code.
The same model, two answers
Claude Sonnet 5.5 got all 40 hard invoices right on the first pass and 35 on the second, with the same prompt and settings. One good run does not tell you a model's error rate. Run your own invoices more than once before you decide.
What it costs
A hard invoice costs about 2 cents on Claude Sonnet 5.5 or Gemini 4 Hydrogen and about a tenth of a cent on Claude Haiku 5.5. Median time per hard invoice ran from 2.3 seconds (Flash-Lite) to 9.1 seconds (GPT-6.2 Sol). Gemini 3.5 Flash-Lite has a low price per token but used enough output tokens that it cost twice what Haiku did. The whole test, 1,200 calls across six models, cost $7.74.
What to do
- Standard supplier invoices, any volume: use Claude Haiku 5.5 or GPT-6 Luna. Paying 20 to 60 times more bought nothing in our test.
- Rental invoices, or anything with long line tables and scans: use Gemini 4 Hydrogen if a wrong line is expensive, Claude Haiku 5.5 if cost matters. With Haiku, Sonnet or Sol, expect roughly one rental invoice in seven to need a correction.
- Scanned multi-page invoices: do not use GPT-6 Luna or Gemini 3.5 Flash-Lite without a second check.
- Whichever model you pick: add a field for charges you did not plan for, check that the lines add up to the subtotal in code, and send disagreements to a person.
How we checked
The documents. We generated all 100 from records in code, so the answer key is the data that drew the page. No real company, person or price appears in them. Scanned versions are the same pages turned into grey images with a slight tilt, noise, blur and heavy compression.
The prompt. One prompt per document type, the same for every model. It defines each field, for example "the document total including tax, before any deposits or payments already made are subtracted". The prompts are in run.py.
The grading. Text matches when it is equal after ignoring case, spacing and punctuation. Numbers match within half a cent. Dates must be exact; a time of day added after the right date is accepted. A line item is matched to the key by its identifier (equipment number, product number plus colour code, or service code) and is right only when every value on it matches. A line the model returns that is not in the key counts against the document.
Run it yourself
- Download the scripts and documents below. You need Python 3.10 or later and API keys for the models you want to test.
- Install the libraries and run one pass on each set:
python3 -m venv venv && venv/bin/pip install anthropic openai google-genai pymupdf pillow numpy
export OPENAI_API_KEY=... ANTHROPIC_API_KEY=... GEMINI_API_KEY=...
venv/bin/python run.py --run 1 --models claude-haiku-5-5,gpt-6-luna
venv/bin/python run.py --set b --run 1 --models claude-haiku-5-5,gpt-6-luna
venv/bin/python score.py && venv/bin/python score_b.py
- Unzip the two document sets into
docs/anddocs-b/first, or regenerate them withgen.pyandgen2.py(these need a Chromium binary for printing to PDF).
One pass of both sets on Claude Haiku 5.5 and GPT-6 Luna cost us about 13 cents. Expect the ordinary set to come back all or nearly all right and the rental invoices to show the gaps.
Keep in mind
- Generated documents. Real invoices are messier: handwriting, stamps over totals, fax artifacts, pages out of order. Our scans are simulated.
- Eighteen rental invoices. Enough to separate strong models from weak ones, not enough to rank Sonnet, Sol and Haiku against each other.
Download the data
- documents-ordinary-set.zip and documents-hard-set.zip: all 100 PDFs
- answer-key.json and answer-key-b.json, with manifest.csv and manifest-b.csv listing each document's type and trap
- results.csv and results-b.csv: every field and line, expected and returned, for every model and pass
- calls.csv and calls-b.csv: tokens, seconds and cost per call; summary.json and summary-b.json
- raw-model-outputs.zip: each model's raw reply
- Scripts: gen.py, gen2.py, run.py, score.py, score_b.py, charts.py
For another Pondero Labs test with the same method, see Firecrawl vs Tavily vs Exa, where we ran 50 identical searches through three search APIs.
What changed
- December 2, 2026: First published. A companion test, how to find the wrong values, compares three ways of flagging these extractions for review.
