OCRRouter

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/convertUnstructuredunstructured/unstructured
TypeOCR APIOCR API
Price7 credits / page20 credits / page
Per 1,000 pages$7.00$20.00
Typical speed1.5 s / page3.0 s / page
Best forMath and scientific papersMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
Languages30+ languagesMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
MultilingualNo✓ 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 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 ConvertUnstructured
How you run itHosted API onlySelf-hosted open-source library or hosted API
LicenceProprietaryApache-2.0 library; proprietary hosted platform
PricePDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key activation feeHosted: first 10,000 pages free, then $0.015 per page; open-source library is free
Output formatsLaTeX, Markdown, DOCX, HTML, JSONJSON, HTML, plain text, bounding boxes
Best inputMath, tables and chemistry in papers and textbooksMixed file types and born-digital PDFs with the fast strategy
Table qualityNot publishedVendor's own benchmark: table cell content 0.426 open-source vs 0.866 hosted
Known failureImages with more than 12 text rows may be billed at the PDF page ratehi_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 details

Unstructured

Document ETL for RAG. Partitions many file types into typed elements; open-source library too.

Unstructured 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": "mathpix/convert","fallbacks": ["unstructured/unstructured"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Mathpix Convert alternativesUnstructured alternativesBest OCR models in 2026