OCRRouterGet API key

Qianfan OCR vs Granite Docling

Granite Docling is faster; only Qianfan OCR supports handwriting, multilingual; only Granite Docling supports bounding boxes.

Qianfan OCRbaidu/qianfan-ocrGranite Doclingibm/granite-docling
TypeOCR APIOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed2.0 s / page1.5 s / page
Best forChinese documentsSmall-model document conversion
InputsPDF, imagesPDF, images
LanguagesChinese, English and moreEnglish, experimental CJK and Arabic
Max pages per request200500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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

Granite Docling

Compact IBM vision model that converts pages to DocTags for the Docling pipeline.

Granite Docling details

Use one, fall back to the other

Request body
{
  "model": "baidu/qianfan-ocr",
  "fallbacks": ["ibm/granite-docling"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Qianfan OCR alternativesGranite Docling alternatives