OCRRouter

Mathpix Convert vs Nougat

Pick Mathpix Convert for commercial work that needs LaTeX, DOCX or HTML from math-heavy PDFs, images or handwritten equations through a hosted API. Pick Nougat for non-commercial or research use on English arXiv-style papers, where you can self-host and only pay for compute. The main split is licensing and hosting: Nougat's weights are CC-BY-NC, so it cannot go into a commercial product.

Mathpix Convertmathpix/convertNougatmeta/nougat
TypeOCR APIOpen source
Price7 credits / page2 credits / page
Per 1,000 pages$7.00$2.00
Typical speed1.5 s / page3.0 s / page
Best forMath and scientific papersarXiv-style papers
InputsPDF, imagesPDF, images
Languages30+ languagesMainly English
Max pages per request500200
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
MultilingualNoNo
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

  • You need a commercial licence: it is a paid hosted API with no non-commercial restriction.
  • You need DOCX, HTML or JSON output as well as LaTeX and Markdown, including direct DOCX and LaTeX export from whole PDFs.
  • Your input includes handwritten equations, chemistry or images, not only typeset scientific PDF pages.

Choose Nougat if

  • You want to self-host and pay only for compute, with free use for non-commercial work.
  • Your documents are English arXiv-style papers, which is what it was trained on (arXiv and PubMed Central).
  • You want a small or base checkpoint with a simple CLI and API, and Markdown or LaTeX output is enough.

Key differences

Mathpix ConvertNougat
DeploymentHosted APISelf-hosted Python package
LicenceProprietaryCode MIT; weights CC-BY-NC (no commercial use)
PricePDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key feeFree for non-commercial use; you pay for compute
Output formatsLaTeX, Markdown, DOCX, HTML, JSONMarkdown (Mathpix-style .mmd), LaTeX
Input scopeImages and PDFs with math, tables and chemistry; handwritten equationsScientific PDF pages, trained on arXiv and PubMed Central
LanguagesNot publishedWorks best on English; Chinese, Russian and Japanese do not work
Known failureImages with more than 12 text rows may be billed at the PDF page rateRepetition loops on 1.5% of test pages in the paper, more on out-of-domain documents; repetition detection can drop pages as MISSING_PAGE

Sources

What each one is

Mathpix Convert

Specialist for math, science papers and handwritten formulas. Outputs LaTeX.

Mathpix Convert details

Nougat

Meta's model that converts academic PDFs to Markdown with LaTeX math.

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

Questions

More comparisons

Mathpix Convert alternativesNougat alternativesBest OCR models in 2026