Mathpix Convert vs Unstructured
Pick Mathpix Convert when the input is math-heavy papers, textbooks or handwritten equations and you need LaTeX or DOCX out. Pick Unstructured when you ingest mixed file types such as PDFs, Word, PowerPoint and email for RAG, and want an open-source option you can self-host. Mathpix is built for STEM content; Unstructured is built for general document ingestion.
Mathpix Convertmathpix/convert | Unstructuredunstructured/unstructured | |
|---|---|---|
| Type | OCR API | OCR API |
| Price | 7 credits / page | 20 credits / page |
| Per 1,000 pages | $7.00 | $20.00 |
| Typical speed | 1.5 s / page | 3.0 s / page |
| Best for | Math and scientific papers | Mixed file types into RAG |
| Inputs | PDF, images | PDF, images, DOCX |
| Languages | 30+ languages | Multilingual |
| Max pages per request | 500 | 1,000 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | No |
| 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 converts math, tables and chemistry into LaTeX and Markdown, which is its core purpose.
- It exports whole PDFs directly to DOCX and LaTeX.
- It handles handwritten equations.
Choose Unstructured if
- It takes PDFs, HTML, Word, PowerPoint, emails and images through one library.
- The Apache-2.0 library is free to self-host, and the hosted platform gives you 10,000 free pages to start.
- Its Auto, Fast, High-Res and VLM strategies let you trade speed for quality per job.
Key differences
| Mathpix Convert | Unstructured | |
|---|---|---|
| How you run it | Hosted API only | Self-hosted open-source library or hosted API |
| Licence | Proprietary | Apache-2.0 library; proprietary hosted platform |
| Price | PDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key activation fee | Hosted: first 10,000 pages free, then $0.015 per page; open-source library is free |
| Output formats | LaTeX, Markdown, DOCX, HTML, JSON | JSON, HTML, plain text, bounding boxes |
| Best input | Math, tables and chemistry in papers and textbooks | Mixed file types and born-digital PDFs with the fast strategy |
| Table quality | Not published | Vendor's own benchmark: table cell content 0.426 open-source vs 0.866 hosted |
| Known failure | Images with more than 12 text rows may be billed at the PDF page rate | hi_res tables can cut off at edges and drop first letters; table OCR ignores language settings |
Sources
What each one is
Mathpix Convert
Specialist for math, science papers and handwritten formulas. Outputs LaTeX.
Mathpix Convert detailsUnstructured
Document ETL for RAG. Partitions many file types into typed elements; open-source library too.
Unstructured 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": ["unstructured/unstructured"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Mathpix Convert alternativesUnstructured alternativesBest OCR models in 2026