OCRRouterObtener API key

Qianfan OCR vs MinerU

Qianfan OCR is cheaper per page; only Qianfan OCR supports handwriting; only MinerU supports bounding boxes.

Qianfan OCRbaidu/qianfan-ocrMinerUopendatalab/mineru
TypeOCR APIOpen source
Price1 credits / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed2.0 s / page2.0 s / page
Best forChinese documentsAcademic PDFs
InputsPDF, imagesPDF, images
LanguagesChinese, English and more80+ languages
Max pages per request200500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

Qianfan OCR

Baidu's OCR-tuned vision model. Strong on Chinese documents and tables.

Qianfan OCR details

MinerU

Open-source PDF to Markdown pipeline popular for academic and Chinese documents.

MinerU details

Use one, fall back to the other

Request body
{
  "model": "baidu/qianfan-ocr",
  "fallbacks": ["opendatalab/mineru"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Qianfan OCR alternativesMinerU alternatives