OCRRouterGet API key

OCRmyPDF vs SmolDocling

Only OCRmyPDF supports multilingual; only SmolDocling supports tables, math, bounding boxes.

OCRmyPDFocrmypdf/ocrmypdfSmolDoclinghuggingface/smoldocling
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.0 s / page1.0 s / page
Best forSearchable PDFs from scansVery cheap page conversion
InputsPDF, imagesPDF, images
Languages100+ languages (via Tesseract)Mainly English
Max pages per request1,000500
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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

OCRmyPDF

Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.

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

Questions

More comparisons

OCRmyPDF alternativesSmolDocling alternatives