OCRRouterGet API key

docTR vs olmOCR

DocTR is cheaper per page; docTR is faster; only docTR supports bounding boxes, confidence; only olmOCR supports tables, math, handwriting.

docTRmindee/doctrolmOCRallenai/olmocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed0.9 s / page1.5 s / page
Best forWord-level OCR with positionsBulk PDF to text for datasets
InputsPDF, imagesPDF, images
LanguagesMainly Latin scriptsMainly English
Max pages per request5001,000
TablesNo✓ Yes
HandwritingNo✓ Yes
MathNo✓ Yes
Bounding boxes✓ YesNo
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

olmOCR

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

olmOCR details

Use one, fall back to the other

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

Questions

More comparisons

docTR alternativesolmOCR alternatives