Mathpix Convert vs MinerU
Pick Mathpix Convert if your input is math-heavy papers, textbooks or handwritten equations and you want LaTeX or DOCX from whole PDFs through a hosted API. Pick MinerU if you want to self-host, convert mixed PDF and Office files into Markdown or JSON, or run basic CPU-only batch jobs at no licence cost. The main split is a paid STEM-focused API versus a free self-hosted toolkit with licence and table-quality caveats.
Mathpix Convertmathpix/convert | MinerUopendatalab/mineru | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 7 credits / page | 2 credits / page |
| Per 1,000 pages | $7.00 | $2.00 |
| Typical speed | 1.5 s / page | 2.0 s / page |
| Best for | Math and scientific papers | Academic PDFs |
| Inputs | PDF, images | PDF, images |
| Languages | 30+ languages | 80+ languages |
| Max pages per request | 500 | 500 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | ✓ Yes |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | No |
| Forms | No | No |
| Multilingual | No | ✓ Yes |
| On OCRRouter | Available | Available |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
Which to choose
Choose Mathpix Convert if
- It is built for STEM content, turning math, tables and chemistry into LaTeX and Markdown.
- It exports LaTeX and DOCX directly from whole PDFs and handles handwritten equations.
- You get a hosted API with no GPU or server to run, at $0.005 per PDF page up to 1M pages.
Choose MinerU if
- It is free to self-host, so you pay only for compute.
- It accepts PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML in one tool, which suits mixed Office and PDF corpora for RAG.
- The basic ONNX tier runs on CPU with about 2 GB RAM, so you can start without a GPU.
Key differences
| Mathpix Convert | MinerU | |
|---|---|---|
| How you run it | Hosted API | Self-host as CLI, API or WebUI |
| Licence | Proprietary | MinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights tagged AGPL-3.0 |
| Price | PDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key activation fee | Free, you pay for compute |
| Input types | Images and PDFs | PDF, images, DOCX, PPTX, XLSX, EPUB, OFD, HTML |
| Output formats | LaTeX, Markdown, DOCX, HTML, JSON | Markdown, HTML, LaTeX, DOCX, EPUB, JSON |
| Published benchmark | Not published | olmOCR-Bench overall 75.2 (MinerU 2.5.4); ParseBench mean 45.9 (MinerU2.5) |
| Known failure | Images with more than 12 text rows may be billed at the PDF page rate | VLM tiers drop merged header rows in tables such as bank statement account lines; VLM pipeline can repeat content, producing 300 KB figure blocks |
Sources
- Mathpix billing docs
- Mathpix OCR API
- MinerU GitHub README
- olmOCR-Bench table
- Issue #5554 table header rows
What each one is
Mathpix Convert
Specialist for math, science papers and handwritten formulas. Outputs LaTeX.
Mathpix Convert detailsMinerU
Open-source PDF to Markdown pipeline popular for academic and Chinese documents.
MinerU detailsTry both on your own file
Run the file once with each model and compare the output.
Use one, fall back to the other
{"model": "mathpix/convert","fallbacks": ["opendatalab/mineru"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Mathpix Convert alternativesMinerU alternativesBest OCR models in 2026