OCRRouter

Surya vs Chunkr

Pick Surya if you want a small local model (689M parameters) that returns layout labels, reading order, OCR and HTML tables with bounding boxes for 90+ languages, and your company is under $5M in funding or revenue. Pick Chunkr if you want a parsing service for PDF, PPT, Word and images with Markdown output for RAG chunking, and you want the choice of a hosted API or self-hosting. The main split is scope: Surya is a model you run against your own inference server, while Chunkr is a parsing pipeline that also needs an LLM endpoint when self-hosted.

Suryadatalab/suryaChunkrchunkr/chunkr
TypeOpen sourceOCR API
Price2 credits / page14 credits / page
Per 1,000 pages$2.00$14.00
Typical speed1.5 s / page3.0 s / page
Best forLayout and line-level OCRLayout-aware chunks for RAG
InputsPDF, imagesPDF, images, DOCX
Languages90+ languagesMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose Surya if

  • You need to run OCR on a laptop: it runs on CPU or Apple Silicon via llama.cpp, with peak memory of about 4.3-5.9 GB on an M4 Max.
  • You want line and block level bounding boxes, layout labels and reading order from one model, with HTML tables and KaTeX math.
  • You want a published accuracy number: the authors report 83.7% on olmOCR-bench for Surya 2.5, and 4.52 pages/s at 192 DPI on one H100 with vLLM.

Choose Chunkr if

  • You want RAG chunking of PDFs and slides, and input that includes PDF, PPT, Word and images.
  • You want Markdown, HTML and JSON output with bounding boxes, from a service you can run in the cloud or self-host with Docker (GPU, CPU-only or Mac ARM).
  • You already have an OpenAI-compatible LLM endpoint to plug in, and you can accept AGPL-3.0 or buy a commercial license.

Key differences

SuryaChunkr
What it isOCR, layout analysis, reading order and table recognition toolkit from DatalabDocument parsing service from Lumina AI with layout analysis, OCR and semantic chunking
DeploymentSelf-host only: a lightweight client plus a vLLM or llama.cpp inference serverHosted cloud API or open-source self-host; self-host needs an external LLM endpoint
LicenceCode Apache-2.0; weights under modified AI Pubs Open Rail-M, free for research, personal use and companies under $5M funding or revenueAGPL-3.0 or commercial license; closed-source use needs the commercial license
PriceFree self-hosted (you pay for compute); commercial license needed above $5M revenue or fundingHosted credit-based plans, prices not published; open-source version is free (you pay for compute and an LLM endpoint)
Output formatsJSON, HTML, LaTeX, bounding boxes, plain textHTML, Markdown, JSON, bounding boxes
BenchmarksolmOCR-bench 83.7% (Surya 2.5, author-reported); 74.9% pass rate across 91 languagesNot published
Known limitsSurya 2.5 tables lack row/column geometry; multilingual tables score 58.1; not for handwriting or photosOpen-source version uses community models, less accurate than the cloud's; no Excel in the open-source version

Sources

What each one is

Surya

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

Surya details

Chunkr

Document parsing API that segments and chunks pages for RAG. Self-hostable version available.

Chunkr details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

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

Questions

More comparisons

Surya alternativesChunkr alternativesBest OCR models in 2026