OCRRouterGet API key

Docling vs OCRmyPDF

OCRmyPDF is cheaper per page; OCRmyPDF is faster; only Docling supports tables, math, bounding boxes; only OCRmyPDF supports multilingual.

Doclingibm/doclingOCRmyPDFocrmypdf/ocrmypdf
TypeOpen sourceOpen source
Price2 credits / page1 credits / page
Per 1,000 pages$2.00$1.00
Typical speed2.2 s / page1.0 s / page
Best forStructured export for RAGSearchable PDFs from scans
InputsPDF, images, DOCXPDF, images
LanguagesLatin scripts, CJK100+ languages (via Tesseract)
Max pages per request5001,000
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
MultilingualNo✓ Yes
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

Docling

IBM's open-source document converter with a structured document model.

Docling details

OCRmyPDF

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

OCRmyPDF details

Use one, fall back to the other

Request body
{
  "model": "ibm/docling",
  "fallbacks": ["ocrmypdf/ocrmypdf"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Docling alternativesOCRmyPDF alternatives