OCRRouter

MinerU vs Tesseract

Pick MinerU for papers, mixed PDF and Office corpora, and RAG pipelines that need Markdown, tables and formulas. Pick Tesseract for clean printed scans, searchable PDFs and cheap CPU OCR in many languages. The main split is structure: MinerU parses layout into Markdown or JSON, while Tesseract returns only lines and words.

MinerUopendatalab/mineruTesseracttesseract/tesseract
TypeOpen sourceOpen source
Price2 credits / pageFree
Per 1,000 pages$2.00$0.00
Typical speed2.0 s / page0.6 s / page
Best forAcademic PDFsClean printed text, free
InputsPDF, imagesPDF, images
Languages80+ languages100+ languages
Max pages per request500500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ YesNo
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 MinerU if

  • You need Markdown, HTML, LaTeX, DOCX, EPUB or JSON output from PDFs, images and Office files in one tool.
  • You convert Chinese and English academic papers or mixed Office and PDF corpora for RAG.
  • You want a VLM tier (1.2B parameters, 2.12 pages per second on one A100 with vLLM) and can supply a GPU with 8 GB+ VRAM.

Choose Tesseract if

  • You need a plain Apache-2.0 licence with no extra conditions.
  • You OCR clean printed scans in more than 100 languages, or make PDFs searchable offline.
  • You run on small CPU-only machines with no model server, as OCRmyPDF and many other tools do.

Key differences

MinerUTesseract
LicenceMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights are tagged AGPL-3.0Apache-2.0
How you run itLocal CLI, API or WebUI, with tiers from CPU-only to VLM-basedLocal CLI or C++ library with an LSTM recognizer
HardwareBasic ONNX tier runs on CPU with 2 GB RAM; VLM tiers need 16 GB RAM and a GPU with 8 GB+ VRAMCPU only, no GPU needed
Output formatsMarkdown, HTML, LaTeX, DOCX, EPUB, JSONPlain text, hOCR, searchable PDF, TSV, ALTO, PAGE
Tables, formulas, reading orderParsed into structure, but VLM tiers drop merged header rows such as bank statement account lines (issue #5554)No table structure, formula or reading-order output; lines and words only
BenchmarkolmOCR-Bench overall 75.2 (MinerU 2.5.4); ParseBench mean 45.9 (MinerU2.5)Not published
Known failureVLM pipeline can repeat content and produce 300 KB figure blocks (issue #5728); converts full-width Chinese punctuation to half-width with no switch (issue #5765)Accuracy drops sharply without binarization, deskew and roughly 300 DPI input; confuses digit 1 with lowercase l (issue #2753)

Sources

What each one is

MinerU

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

MinerU details

Tesseract

The classic open-source OCR engine. Plain text from clean printed scans.

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

Questions

More comparisons

MinerU alternativesTesseract alternativesBest OCR models in 2026