OCRRouter

Chandra vs GOT-OCR 2.0

Pick Chandra for scanned, multilingual documents and PDF to Markdown pipelines, where you want Markdown, HTML or JSON with bounding boxes and a hosted API option. Pick GOT-OCR 2.0 for formulas, sheet music, chemical structures and box-guided region OCR in English and Chinese, if you can self-host and accept non-commercial training data. The main split is scope: Chandra is built around page-level document conversion, GOT-OCR 2.0 around special content types.

Chandradatalab/chandraGOT-OCR 2.0stepfun/got-ocr-2
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed2.0 s / page1.5 s / page
Best forComplex layouts and handwritingFormatted text, formulas and charts
InputsPDF, imagesimages
Languages40+ languagesChinese, English
Max pages per request500100
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
Forms✓ YesNo
Multilingual✓ YesNo
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 Chandra if

  • You need a hosted option: the Datalab API costs $1, $3 or $7.50 per 1,000 pages, with a $20/month free tier.
  • You process multilingual scans: Chandra 2 averages 77.8% across 43 languages, and the authors report 85.8 on olmOCR-bench.
  • You want structured output: Markdown, HTML or JSON, plus layout chunks with bounding boxes and labels per block.

Choose GOT-OCR 2.0 if

  • You read formulas, sheet music, chemical structures or charts, with LaTeX, TikZ, SMILES and kern output.
  • You need region OCR guided by box coordinates or color, or multi-page OCR with batched inference in Hugging Face Transformers.
  • You want a small 580M model that is free to self-host with no revenue cap in the code licence.

Key differences

ChandraGOT-OCR 2.0
How you run itSelf-host the open weights (vLLM or Hugging Face) or use the hosted Datalab APISelf-host only, via Hugging Face Transformers; CPU users are pointed to a llama.cpp port
LicenceCode Apache-2.0; weights modified OpenRAIL-M, free under $2M funding/revenue, paid licence above thatCode Apache-2.0; data CC BY-NC 4.0
PriceSelf-hosted: free within licence terms. API: $1, $3 or $7.50 per 1,000 pagesFree, self-hosted (you pay for compute)
Output formatsMarkdown, HTML, JSON, bounding boxesPlain text, Markdown, LaTeX, TikZ, SMILES, kern
BenchmarksChandra 2: 85.8 on olmOCR-bench; 77.8% on a 43-language averageNot published
HardwareOne NVIDIA GPU via vLLM; benchmarked on an H100 80GB, with presets for A100, L40S and RTX 4090/5090CUDA 11.8 and PyTorch 2.0.1 per the README
Known failureToken-loop hallucinations on some Russian/Kazakh scans; weak on Urdu (43.2%) and old scansLooping characters mid-recognition; wrong text on images with no text; format mode worse than plain OCR mode

Sources

What each one is

Chandra

Datalab's OCR model that keeps layout and handles forms, tables and handwriting.

Chandra details

GOT-OCR 2.0

Unified OCR model that reads plain text, tables, formulas, sheet music and charts.

GOT-OCR 2.0 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/chandra","fallbacks": ["stepfun/got-ocr-2"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Chandra alternativesGOT-OCR 2.0 alternativesBest OCR models in 2026