OCRRouter

GPT vs Unlimited OCR

Pick GPT when you need handwriting, custom JSON extraction with reasoning, or question answering over a document, and you accept a hosted API with per-token cost. Pick Unlimited OCR when you want to parse long PDFs in one pass, self-host under an MIT licence, and get bounding boxes. The main split is hosted and proprietary versus self-hosted and open, with GPT stronger on messy input and Unlimited OCR stronger on long, layout-aware bulk parsing.

GPTopenai/gptUnlimited OCRbaidu/unlimited-ocr
TypeVision modelOpen source
Price11 credits / page2 credits / page
Per 1,000 pages$11.00$2.00
Typical speed2.4 s / page1.2 s / page
Best forMessy scans, custom instructionsBooks and very long documents
InputsPDF, imagesPDF, images
Languages50+ languages30+ languages
Max pages per request1001,000
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose GPT if

  • It suits handwritten notes: an HN user reported about 5% errors on messy cursive versus about 30% for Mistral OCR.
  • You can prompt it to extract straight into custom JSON, and it can reason over the document or answer questions about it.
  • There is nothing to host: you send files up to 50 MB per request to the API and need no GPU.

Choose Unlimited OCR if

  • It parses 40+ pages in a single forward pass with roughly constant memory, so long reports and books go in one request.
  • The MIT licence allows commercial use with no copyleft, and self-hosting costs only your compute.
  • It returns block types and bounding boxes alongside text, which GPT's standard response does not.

Key differences

GPTUnlimited OCR
LicenceProprietaryMIT
How you run itHosted API onlySelf-host with vLLM, SGLang or transformers, or use the hosted option in Baidu Cloud's OCR product
PriceToken-based per model; page images add input tokens, so cost per page is not fixedFree to self-host (you pay for compute)
Output formatsMarkdown, JSON, plain text; no bounding boxes or confidence scores in the standard responseMarkdown, plain text, bounding boxes
Long documentsFiles up to 50 MB per request40+ pages in one pass; context capped at 32,768 tokens, and multi-page input only works in base mode
OmniDocBenchGPT-5.2 scored 85.50 on v1.5 and 86.59 on v1.6; Gemini 3 Pro scored 90.33 on v1.5 in the same paperNot published
Known failuresCost per page varies with page images; no word coordinatesText repetition and looping (issue #55), hallucinated text (issue #58), bold and italic formatting mostly lost, runs out of memory on 12 GB GPUs for version 2

Sources

What each one is

GPT

General vision model. Good at messy scans and following extraction instructions.

GPT details

Unlimited OCR

Open-source model from Baidu that reads hundreds of pages in one pass with flat memory use.

Unlimited OCR details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "openai/gpt","fallbacks": ["baidu/unlimited-ocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

GPT alternativesUnlimited OCR alternativesBest OCR models in 2026