OCR vs LLM cost per page for document extraction
OCR vs LLM cost: vision input bills per image, so OCR plus a text model is often cheaper per page. Worked example, tests, and when vision wins.
Updated
Running a page image through a vision model usually costs more per page than running OCR and then sending the extracted text to a text model. Vision input is billed as image tokens, and a full scanned page can take more input tokens than the words printed on it. For bulk PDF work, the cheapest path is often OCR for the text, then a model tuned for your fields.
“Often” is the honest word here. Vision models win on some pages, and this guide shows where. The answer depends on the page type, the volume, and how much the layout itself carries meaning.
Why an image costs more than its text
The same page as plain text is usually far fewer input tokens than the page as an image. An image is billed by the size the model encodes, not by how many words it holds. A dense scan, a photo of a form, or a page with large margins can each use a different amount of input. Check your vendor’s current pricing page and image token rules before you budget, because both change. For the broader cost picture across document work, see cost per document.
What does vision input cost per page?
There is no single answer, because image token counts depend on the model and the image. The example below uses round numbers. It is hypothetical, not a measurement.
Assume 1,000 pages. Assume the page image counts as 1,500 input tokens, and the OCR text of the same page counts as 500 input tokens. Assume both paths produce the same output, so output cost is the same and left out.
- Vision input at Claude Haiku list price ($0.10 per million input tokens): 1.5 million tokens, about $0.15.
- OCR text at the same price: 0.5 million tokens, about $0.05, plus the OCR step.
- Vision input at Claude Opus list price ($4 per million input tokens): about $6.00.
- OCR text at the same price: about $2.00, plus the OCR step.
The OCR step is a real cost. It can be a licensed engine, a managed service, or a process you run in your own cloud account. Price it, add it to the text path, and then compare. In this example the text path is cheaper on input alone, and the gap in dollars is larger on the bigger model. If the work can wait, Anthropic’s Batch API is half price, which halves both paths. It does not change which path is cheaper.
Is GPT vision too expensive for document processing?
It can be, at volume. Whether it is depends on your numbers, not on a general rule. We do not quote OpenAI prices here. Check their current pricing page for image input rates, then run a sample of your own pages through the model and count the input tokens per page. Multiply that by your monthly page count. If the total is small against the value of the work, a vision model is a sensible default and you may not need anything else.
What is the cheapest way to extract data from PDFs at scale?
Split the work by page type first. A PDF with a text layer needs no OCR, so send its text straight to a text model. Run OCR only on scanned pages. Then choose one model for the extraction and measure cost per correct field, not cost per page. A cheap page that gets fields wrong is the most expensive option. For the template-based alternative to a model, see IDP vs LLM extraction.
If the task is narrow and repeats often, an open-weight model fine-tuned on your labeled pages can be the cheapest path that still works. On the public CUAD exam, 510 commercial contracts with answers marked by lawyers and scored with 5-fold cross-validation, our Accuracy model scored 0.717 on exact-quote extraction, ahead of Claude Opus at 0.635 and Claude Haiku at 0.584. Claude took the exam with one prompt and no examples, and our models were fine-tuned for this exam. That exam used contract text, not page images, so it does not measure vision input cost. It shows what training for one narrow task can do. It does not show our model beats Claude at everything. Measured at list price on 102 held-out contracts, per 1,000 documents the Accuracy tier cost $4.50, the Standard tier $3.54, Claude Haiku $4.95 and Claude Opus $154.49. Full results are on the benchmark page.
When is a vision model the better choice?
Send pages straight to a vision model when the layout carries the meaning. Handwritten notes, stamps, signatures, charts, and forms where the position of a mark matters are examples. Vision models also fit low volume, where the monthly page count does not justify building an OCR stage, a text pipeline, and a trained model. A vision model needs no OCR stage to build or maintain, and that engineering time is a cost too. Pages that OCR reads badly, such as skewed photos or unusual tables, can also favor a vision model. Test it on your own pages first.
A trained text model is the wrong choice for a small page count, for fields that change every month, or when you have no labeled pages to test against. It is also the wrong choice when the answer depends on the image itself. Testing comes first. Without a test built from your own pages, you cannot tell whether a cheaper path is accurate enough. A trained model must beat your current model on that test before it is deployed. The model assists the people who review its output. It is not legal, medical, tax, or financial advice, and it runs in your own environment under your own controls.
To see which of your AI calls read documents and what they cost, start with the free AI cost audit. Volume planning for batch jobs is covered in high-throughput document processing, and Own Weights builds the trained models described here. If you want the page-level comparison for your own files, book a call. We will build the test from your pages and score your current model before anyone commits to a switch.
Questions
What is the OCR vs LLM cost for a PDF page?
It depends on the page and on the price per token you pay. OCR plus a text model usually needs far fewer input tokens than sending the page image, but the OCR step has its own cost, so price it into the comparison.
Is GPT vision too expensive for document processing?
It can be at high volume, and the answer turns on your page count and image token count. Check OpenAI's current pricing page for image input rates, then measure a sample of your own pages instead of trusting an estimate.
What is the cheapest way to extract data from PDFs at scale?
Send PDFs that already have a text layer straight to a text model, run OCR only on scanned pages, and use a trained model if the task is narrow and repeats. Keep whichever path wins on a test built from your own labeled pages.
What is the vision LLM cost per page?
There is no fixed figure, because image tokens depend on the model and the image size. Take the vendor's current rules and prices, then multiply by your monthly page count. The worked example in this guide uses round, hypothetical numbers.