Europe/Bucharest
BlogTest · own data · run on 30 November 2026Published November 30, 2026

Claude PDF OCR vs LlamaParse: 1,664 numbers from four scans

Can Claude read a scanned PDF well enough to trust the numbers in it? I took a 3-page trial balance from my own company, turned it into four scans and counted how many of its 1,664 amounts each tool returned digit for digit. LlamaParse's Agentic tier returned all 1,664 in about 5 seconds a document, and Claude Sonnet 5.5 missed one.
  • LlamaParse Agentic: 1,664 of 1,664. Claude Sonnet 5.5: 1,663. LlamaParse Cost-effective: 1,655. Claude Haiku 5.5: 1,585 at best.
  • Sonnet 5.5 read the same with thinking on or off. Thinking on cost 1.4 to 3.4 times more and took up to 101.5 seconds.
  • Haiku 5.5 on default settings spent 40,000 output tokens thinking about one scan and returned no text at all.
  • The original PDF had a text layer. Local text extraction read it perfectly in under 0.04 seconds, for free.
  • This is one document and four synthetic scans. Amazon Textract was not run and appears only with its list price.
The document is a trial balance: 52 table rows, each with 8 amount columns. That gives 416 amounts a scan, and the digital PDF's own text is the ground truth. I made four scans of it with no text layer. One is clean, at 150 dpi. Three are degraded, each differently: 100 to 110 dpi, rotated by 0.8 to 1.8 degrees, slightly blurred and saved as compressed JPEG. Four scans times 416 is 1,664 amounts. An amount counts only if it comes back digit for digit, in its own row and its own column. I had every result recounted from scratch with a second, independently written script, and where the two counts differed I use the stricter one. These are the routes:
  • LlamaParse (the parsing product is now called Parse), API v2, tiers Cost-effective and Agentic, markdown output.
  • Claude Sonnet 5.5 and Claude Haiku 5.5 through the Anthropic API, with the PDF sent as a document and one instruction to transcribe the table. Each ran twice: on default settings, where the model thinks before it answers, and with thinking turned off.
  • Tesseract on my laptop, with its English model and no tuning, as a free baseline.
Each route ran once per scan.
Route
Right, of 1,664
Seconds per document
LlamaParse, Agentic1,664 (100%)4.2 to 5.3
Claude Sonnet 5.5, thinking off1,663 (99.9%)21.1 to 21.3
Claude Sonnet 5.5, default1,663 (99.9%)33.5 to 101.5
LlamaParse, Cost-effective1,655 (99.5%)5.7 to 10.4
Claude Haiku 5.5, thinking off1,585 (95.3%)13.2 to 13.8
Claude Haiku 5.5, default1,238 (74.4%)26.2 to 149.1
Tesseract, untuned217 (13%)2.1 to 3.0
On the clean scan every paid route scored 416 of 416. The differences come from the three degraded scans. Read the Tesseract row as a floor. It ran with an English model on Romanian text, on low-resolution images, with no tuning, so it says little about what a configured Tesseract can do. A percentage hides the part you have to design for, which is the shape of the mistake. Sonnet 5.5 got one amount wrong: 39,157.56 where the page says 39,157.55, in a total row. It made the same mistake in all 4 runs on that scan, 3 on default settings and 1 with thinking off. A stable misread is good news for testing and bad news for anyone hoping a retry fixes it. LlamaParse Cost-effective lost 9 amounts, all on the worst scan. One was a wrong digit in a total row. The other 8 were a total row whose label came back separated from its amounts. LlamaParse Agentic had every amount right. On the worst scan it also returned 6 extra rows with no label, duplicates of rows already there. My count ignores them, but your parser has to. Haiku 5.5 failed in ways a total check would miss. On one scan it read an account code as 6481 where the page says 6461, with every amount in that row correct. On another, the last column slid up by one row. With thinking off on the worst scan, the right-hand columns of page 2 slid up a row and 71 amounts landed in the wrong place. The Sonnet and LlamaParse mistakes all sat in total rows. In this document every class total is the sum of its accounts, so a sum check catches each of them. Nothing I could measure on Sonnet. It scored 1,663 with thinking on and 1,663 with it off. The visible answer was about 4,500 output tokens in every run. On default settings Sonnet added between 2,405 and 13,238 thinking tokens on top, which is why its runs took 33.5 to 101.5 seconds where the thinking-off runs took about 21. Haiku is the cautionary case. On the worst scan, default Haiku used the whole 40,000-token output limit on thinking, took 149.1 seconds, cost $0.0205 and returned no text. With thinking off the same scan came back in about 14 seconds, with those 71 misplaced amounts. So for a transcription job I'd turn thinking off and spend the saved budget on validation. Claude costs here come from the tokens the API reported, at Anthropic's list prices. LlamaParse costs are credits per page at its list price of $1.50 per 1,000 credits. I did not read the credits charged from the account. Textract was not run, so its two rows are list prices only.
Route
Per page
Per 3-page document
Claude Haiku 5.5, thinking off$0.0009$0.0027
Textract, Detect Document Text (not run)$0.0015
LlamaParse, Cost-effective$0.0045$0.0135
LlamaParse, Agentic$0.015$0.045
Textract, Tables (not run)$0.015
Claude Sonnet 5.5, thinking off$0.018about $0.055
Claude Sonnet 5.5, default$0.026 to $0.062$0.0788 to $0.1872
Three scanned pages came to 4,868 to 4,909 input tokens on Claude, around 1,600 a page. Most of the Claude bill is output: the model writes the whole table back. In this test the route with a perfect score was also cheaper and about 4 times faster than Sonnet with thinking off. Then none of the above applies. The original of this document is a digital PDF, and local text extraction returned 416 of 416 amounts in 0.02 to 0.04 seconds at no cost. Check for a text layer before you send a PDF anywhere. I have one earlier result that points the other way. In April 2026, in a finance side project of mine, I tried the Agentic tier on a phone photo of a fuel receipt. It substituted characters, including in the seller's tax ID, which then failed its checksum. That was one receipt, seven months ago. I kept receipts on Claude vision with checksum validation. A clean table on a flat scan and a crumpled receipt in someone's hand are different problems, and this article measures only the first. For a scanned table where every digit matters, the Agentic tier earned first place here, with a sum check behind it and a step that drops unlabelled duplicate rows. Sonnet 5.5 makes sense when the same call also has to reason about the document, as in the pipeline from my Textract article. I'd run it with thinking off and with an output limit sized to the table. Haiku 5.5 costs less than a tenth of a cent a page. Its mistakes moved numbers into the wrong rows, and a wrong row with correct digits passes many checks. I'd use it only where the document carries its own arithmetic proof. Textract belongs in your own version of this test. I can give you its price and nothing more. If you're deciding where OCR and models sit in a product you already run, that is what I look at in an AI architecture review. I ran the test on 30 November 2026 on one 3-page document from my own company and four scans made from it. The scans are synthetic: rendered from the digital PDF, then rotated, blurred and compressed. None is a phone photo. Each route ran once per scan. I repeated only Claude, on one degraded scan. LlamaParse keeps the result of an identical request for 48 hours and does not charge for it, so repeating it on the same file tells you nothing about stability, and I left those repeats out. About a third of the amounts in the document, 147 of 416, are 0.00, which makes the task easier than a table full of long numbers. Prices are list prices read the same day: Anthropic's pricing page for Claude Sonnet 5.5 ($2 and $10 per million input and output tokens) and Haiku 5.5 ($0.10 and $0.50), the LlamaParse pricing page for credits (3 a page for Cost-effective, 10 for Agentic), and the Amazon Textract pricing page. The output limit was 16,000 tokens on the clean scan and 40,000 on the degraded ones.
Share this post:
On this page