OCRRouterLấy API key

Google Document AI vs Chandra

Chandra is cheaper per page; Google Document AI is faster; only Google Document AI supports confidence; only Chandra supports math.

Google Document AIgoogle/document-aiChandradatalab/chandra
TypeOCR APIOpen source
Price3 credits / page2 credits / page
Per 1,000 pages$3.00$2.00
Typical speed1.4 s / page2.0 s / page
Best forMultilingual scansComplex layouts and handwriting
InputsPDF, imagesPDF, images
Languages200+ languages40+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
Forms✓ Yes✓ Yes
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableComing soon

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

What each one is

Google Document AI

Google Cloud OCR with layout parsing and specialised processors.

Google Document AI details

Chandra

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

Chandra details

Use one, fall back to the other

Request body
{
  "model": "google/document-ai",
  "fallbacks": ["datalab/chandra"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Google Document AI alternativesChandra alternatives