OCRRouter

Qianfan OCR vs MinerU

Pick Qianfan OCR for self-hosted multilingual parsing under a plain Apache-2.0 licence, with 93.12 on OmniDocBench v1.5 and 79.8 on olmOCR-Bench. Pick MinerU when you need to ingest Office files and PDFs in one tool, run on CPU, or get higher throughput (2.12 pages per second on one A100 with vLLM). Watch MinerU's custom licence and its table header problems on bank statements.

Qianfan OCRbaidu/qianfan-ocrMinerUopendatalab/mineru
TypeOCR APIOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.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 OCRRouterAvailableAvailable

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

Which to choose

Choose Qianfan OCR if

  • Its Apache-2.0 licence allows commercial use with no extra conditions.
  • It covers 192 languages, handwriting and scene text, and suits key information extraction.
  • It scores 79.8 on olmOCR-Bench, against 75.2 for MinerU 2.5.4 in the independent olmOCR table.

Choose MinerU if

  • It accepts PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML in one tool.
  • The basic ONNX tier runs on CPU with about 2 GB RAM, so you can start without a GPU.
  • The VLM tier reaches 2.12 pages per second on one A100 with vLLM, about twice Qianfan OCR's 1.024.

Key differences

Qianfan OCRMinerU
LicenceApache-2.0MinerU Open Source License (Apache-2.0 based with extra conditions); VLM weights tagged AGPL-3.0
How you run itSelf-host the weights or use the Baidu Qianfan platformSelf-host only, as a CLI, API or WebUI
Model size and hardware4B parameters; benchmarked on one A100 with vLLM; CPU-only deployment is not a fitMinerU2.5 VLM is 1.2B; VLM tiers need 16 GB RAM and a GPU with 8 GB+ VRAM; basic tier runs on CPU with 2 GB RAM
Output formatsMarkdown, JSON, HTML, LaTeX, bounding boxesMarkdown, HTML, LaTeX, DOCX, EPUB, JSON
Speed on an A1001.024 pages per second, even with W8A82.12 pages per second with vLLM (VLM tier)
BenchmarkolmOCR-Bench 79.8 (authors); OmniDocBench v1.5 overall 93.12 (authors)olmOCR-Bench 75.2 for MinerU 2.5.4 (independent); ParseBench mean 45.9 (independent)
Known failureThinking mode can emit up to 16,384 tokens, adding latencyVLM tiers drop merged header rows in tables such as bank statement account lines; the VLM pipeline can generate repeated content, including 300 KB figure blocks

Sources

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

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

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

Questions

More comparisons

Qianfan OCR alternativesMinerU alternativesBest OCR models in 2026