Qianfan OCR vs Kraken
Kraken is faster; only Qianfan OCR supports tables, math; only Kraken supports bounding boxes.
Qianfan OCRbaidu/qianfan-ocr | Krakenkraken/kraken | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 1 credit / page | 1 credit / page |
| Per 1,000 pages | $1.00 | $1.00 |
| Typical speed | 2.0 s / page | 1.5 s / page |
| Best for | Chinese documents | Historical documents and manuscripts |
| Inputs | PDF, images | images |
| Languages | Chinese, English and more | Many scripts, incl. right-to-left |
| Max pages per request | 200 | 500 |
| Tables | ✓ Yes | No |
| Handwriting | ✓ Yes | ✓ Yes |
| 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 detailsKraken
OCR engine for historical documents and manuscripts, with trainable models for unusual scripts.
Kraken detailsUse one, fall back to the other
Request body
{
"model": "baidu/qianfan-ocr",
"fallbacks": ["kraken/kraken"],
"file_url": "https://example.com/document.pdf"
}