docTR vs olmOCR
DocTR is cheaper per page; docTR is faster; only docTR supports bounding boxes, confidence; only olmOCR supports tables, math, handwriting.
docTRmindee/doctr | olmOCRallenai/olmocr | |
|---|---|---|
| Type | Open source | Open source |
| Price | 1 credits / page | 2 credits / page |
| Per 1,000 pages | $1.00 | $2.00 |
| Typical speed | 0.9 s / page | 1.5 s / page |
| Best for | Word-level OCR with positions | Bulk PDF to text for datasets |
| Inputs | PDF, images | PDF, images |
| Languages | Mainly Latin scripts | Mainly English |
| Max pages per request | 500 | 1,000 |
| Tables | No | ✓ Yes |
| Handwriting | No | ✓ Yes |
| Math | No | ✓ Yes |
| Bounding boxes | ✓ Yes | No |
| Confidence | ✓ Yes | No |
| Forms | No | No |
| Multilingual | No | No |
| On OCRRouter | Coming soon | Coming 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 detailsolmOCR
Open-source vision model from Ai2 that turns PDFs into clean, reading-order text.
olmOCR detailsUse one, fall back to the other
Request body
{
"model": "mindee/doctr",
"fallbacks": ["allenai/olmocr"],
"file_url": "https://example.com/document.pdf"
}