OCRRouter

Chandra vs Hunyuan OCR

Pick Chandra for multilingual scanned documents, PDF to Markdown for RAG, and pages with tables, forms and math, especially if you want a hosted API or can stay under the $2M funding/revenue licence line. Pick Hunyuan OCR if you need a ~1B model that runs on a laptop or consumer GPU, or need text spotting, image translation and low-resource scripts, and you are outside the EU, UK and South Korea.

Chandradatalab/chandraHunyuan OCRtencent/hunyuan-ocr
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed2.0 s / page1.5 s / page
Best forComplex layouts and handwritingChinese documents and photos
InputsPDF, imagesPDF, images
Languages40+ languages100+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
Forms✓ YesNo
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

  • Chandra 2 scores 85.8 on olmOCR-bench and averages 77.8% across 43 languages, so it suits multilingual scanned documents.
  • You can skip running GPUs by using the hosted Datalab API at $1, $3 or $7.50 per 1,000 pages, with a free tier of $20/month.
  • It returns Markdown, HTML and JSON with bounding boxes and labels per block, which fits PDF to Markdown pipelines for RAG.

Choose Hunyuan OCR if

  • At about 1B parameters it runs on laptops, CPU or consumer GPUs through the llama.cpp GGUF path.
  • One model covers document parsing, text spotting, information extraction and image translation, with 12 task types in the vLLM client.
  • It targets low-resource and ancient-script OCR, where Chandra is weak (43.2% Urdu, 51.1% Sanskrit).

Key differences

ChandraHunyuan OCR
How you run itSelf-host with vLLM or Hugging Face, or use the hosted Datalab APISelf-host only, via vLLM, Transformers or llama.cpp
LicenceCode Apache-2.0; weights modified OpenRAIL-M, free under $2M funding/revenue, paid licence above thatTencent Hunyuan Community License; excludes EU, UK and South Korea; separate licence above 100M monthly active users
PriceSelf-hosted free within licence terms; API $1, $3 or $7.50 per 1,000 pagesFree, self-hosted; you pay for compute
HardwareSingle NVIDIA GPU via vLLM; presets for A100, L40S and RTX 4090/5090NVIDIA GPU with CUDA 13 for vLLM; GGUF path for CPU, consumer GPU or laptop
Output formatsMarkdown, HTML, JSON, bounding boxesMarkdown, HTML, LaTeX, JSON, plain text, bounding boxes
BenchmarkolmOCR-bench overall 85.8 (Chandra 2, authors' table)ParseBench-2 overall 67.11 (v1.5, independent)
Known failureToken-loop hallucinations on some Russian/Kazakh scans; Old Scans only 51.1 on olmOCR-benchTransformers and vLLM outputs differed in accuracy in the archived 1.0 note; needs CUDA 13 and vLLM 0.25.1+

Sources

What each one is

Chandra

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

Chandra details

Hunyuan OCR

Small end-to-end OCR model from Tencent covering parsing, extraction and photo translation.

Hunyuan 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": ["tencent/hunyuan-ocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Chandra alternativesHunyuan OCR alternativesBest OCR models in 2026