OCRRouterGet API key

olmOCR vs Surya

Only olmOCR supports math, handwriting; only Surya supports bounding boxes, multilingual.

olmOCRallenai/olmocrSuryadatalab/surya
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed1.5 s / page1.5 s / page
Best forBulk PDF to text for datasetsLayout and line-level OCR
InputsPDF, imagesPDF, images
LanguagesMainly English90+ languages
Max pages per request1,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxesNo✓ Yes
ConfidenceNoNo
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

olmOCR

Open-source vision model from Ai2 that turns PDFs into clean, reading-order text.

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

Questions

More comparisons

olmOCR alternativesSurya alternatives