Document 1
45 / 46
Supplier invoice · handwritten · Supplier B · 77 s
- Dateleft blank
Benchmark
We give the AI documents a person has already transcribed and score its raw reading field by field, before anyone corrects it. Every figure here comes from one recorded run, which you can reproduce with one command.
Provisional: read these as a regression floor, not as our accuracy.
98.5%
of checked values matched
398 of 404 · 95% range 97.3%–99.5%
2 of 224
values filled in where the document had none
0.9% · 95% range 0.0%–1.9%
10 of 15
documents with every value right
95% range 41.7%–84.8%
34 s
median time to read a document
90% done within 78 s
Run of 2026-11-18 · model gpt-6-astra · instructions receiving-prompts-v4 · split 00daa95027a9 · the AI's instructions have not changed since this run.
Results
Each range is a 95% interval. A narrow range means the number is pinned down; a wide one means we need more documents.
| Measure | Result | 95% range | Count | |
|---|---|---|---|---|
| Values read correctly | 98.5% | 97.3%–99.5% | 398 / 404 | |
| Values filled in where none was printed (lower is better) | 0.9% | 0.0%–1.9% | 2 / 224 | |
| Missing values correctly left blank | 99.1% | 98.1%–100.0% | 222 / 224 | |
| Product lines found | 100.0% | 100.0%–100.0% | 45 / 45 | |
| Document type recognised | 100.0% | 51.0%–100.0% | 4 / 4 | |
| Documents with every value right | 66.7% | 41.7%–84.8% | 10 / 15 | |
| Extra product lines invented | 0 |
Document type is only scored where the reference records it (4 documents). That is why its range is so wide.
10 / 13
14 / 15
29 / 31
43 / 43
45 / 45
15 / 15
11 / 11
45 / 45
45 / 45
14 / 14
44 / 44
10 / 10
15 / 15
15 / 15
43 / 43
By document type
| Till receipt | 11 docs | 98.3% |
| Supplier invoice | 3 docs | 98.8% |
| Order form | 1 doc | 100.0% |
By writing
| Printed | 11 docs | 98.3% |
| Handwritten | 3 docs | 98.8% |
| Mixed | 1 doc | 100.0% |
By supplier (anonymised)
| Supplier A | 11 docs | 98.3% |
| Supplier B | 1 doc | 97.8% |
| Supplier C | 1 doc | 100.0% |
| Supplier D | 1 doc | 100.0% |
| Supplier E | 1 doc | 100.0% |
Groups with one document can't support a comparison. They are shown so nothing is hidden. We haven't yet recorded photo quality for these documents.
Every miss
We publish where each miss happened and what kind it was, but not the values: they are other businesses' prices and names. The kinds matter. A blank is easy for a reviewer to spot. A wrong value that looks plausible is the error we work hardest to prevent.
Document 1
45 / 46
Supplier invoice · handwritten · Supplier B · 77 s
Document 2
25 / 25
Supplier invoice · handwritten · Supplier C · 51 s
Every checked value matched.
Document 3
17 / 17
Supplier invoice · handwritten · Supplier D · 42 s
Every checked value matched.
Document 4
17 / 17
Order form · mixed · Supplier E · 126 s
Every checked value matched.
Document 5
82 / 83
Till receipt · printed · Supplier A · 79 s
Document 6
29 / 29
Till receipt · printed · Supplier A · 34 s
Every checked value matched.
Document 7
15 / 15
Till receipt · printed · Supplier A · 21 s
Every checked value matched.
Document 8
20 / 22
Till receipt · printed · Supplier A · 29 s
Document 9
43 / 43
Till receipt · printed · Supplier A · 45 s
Every checked value matched.
Document 10
15 / 15
Till receipt · printed · Supplier A · 22 s
Every checked value matched.
Document 11
22 / 22
Till receipt · printed · Supplier A · 27 s
Every checked value matched.
Document 12
15 / 15
Till receipt · printed · Supplier A · 23 s
Every checked value matched.
Document 13
14 / 15
Till receipt · printed · Supplier A · 22 s
Document 14
28 / 29
Till receipt · printed · Supplier A · 35 s
Document 15
15 / 15
Till receipt · printed · Supplier A · 24 s
Every checked value matched.
Model comparison
We ran the same documents through three AI models with identical instructions and safety settings. Differences are measured document by document. Costs come from each run's actual token use at Azure's published prices, retrieved 2026-11-18.
| Model | Values right | Difference (95% range) | Wrong values | Left blank | All-correct docs | Median time | Cost / document |
|---|---|---|---|---|---|---|---|
| gpt-6-astrain use | 98.5% | reference | 0 | 4 | 10 / 15 | 34 s | $0.170 |
| gpt-6.1-sol | 97.8% | −0.7 pts (-2.8 to 0.0) | 2 | 5 | 9 / 15 | 34 s | $0.032 |
| gpt-6-luna | 94.1% | −4.4 pts (-9.3 to -0.8) | 14 | 5 | 7 / 15 | 29 s | $0.0019 |
The decision
The cheaper models scored close on some measures, but they produced wrong values that look plausible, like a misread date or quantity, where the model in use left a blank for the reviewer. The cheapest dropped digits from handwritten amounts. We stay with the current model and will repeat this comparison on the held-out set before switching.
Cost to read one document
MediPacer records the tokens for every reading and shows the cost per document in each invoice's processing history. A naira figure appears once the operator sets the exchange rate.
Method
A locked held-out set
When documents arrive they are split once: 60% for tuning, 40% held out. The split follows a fixed seeded rule, spread across suppliers, handwriting and photo quality. It is checksummed, and so is every document. A changed split or a swapped file stops every benchmark command. We never change the AI's instructions because of a held-out result, and every held-out run is logged.
Two transcribers, one referee
Two people transcribe each document independently, and neither can see the other's work. A third person settles every disagreement against the paper and cannot referee their own transcription. We publish how often the two transcribers agreed. That agreement limits how precise any accuracy figure can be.
Raw output, strict scoring
We score what the AI returned after MediPacer's fixed checks, which is exactly what a reviewer sees. Numbers are compared as numbers and units by meaning (“ctn” = carton). Batch numbers must match exactly, so a missing leading zero is wrong. A value filled in where the reference says it's missing is counted separately as invented.
Honest intervals
Errors on the same photo are related, so for field-level rates we resample whole documents (2,000 draws, fixed seed) rather than single fields. Per-document rates use the Wilson interval. Model differences are paired document by document.
Failures count
A document the AI fails to read, or that the app rejects, scores zero on every value it should have read. Leaving it out would flatter the result.
Regressions can't ship
Changing the AI's instructions requires a new recorded benchmark. The build fails if accuracy drops more than 1 point below the accepted baseline, or if invented values rise.
Progress towards the full benchmark
Reproduce every number
The documents stay private because they belong to pharmacies and their suppliers. With access to them, the published figures come from:
npm run bench -- --set tuning npm run bench:compare -- <runs…> npm run bench:publish -- <run>
An outside reviewer will check the protocol before the held-out result is published. We'll name them here.
Earlier, document-by-document write-ups are on the evaluation page. Want to test it on your own suppliers' invoices? Request a pilot →