OCRRouterGet API key

docTR vs Nanonets-OCR

DocTR is cheaper per page; docTR is faster; only docTR supports bounding boxes, confidence; only Nanonets-OCR supports tables, math, forms, multilingual.

docTRmindee/doctrNanonets-OCRnanonets/nanonets-ocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed0.9 s / page1.8 s / page
Best forWord-level OCR with positionsMarkdown with semantic tags
InputsPDF, imagesPDF, images
LanguagesMainly Latin scriptsMultilingual
Max pages per request500500
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNo✓ Yes
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

docTR

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

docTR details

Nanonets-OCR

Open image-to-Markdown model that tags tables, equations, signatures, watermarks and checkboxes.

Nanonets-OCR details

Use one, fall back to the other

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

Questions

More comparisons

docTR alternativesNanonets-OCR alternatives