OCRRouterGet API key

olmOCR vs SmolDocling

SmolDocling is cheaper per page; SmolDocling is faster; only olmOCR supports handwriting; only SmolDocling supports bounding boxes.

olmOCRallenai/olmocrSmolDoclinghuggingface/smoldocling
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.5 s / page1.0 s / page
Best forBulk PDF to text for datasetsVery cheap page conversion
InputsPDF, imagesPDF, images
LanguagesMainly EnglishMainly English
Max pages per request1,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
MultilingualNoNo
On OCRRouterComing soonComing soon

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

What each one is

olmOCR

Open-source vision model from Ai2 that turns PDFs into clean, reading-order text.

olmOCR details

SmolDocling

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

SmolDocling details

Use one, fall back to the other

Request body
{
  "model": "allenai/olmocr",
  "fallbacks": ["huggingface/smoldocling"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

olmOCR alternativesSmolDocling alternatives