OCRRouterGet API key

Surya API

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

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 is not connected yet. The price below is an estimate. You can call the models that are live today with the same request.

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 200 free credits, enough for about 100 pages with this model. See pricing for credit packs.

Similar models

All Surya alternatives

Compare Surya

Questions