OCRRouterGet API key

OCRmyPDF vs Hunyuan OCR

OCRmyPDF is cheaper per page; OCRmyPDF is faster; only Hunyuan OCR supports tables, math, bounding boxes.

OCRmyPDFocrmypdf/ocrmypdfHunyuan OCRtencent/hunyuan-ocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.0 s / page1.5 s / page
Best forSearchable PDFs from scansChinese documents and photos
InputsPDF, imagesPDF, images
Languages100+ languages (via Tesseract)100+ languages
Max pages per request1,000500
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ 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

OCRmyPDF

Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.

OCRmyPDF 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": "ocrmypdf/ocrmypdf",
  "fallbacks": ["tencent/hunyuan-ocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

OCRmyPDF alternativesHunyuan OCR alternatives