OCRRouterGet API key

Qianfan OCR vs RapidOCR

RapidOCR is faster; only Qianfan OCR supports tables, math, handwriting; only RapidOCR supports bounding boxes, confidence.

Qianfan OCRbaidu/qianfan-ocrRapidOCRrapidai/rapidocr
TypeOCR APIOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed2.0 s / page0.6 s / page
Best forChinese documentsLightweight OCR on CPU or edge
InputsPDF, imagesimages
LanguagesChinese, English and moreChinese, English and more
Max pages per request200100
Tables✓ YesNo
Handwriting✓ YesNo
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

RapidOCR

PaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.

RapidOCR details

Use one, fall back to the other

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

Questions

More comparisons

Qianfan OCR alternativesRapidOCR alternatives