OCRRouterGet API key

docTR vs Chandra

DocTR is cheaper per page; docTR is faster; only docTR supports confidence; only Chandra supports tables, math, handwriting, forms, multilingual.

docTRmindee/doctrChandradatalab/chandra
TypeOpen sourceOpen source
Price1 credits / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed0.9 s / page2.0 s / page
Best forWord-level OCR with positionsComplex layouts and handwriting
InputsPDF, imagesPDF, images
LanguagesMainly Latin scripts40+ languages
Max pages per request500500
TablesNo✓ Yes
HandwritingNo✓ Yes
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
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

Chandra

Datalab's OCR model that keeps layout and handles forms, tables and handwriting.

Chandra details

Use one, fall back to the other

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

Questions

More comparisons

docTR alternativesChandra alternatives