OCRRouter

Unlimited OCR vs Granite Docling

Pick Unlimited OCR for long reports and books that you want parsed in one request, on an NVIDIA GPU with enough memory. Pick Granite Docling for English PDFs with tables, code and equations, or when you need to run on a CPU or a small GPU. The main split is size and scope: 3B parameters and 40+ pages per pass versus 258M parameters inside the Docling library.

Unlimited OCRbaidu/unlimited-ocrGranite Doclingibm/granite-docling
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 documentsSmall-model document conversion
InputsPDF, imagesPDF, images
Languages30+ languagesEnglish, experimental CJK and Arabic
Max pages per request1,000500
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 long reports and books go through in one request.
  • It emits block types and bounding boxes with the text, which suits layout-aware extraction and bulk PDF to text for RAG.
  • A hosted endpoint is available in Baidu Cloud's OCR product if you do not want to run the GPU yourself.

Choose Granite Docling if

  • At 258M parameters it suits low-cost CPU or small GPU conversion, where Unlimited OCR 2 runs out of memory on 12 GB GPUs.
  • It reports table structure TEDS of 0.97 on FinTabNet, code F1 of 0.988 and equation F1 of 0.968, so it fits English PDFs with tables, code and equations.
  • It outputs DocTags, Markdown, HTML, LaTeX and bounding boxes, and it is built to work inside Docling pipelines.

Key differences

Unlimited OCRGranite Docling
Size3B total, about 500M active per token; Unlimited OCR 2 is 3.34B258M
LicenceMITApache-2.0
How you run itSelf-host with vLLM, SGLang or transformers, or use the hosted endpoint in Baidu CloudSelf-host only, typically inside Docling
HardwareNVIDIA GPU with CUDA 12.9 or 13.0; version 2 under SGLang runs out of memory on 12 GB GPUs; not for CPU-only machinesLow-cost CPU or small GPU; on GPUs without bfloat16 such as T4 it may output only exclamation marks unless run in float32
Output formatsMarkdown, plain text, bounding boxesDocTags, Markdown, HTML, LaTeX, bounding boxes
Multi-page input40+ pages in one pass; context capped at 32,768 tokens, and multi-page input only works in base modeNot published
Known failureRepetition loops (issue #55), hallucinated text (issue #58), and most bold and italic styling is lostRepetitive loops on page headings and invoices; English primary, with Japanese, Arabic and Chinese marked experimental

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

Granite Docling

Compact IBM vision model that converts pages to DocTags for the Docling pipeline.

Granite Docling 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": ["ibm/granite-docling"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Unlimited OCR alternativesGranite Docling alternativesBest OCR models in 2026