OCRRouterGet API key

Qianfan OCR vs Chandra

Qianfan OCR is cheaper per page; only Chandra supports forms, bounding boxes.

Qianfan OCRbaidu/qianfan-ocrChandradatalab/chandra
TypeOCR APIOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed2.0 s / page2.0 s / page
Best forChinese documentsComplex layouts and handwriting
InputsPDF, imagesPDF, images
LanguagesChinese, English and more40+ languages
Max pages per request200500
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNo✓ 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

Qianfan OCR

Baidu's OCR-tuned vision model. Strong on Chinese documents and tables.

Qianfan OCR 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": "baidu/qianfan-ocr",
  "fallbacks": ["datalab/chandra"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Qianfan OCR alternativesChandra alternatives