Mathpix Convert vs RapidOCR
Pick Mathpix Convert when the job is turning math-heavy papers, textbooks or handwritten equations into LaTeX, Markdown or DOCX, and you accept a paid hosted API. Pick RapidOCR when you need free, offline text and bounding boxes from Chinese or English images on your own CPU, and you do not need layout or tables.
Mathpix Convertmathpix/convert | RapidOCRrapidai/rapidocr | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 7 credits / page | 1 credit / page |
| Per 1,000 pages | $7.00 | $1.00 |
| Typical speed | 1.5 s / page | 0.6 s / page |
| Best for | Math and scientific papers | Lightweight OCR on CPU or edge |
| Inputs | PDF, images | images |
| Languages | 30+ languages | Chinese, English and more |
| Max pages per request | 500 | 100 |
| Tables | ✓ Yes | No |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | ✓ Yes |
| 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 converts math, tables and chemistry in images and PDFs into LaTeX, Markdown, DOCX and HTML.
- It exports whole PDFs straight to DOCX or LaTeX, and it handles handwritten equations.
- It is a hosted API, so you run no models and manage no hardware.
Choose RapidOCR if
- It is free under Apache-2.0 and runs offline, so you pay only for your own compute.
- It embeds in Python, C++, Java or C# apps, with ONNX Runtime on CPU by default and optional TensorRT, OpenVINO or MNN engines.
- It suits Chinese and English screenshots and receipts, and Docling can use it as an OCR backend.
Key differences
| Mathpix Convert | RapidOCR | |
|---|---|---|
| How you run it | Hosted API | Library you run locally from Python, C++, Java or C# |
| Licence | Proprietary | Apache-2.0 (converted models keep their upstream licences) |
| Price | PDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 non-refundable API key fee | Free, self-hosted; you pay for compute |
| Output formats | LaTeX, Markdown, DOCX, HTML, JSON | Plain text and bounding boxes |
| Content focus | STEM: math, tables and chemistry | Chinese and English text; layout, tables and Markdown output are not its job |
| Languages | Not published | Chinese and English by default; other languages need extra models |
| Known failure | Images with more than 12 text rows may be billed at the PDF page rate | 16-bit grayscale PNG or TIFF give no text or wrong text (issue #776); Arabic recognition crashes (issue #719) |
Sources
What each one is
Mathpix Convert
Specialist for math, science papers and handwritten formulas. Outputs LaTeX.
Mathpix Convert detailsRapidOCR
PaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.
RapidOCR detailsTry 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": "mathpix/convert","fallbacks": ["rapidai/rapidocr"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Mathpix Convert vs docTRMathpix Convert vs OCRmyPDFReducto Parse vs RapidOCRLlamaParse vs RapidOCRMathpix Convert vs Nanonets-OCRMathpix Convert vs Granite DoclingRapidOCR vs ChandraMathpix Convert vs DeepSeek-OCR
Mathpix Convert alternativesRapidOCR alternativesBest OCR models in 2026