OCRRouter

MinerU vs olmOCR

Pick olmOCR if you have an NVIDIA GPU with 12 GB or more and want the higher olmOCR-Bench score (82.4 vs 75.2) for PDF to Markdown at scale. Pick MinerU if you need CPU-only runs or Office files, or you work mostly with Chinese and English papers. The main split is hardware and input range: MinerU runs on CPU and takes many formats, while olmOCR needs a GPU but scores higher.

MinerUopendatalab/mineruolmOCRallenai/olmocr
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed2.0 s / page1.5 s / page
Best forAcademic PDFsBulk PDF to text for datasets
InputsPDF, imagesPDF, images
Languages80+ languagesMainly English
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNo✓ Yes
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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 runs on CPU with about 2 GB RAM in the basic tier, so you can start without a GPU.
  • It accepts PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML in one tool.
  • It can export to Markdown, HTML, LaTeX, DOCX, EPUB and JSON.

Choose olmOCR if

  • It scores 82.4 on olmOCR-Bench, above MinerU 2.5.4 at 75.2 in the same table.
  • Self-hosting costs under $200 per million pages per Ai2, and the toolkit is Apache-2.0.
  • It handles equations, tables and handwriting, and strips headers and footers in reading order.

Key differences

MinerUolmOCR
LicenceMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights tagged AGPL-3.0Apache-2.0 (toolkit)
How you run itSelf-host only: CLI, API or WebUISelf-host with vLLM on a GPU, or use third-party hosted endpoints
HardwareBasic tier: CPU, 2 GB RAM. VLM tiers: 16 GB RAM and a GPU with 8 GB+ VRAMNVIDIA GPU with at least 12 GB VRAM and 30 GB free disk
PriceFree, you pay for computeUnder $200 per million pages self-hosted; DeepInfra hosted at $0.09 input / $0.19 output per million tokens
Inputs and outputsPDF, images, Office files, EPUB, OFD, HTML in; Markdown, HTML, LaTeX, DOCX, EPUB, JSON outPDFs and images in; Markdown and JSON out
olmOCR-Bench75.2 (MinerU 2.5.4, independent)82.4 (v0.4.0, by the authors)
Known failureDrops merged header rows in tables such as bank statement account lines; repeated content can produce 300 KB figure blocksOut of memory on a 12 GB GPU; can get stuck on the last few pages; image bounding box coordinates are unreliable

Sources

What each one is

MinerU

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

MinerU details

olmOCR

Open-source vision model from Ai2 (often searched as olm ocr) that turns PDFs into clean, reading-order text. Latest release: olmOCR 2.

olmOCR 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": ["allenai/olmocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

MinerU alternativesolmOCR alternativesBest OCR models in 2026