OCRRouterGet API key

Surya vs Nougat

Surya is faster; only Surya supports bounding boxes, multilingual; only Nougat supports math.

Suryadatalab/suryaNougatmeta/nougat
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed1.5 s / page3.0 s / page
Best forLayout and line-level OCRarXiv-style papers
InputsPDF, imagesPDF, images
Languages90+ languagesMainly English
Max pages per request500200
Tables✓ Yes✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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

Surya

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

Surya details

Nougat

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

Nougat details

Use one, fall back to the other

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

Questions

More comparisons

Surya alternativesNougat alternatives