OCRRouterGet API key

docTR vs Granite Docling

DocTR is faster; only docTR supports confidence; only Granite Docling supports tables, math.

docTRmindee/doctrGranite Doclingibm/granite-docling
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed0.9 s / page1.5 s / page
Best forWord-level OCR with positionsSmall-model document conversion
InputsPDF, imagesPDF, images
LanguagesMainly Latin scriptsEnglish, experimental CJK and Arabic
Max pages per request500500
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
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

docTR

Open-source OCR library from Mindee with separate text detection and recognition models.

docTR details

Granite Docling

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

Granite Docling details

Use one, fall back to the other

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

Questions

More comparisons

docTR alternativesGranite Docling alternatives