Qianfan OCR vs MinerU
Qianfan OCR is cheaper per page; only Qianfan OCR supports handwriting; only MinerU supports bounding boxes.
Qianfan OCRbaidu/qianfan-ocr | MinerUopendatalab/mineru | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 1 credits / page | 2 credits / page |
| Per 1,000 pages | $1.00 | $2.00 |
| Typical speed | 2.0 s / page | 2.0 s / page |
| Best for | Chinese documents | Academic PDFs |
| Inputs | PDF, images | PDF, images |
| Languages | Chinese, English and more | 80+ languages |
| Max pages per request | 200 | 500 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | ✓ Yes |
| Bounding boxes | No | ✓ Yes |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | ✓ Yes |
| On OCRRouter | Available | Coming 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 detailsMinerU
Open-source PDF to Markdown pipeline popular for academic and Chinese documents.
MinerU detailsUse one, fall back to the other
Request body
{
"model": "baidu/qianfan-ocr",
"fallbacks": ["opendatalab/mineru"],
"file_url": "https://example.com/document.pdf"
}