OCRRouter

MinerU vs RapidOCR

Pick MinerU when you need Markdown, HTML, LaTeX or DOCX out of PDFs, Office files and academic papers, and you can run a VLM on a GPU or accept basic quality on CPU. Pick RapidOCR when you only need text and bounding boxes from Chinese or English images and want a small offline library you can call from Python, C++, Java or C#. The main split is document parsing versus plain line OCR.

MinerUopendatalab/mineruRapidOCRrapidai/rapidocr
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed2.0 s / page0.6 s / page
Best forAcademic PDFsLightweight OCR on CPU or edge
InputsPDF, imagesimages
Languages80+ languagesChinese, English and more
Max pages per request500100
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNo✓ Yes
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 MinerU if

  • It takes PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML in one tool, which suits mixed corpora for RAG.
  • It renders to Markdown, HTML, LaTeX, DOCX, EPUB and JSON, so you get structured output and not just text.
  • It scored 75.2 on olmOCR-Bench (version 2.5.4), and the VLM tier reaches 2.12 pages per second on one A100 with vLLM.

Choose RapidOCR if

  • It installs with pip install rapidocr onnxruntime and runs PaddleOCR models without the Paddle framework.
  • It has bindings for Python, C++, Java and C#, so it embeds in desktop and server apps in many stacks.
  • It runs on CPU through ONNX Runtime by default, with optional TensorRT, OpenVINO, MNN, Paddle or PyTorch engines.

Key differences

MinerURapidOCR
What it isDocument parsing toolkit that turns PDFs, images and Office files into Markdown or JSONOCR library that runs converted PaddleOCR models for offline inference
OutputMarkdown, HTML, LaTeX, DOCX, EPUB, JSONPlain text and bounding boxes only
HardwareBasic ONNX tier runs on CPU with 2 GB RAM; VLM tiers need 16 GB RAM and a GPU with 8 GB+ VRAMCPU via ONNX Runtime by default; GPU and other engines are optional
LicenceMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights tagged AGPL-3.0Apache-2.0; converted models keep their upstream licences
BenchmarkolmOCR-Bench 75.2 (MinerU 2.5.4); ParseBench mean 45.9 (MinerU2.5)Not published
LanguagesGood for Chinese and English academic papersChinese and English only by default; other languages need extra models
Known failureVLM tiers drop merged header rows in tables such as bank statement account lines; the VLM pipeline can repeat content, producing 300 KB figure blocks16-bit grayscale PNG or TIFF give no text or wrong text; Arabic recognition crashes because python-bidi is undeclared

Sources

What each one is

MinerU

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

MinerU details

RapidOCR

PaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.

RapidOCR 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": ["rapidai/rapidocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

MinerU alternativesRapidOCR alternativesBest OCR models in 2026