OCRRouterGet API key

Qianfan OCR vs Google Cloud Vision OCR

Qianfan OCR is cheaper per page; Google Cloud Vision OCR is faster; only Qianfan OCR supports tables, math; only Google Cloud Vision OCR supports bounding boxes, confidence.

Qianfan OCRbaidu/qianfan-ocrGoogle Cloud Vision OCRgoogle/cloud-vision
TypeOCR APIOCR API
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed2.0 s / page1.0 s / page
Best forChinese documentsPhotos and simple scans
InputsPDF, imagesPDF, images
LanguagesChinese, English and more100+ languages
Max pages per request2002,000
Tables✓ YesNo
Handwriting✓ Yes✓ Yes
Math✓ YesNo
Bounding boxesNo✓ Yes
ConfidenceNo✓ Yes
FormsNoNo
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

Google Cloud Vision OCR

Google Cloud's image OCR with text and document text detection, word boxes and confidence.

Google Cloud Vision OCR details

Use one, fall back to the other

Request body
{
  "model": "baidu/qianfan-ocr",
  "fallbacks": ["google/cloud-vision"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Qianfan OCR alternativesGoogle Cloud Vision OCR alternatives