OCRRouterGet API key

docTR vs GOT-OCR 2.0

DocTR is faster; only docTR supports confidence; only GOT-OCR 2.0 supports tables, math.

docTRmindee/doctrGOT-OCR 2.0stepfun/got-ocr-2
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed0.9 s / page1.5 s / page
Best forWord-level OCR with positionsFormatted text, formulas and charts
InputsPDF, imagesimages
LanguagesMainly Latin scriptsChinese, English
Max pages per request500100
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
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

GOT-OCR 2.0

Unified OCR model that reads plain text, tables, formulas, sheet music and charts.

GOT-OCR 2.0 details

Use one, fall back to the other

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

Questions

More comparisons

docTR alternativesGOT-OCR 2.0 alternatives