OCRRouterGet API key

MinerU vs Surya

Surya is faster; only MinerU supports math.

MinerUopendatalab/mineruSuryadatalab/surya
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed2.0 s / page1.5 s / page
Best forAcademic PDFsLayout and line-level OCR
InputsPDF, imagesPDF, images
Languages80+ languages90+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ 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

MinerU

Open-source PDF to Markdown pipeline popular for academic and Chinese documents.

MinerU 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": "opendatalab/mineru",
  "fallbacks": ["datalab/surya"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

MinerU alternativesSurya alternatives