docTR vs SmolDocling
DocTR is faster; only docTR supports confidence; only SmolDocling supports tables, math.
docTRmindee/doctr | SmolDoclinghuggingface/smoldocling | |
|---|---|---|
| Type | Open source | Open source |
| Price | 1 credit / page | 1 credit / page |
| Per 1,000 pages | $1.00 | $1.00 |
| Typical speed | 0.9 s / page | 1.0 s / page |
| Best for | Word-level OCR with positions | Very cheap page conversion |
| Inputs | PDF, images | PDF, images |
| Languages | Mainly Latin scripts | Mainly English |
| Max pages per request | 500 | 500 |
| Tables | No | ✓ Yes |
| Handwriting | No | No |
| Math | No | ✓ Yes |
| Bounding boxes | ✓ Yes | ✓ Yes |
| 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 detailsSmolDocling
Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.
SmolDocling detailsUse one, fall back to the other
Request body
{
"model": "mindee/doctr",
"fallbacks": ["huggingface/smoldocling"],
"file_url": "https://example.com/document.pdf"
}