OCRRouterGet API key

Surya vs Unstructured

Surya is cheaper per page; Surya is faster.

Suryadatalab/suryaUnstructuredunstructured/unstructured
TypeOpen sourceOCR API
Price2 credits / page20 credits / page
Per 1,000 pages$2.00$20.00
Typical speed1.5 s / page3.0 s / page
Best forLayout and line-level OCRMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
Languages90+ languagesMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNoNo
MathNoNo
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

Surya

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

Surya details

Unstructured

Document ETL for RAG. Partitions many file types into typed elements; open-source library too.

Unstructured details

Use one, fall back to the other

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

Questions

More comparisons

Surya alternativesUnstructured alternatives