OCRRouter

Unlimited OCR vs GOT-OCR 2.0

Pick Unlimited OCR to parse long reports and books in one request, with block types and bounding boxes under an MIT licence. Pick GOT-OCR 2.0 for formulas, sheet music and chemical structures, or when you need to OCR a specific region. The main split is scope: Unlimited OCR is built for 40+ page documents, while GOT-OCR 2.0 is a 580M model that reads many content types.

Unlimited OCRbaidu/unlimited-ocrGOT-OCR 2.0stepfun/got-ocr-2
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.2 s / page1.5 s / page
Best forBooks and very long documentsFormatted text, formulas and charts
InputsPDF, imagesimages
Languages30+ languagesChinese, English
Max pages per request1,000100
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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 Unlimited OCR if

  • It parses 40+ pages in a single forward pass with roughly constant memory, so you can send a long report or book in one request.
  • It returns Markdown, plain text and bounding boxes, with block types alongside the text, which suits layout-aware extraction and bulk PDF to text for RAG.
  • The MIT licence allows commercial use with no copyleft, and Baidu Cloud offers a hosted endpoint if you do not want to run GPUs.

Choose GOT-OCR 2.0 if

  • It reads formulas, tables, charts, sheet music and geometry, and outputs LaTeX, TikZ, SMILES and kern, which Unlimited OCR does not list.
  • It supports region OCR guided by box coordinates or color, so you can read one part of a page.
  • At 580M parameters it is a much smaller model, and it is merged into Hugging Face Transformers with batched inference.

Key differences

Unlimited OCRGOT-OCR 2.0
Main jobLong multi-page documents parsed in one pass (40+ pages)Text, formulas, tables, charts, sheet music and geometry
LicenceMITCode Apache-2.0; training data CC BY-NC 4.0
How you run itSelf-host with vLLM, SGLang or transformers; hosted option in Baidu CloudSelf-host only, via Hugging Face Transformers
Output formatsMarkdown, plain text, bounding boxesPlain text, Markdown, LaTeX, TikZ, SMILES, kern
Size and hardware3B total, about 500M active per token; NVIDIA GPU with CUDA 12.9 or 13.0; version 2 runs out of memory on 12 GB GPUs under SGLang580M; CUDA 11.8 and PyTorch 2.0.1 per README; CPU users are pointed to a llama.cpp port
BenchmarksParseBench mean 46.17; Unlimited OCR 2 scores 77.1 on MarathonDocBench and 84.6 on MPDocBench (author-reported)Not published
Known failuresText looping (issue #55), hallucinated text (issue #58), little bold or italic formatting kept, context capped at 32,768 tokensCharacter looping (issue #226), wrong text on blank images (issue #235), format mode much worse than plain mode (issue #317)

Sources

What each one is

Unlimited OCR

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

Unlimited OCR details

GOT-OCR 2.0

Unified OCR model that reads plain text, tables, formulas, sheet music and charts.

GOT-OCR 2.0 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": "baidu/unlimited-ocr","fallbacks": ["stepfun/got-ocr-2"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Unlimited OCR alternativesGOT-OCR 2.0 alternativesBest OCR models in 2026