OCRRouter

Unlimited OCR vs SmolDocling

Pick Unlimited OCR for long reports and books that you want parsed in one request on an NVIDIA GPU, with Markdown, plain text and bounding boxes out. Pick SmolDocling only for experiments or cheap English page conversion on small hardware, because it is a 256M preview release and its authors point users to Granite-Docling.

Unlimited OCRbaidu/unlimited-ocrSmolDoclinghuggingface/smoldocling
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.2 s / page1.0 s / page
Best forBooks and very long documentsVery cheap page conversion
InputsPDF, imagesPDF, images
Languages30+ languagesMainly English
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 a whole report or book goes in one request.
  • It is MIT licensed, which allows commercial use with no copyleft, and Baidu Cloud also offers a hosted endpoint.
  • Unlimited OCR 2 scores 77.1 on MarathonDocBench versus 33.7 for the next model, per Baidu.

Choose SmolDocling if

  • At 256M parameters it is small enough for modest hardware, and it runs at about 0.35 seconds per page on an A100 with vLLM.
  • One model handles text, tables (OTSL), code, formulas and charts with location tags, and it can output DocTags, Markdown, HTML, JSON and LaTeX.
  • It is a low-cost way to experiment with a tiny document VLM on English pages.

Key differences

Unlimited OCRSmolDocling
LicenceMITApache-2.0 per the model summary (the metadata tag says CDLA-Permissive-2.0)
How you run itSelf-host with vLLM, SGLang or transformers, or use the hosted endpoint in Baidu Cloud's OCR productSelf-host only
Model size3B total, about 500M active per token (Unlimited OCR 2 is 3.34B)256M
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 machinesSmall enough for modest hardware
Output formatsMarkdown, plain text, bounding boxesDocTags, Markdown, HTML, JSON, LaTeX, bounding boxes
LanguagesNot publishedEnglish only
Known failureText repetition and looping (issue #55), hallucinated text (issue #58), bbox coordinate loops with SGLang on GB10 GPUs (issue #114), and styling such as bold and italic is mostly lostEndless token repetition and missing closing tags; output loops on some images, making generation very slow (Docling issue #1515)

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

SmolDocling

Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.

SmolDocling 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": ["huggingface/smoldocling"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Unlimited OCR alternativesSmolDocling alternativesBest OCR models in 2026