OCRRouterGet API key

docTR vs Hunyuan OCR

DocTR is cheaper per page; docTR is faster; only docTR supports confidence; only Hunyuan OCR supports tables, math, multilingual.

docTRmindee/doctrHunyuan OCRtencent/hunyuan-ocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed0.9 s / page1.5 s / page
Best forWord-level OCR with positionsChinese documents and photos
InputsPDF, imagesPDF, images
LanguagesMainly Latin scripts100+ languages
Max pages per request500500
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
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

Hunyuan OCR

Small end-to-end OCR model from Tencent covering parsing, extraction and photo translation.

Hunyuan OCR details

Use one, fall back to the other

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

Questions

More comparisons

docTR alternativesHunyuan OCR alternatives