Qianfan OCR vs Surya
Qianfan OCR is cheaper per page; Surya is faster; only Qianfan OCR supports math, handwriting; only Surya supports bounding boxes.
Qianfan OCRbaidu/qianfan-ocr | Suryadatalab/surya | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 1 credit / page | 2 credits / page |
| Per 1,000 pages | $1.00 | $2.00 |
| Typical speed | 2.0 s / page | 1.5 s / page |
| Best for | Chinese documents | Layout and line-level OCR |
| Inputs | PDF, images | PDF, images |
| Languages | Chinese, English and more | 90+ languages |
| Max pages per request | 200 | 500 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | No |
| Bounding boxes | No | ✓ Yes |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | ✓ Yes |
| On OCRRouter | Available | Coming 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 detailsSurya
Open-source OCR toolkit with line detection, layout analysis, reading order and tables.
Surya detailsUse one, fall back to the other
Request body
{
"model": "baidu/qianfan-ocr",
"fallbacks": ["datalab/surya"],
"file_url": "https://example.com/document.pdf"
}