OCRRouter

MinerU vs Chandra

Pick MinerU if you need one tool for PDFs plus Office files, or a CPU-only batch job with no GPU. Pick Chandra if you need stronger multilingual OCR on scans, or a hosted API with per-page pricing. The main split is hardware and licence: MinerU starts on 2 GB RAM with a custom licence, while Chandra needs a GPU and limits free commercial self-hosting to companies under $2M funding or revenue.

MinerUopendatalab/mineruChandradatalab/chandra
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed2.0 s / page2.0 s / page
Best forAcademic PDFsComplex layouts and handwriting
InputsPDF, imagesPDF, images
Languages80+ languages40+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNo✓ Yes
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNo✓ Yes
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 MinerU if

  • It accepts PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML in one tool, which suits mixed corpora for RAG.
  • Its basic ONNX tier runs on CPU with about 2 GB RAM, so you can start without a GPU.
  • It can render to Markdown, HTML, LaTeX, DOCX and EPUB, and it suits Chinese and English academic papers.

Choose Chandra if

  • It scores 85.8 on olmOCR-bench (Chandra 2, authors' table) against 75.2 for MinerU 2.5.4 on the same benchmark.
  • It averages 77.8% across 43 languages, which fits multilingual scanned documents.
  • You can self-host or call the Datalab API at $1, $3 or $7.50 per 1,000 pages, with a $20/month free tier.

Key differences

MinerUChandra
How you run itSelf-host only: CLI, API or WebUISelf-host (vLLM or Hugging Face) or hosted Datalab API
LicenceMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights tagged AGPL-3.0Code Apache-2.0; weights modified OpenRAIL-M, free under $2M funding/revenue, commercial licence above that
HardwareBasic tier: CPU, 2 GB RAM. VLM tiers: 16 GB RAM and a GPU with 8 GB+ VRAMSingle NVIDIA GPU via vLLM; presets for A100, L40S and RTX 4090/5090
PriceFree, you pay for computeSelf-hosted free within licence terms; API $1, $3 or $7.50 per 1,000 pages
Input and outputPDF, images, Office files, EPUB, OFD, HTML in; Markdown, HTML, LaTeX, DOCX, EPUB, JSON outPages in; Markdown, HTML, JSON and bounding boxes out
olmOCR-Bench overall75.2 (MinerU 2.5.4, independent)85.8 (Chandra 2, reported by authors)
Known failureVLM tiers drop merged header rows in tables such as bank statement account lines; repeated content can produce 300 KB figure blocksToken-loop hallucinations on some Russian/Kazakh scans; weak on Urdu (43.2%) and Sanskrit (51.1%); Old Scans only 51.1

Sources

What each one is

MinerU

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

MinerU details

Chandra

Datalab's OCR model that keeps layout and handles forms, tables and handwriting.

Chandra 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": "opendatalab/mineru","fallbacks": ["datalab/chandra"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

MinerU alternativesChandra alternativesBest OCR models in 2026