OCRRouter

Surya OCR online

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

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?
Model ID
datalab/surya
Type
Open source
Price
2 credits / page ($2.00 per 1,000 pages)
Typical speed
1.5 s / page
Inputs
PDF, images
Languages
90+ languages
Max pages per request
500
Output
Markdown, JSON with positions
Supports
TablesBounding boxesMultilingual
curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "datalab/surya",
    "file_url": "https://example.com/invoice.pdf",
    "format": "markdown"
  }'

Surya speed and reliability

Loading…

Measured on our own traffic over the last 7 days.

Surya pricing

Surya costs 2 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $2.00. You only pay for pages that return a result.

New accounts get 50 free credits, enough for about 25 pages with this model. See pricing for credit packs.

Similar models

All Surya alternativesBest OCR models by use case

Compare Surya

Questions