OCRRouterGet API key

Mathpix Convert vs Surya

Surya is cheaper per page; only Mathpix Convert supports math, handwriting, confidence; only Surya supports multilingual.

Mathpix Convertmathpix/convertSuryadatalab/surya
TypeOCR APIOpen source
Price7 credits / page2 credits / page
Per 1,000 pages$7.00$2.00
Typical speed1.5 s / page1.5 s / page
Best forMath and scientific papersLayout and line-level OCR
InputsPDF, imagesPDF, images
Languages30+ languages90+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
MultilingualNo✓ Yes
On OCRRouterComing soonComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

Mathpix Convert

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

Mathpix Convert details

Surya

Open-source OCR toolkit with line detection, layout analysis, reading order and tables.

Surya details

Use one, fall back to the other

Request body
{
  "model": "mathpix/convert",
  "fallbacks": ["datalab/surya"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Mathpix Convert alternativesSurya alternatives