OCRRouter

Chandra vs Nanonets-OCR

Pick Chandra for scanned, multilingual or table-heavy documents where you want Markdown, HTML or JSON with bounding boxes, and check the licence if your company is above $2M in funding or revenue. Pick Nanonets-OCR for printed business PDFs with signatures, watermarks and checkboxes, or for flowcharts you want as Mermaid, and you want a small 3B model with no hosted option to pay for. On olmOCR-bench Chandra 2 scores 85.8 against 69.5 for Nanonets-OCR2-3B, which is the main reason to choose Chandra for general OCR accuracy.

Chandradatalab/chandraNanonets-OCRnanonets/nanonets-ocr
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed2.0 s / page1.8 s / page
Best forComplex layouts and handwritingMarkdown with semantic tags
InputsPDF, imagesPDF, images
Languages40+ languagesMultilingual
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
ConfidenceNoNo
Forms✓ Yes✓ Yes
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 Chandra if

  • It scores 85.8 on olmOCR-bench (Chandra 2), against 69.5 for Nanonets-OCR2-3B.
  • It averages 77.8% across 43 languages and returns JSON with bounding boxes and labels per block.
  • You can self-host it or call the Datalab API at $1, $3 or $7.50 per 1,000 pages, with a free tier of $20 per month.

Choose Nanonets-OCR if

  • It tags signatures, watermarks and image descriptions, and turns checkboxes into unicode symbols.
  • It extracts flowcharts and org charts as Mermaid code and tells inline from display LaTeX equations.
  • It is a 3B model fine-tuned from Qwen2.5-VL-3B, free to self-host, and scores 89.43 on DocVQA.

Key differences

ChandraNanonets-OCR
How you run itSelf-host with vLLM or Hugging Face, or use the hosted Datalab APISelf-host the weights from Hugging Face only
LicenceCode Apache-2.0; weights modified OpenRAIL-M, free under $2M funding or revenue, paid licence above thatNot stated on the Nanonets-OCR2-3B model card
PriceFree self-hosted; hosted API $1, $3 or $7.50 per 1,000 pagesFree self-hosted; you pay for compute
Output formatsMarkdown, HTML, JSON, bounding boxesMarkdown, HTML, LaTeX, Mermaid
olmOCR-bench overall85.8 (Chandra 2)69.5 (OCR2-3B)
Known failureToken-loop hallucinations reported on some Russian and Kazakh scans; weak on Urdu (43.2%) and Old Scans (51.1)Not trained on handwriting; generation loops with CER up to 2100% in a handwriting test; hallucinates with prompts other than its fixed one
HardwareOne NVIDIA GPU via vLLM; benchmarked on an H100 80GB, with presets for A100, L40S and RTX 4090/5090Not published

Sources

What each one is

Chandra

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

Chandra details

Nanonets-OCR

Open image-to-Markdown model that tags tables, equations, signatures, watermarks and checkboxes.

Nanonets-OCR 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": ["nanonets/nanonets-ocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Chandra alternativesNanonets-OCR alternativesBest OCR models in 2026