OCRRouterGet API key

Qianfan OCR vs Nanonets-OCR

Qianfan OCR is cheaper per page; Nanonets-OCR is faster; only Qianfan OCR supports handwriting; only Nanonets-OCR supports forms.

Qianfan OCRbaidu/qianfan-ocrNanonets-OCRnanonets/nanonets-ocr
TypeOCR APIOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed2.0 s / page1.8 s / page
Best forChinese documentsMarkdown with semantic tags
InputsPDF, imagesPDF, images
LanguagesChinese, English and moreMultilingual
Max pages per request200500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNoNo
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

Nanonets-OCR

Open image-to-Markdown model that tags tables, equations, signatures, watermarks and checkboxes.

Nanonets-OCR details

Use one, fall back to the other

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

Questions

More comparisons

Qianfan OCR alternativesNanonets-OCR alternatives