OCRRouterGet API key

OCRmyPDF vs Surya

OCRmyPDF is cheaper per page; OCRmyPDF is faster; only Surya supports tables, bounding boxes.

OCRmyPDFocrmypdf/ocrmypdfSuryadatalab/surya
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.0 s / page1.5 s / page
Best forSearchable PDFs from scansLayout and line-level OCR
InputsPDF, imagesPDF, images
Languages100+ languages (via Tesseract)90+ languages
Max pages per request1,000500
TablesNo✓ Yes
HandwritingNoNo
MathNoNo
Bounding boxesNo✓ 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

OCRmyPDF

Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.

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

Questions

More comparisons

OCRmyPDF alternativesSurya alternatives