Qianfan OCR vs Nougat
Pick Qianfan OCR for commercial products, multilingual documents and mixed layouts such as tables, handwriting and scene text. Pick Nougat only for non-commercial work on English scientific papers where you want LaTeX math in Mathpix-style Markdown. The main split is licence and scope: Qianfan OCR is Apache-2.0 and covers 192 languages, while Nougat's weights are CC-BY-NC and it works best on English.
Qianfan OCRbaidu/qianfan-ocr | Nougatmeta/nougat | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 2 credits / page | 2 credits / page |
| Per 1,000 pages | $2.00 | $2.00 |
| Typical speed | 2.0 s / page | 3.0 s / page |
| Best for | Chinese documents | arXiv-style papers |
| Inputs | PDF, images | PDF, images |
| Languages | Chinese, English and more | Mainly English |
| Max pages per request | 200 | 200 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | ✓ Yes |
| Bounding boxes | No | No |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | No |
| On OCRRouter | Available | Available |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
Which to choose
Choose Qianfan OCR if
- The Apache-2.0 licence allows commercial use, so you can ship it in a product.
- It covers 192 languages, handwriting and scene text, while Nougat's README says Chinese, Russian and Japanese do not work.
- It outputs Markdown, JSON, HTML, LaTeX and bounding boxes, and suits key information extraction, tables and formulas.
Choose Nougat if
- It is built for English arXiv-style papers, trained on arXiv and PubMed Central documents.
- It turns math-heavy PDFs into LaTeX equations and tables inside Mathpix-compatible .mmd Markdown.
- It is a small self-hosted Python package with small and base checkpoints and a simple CLI and API, free for non-commercial use.
Key differences
| Qianfan OCR | Nougat | |
|---|---|---|
| Licence | Apache-2.0, commercial use allowed | Code MIT; weights CC-BY-NC, no commercial use |
| How you run it | Self-host the open weights, or use the Baidu Qianfan platform | Self-host only, as a Python package |
| Model size | 4B parameters (Qwen3-4B language model) | Not published |
| Output formats | Markdown, JSON, HTML, LaTeX, bounding boxes | Markdown (.mmd) and LaTeX |
| Languages | 192 languages, plus handwriting and scene text | Works best on English; Chinese, Russian and Japanese do not work |
| Benchmarks | 93.12 on OmniDocBench v1.5, 79.8 on olmOCR-Bench, 880 on OCRBench (author-reported) | Not published |
| Known failure | Thinking mode can emit up to 16,384 tokens, adding latency; 1.024 pages per second on an A100 even with W8A8 | Repetition loops on 1.5% of test pages, more on out-of-domain documents; looping pages can be dropped as MISSING_PAGE |
Sources
What each one is
Qianfan OCR
Baidu's OCR-tuned vision model. Strong on Chinese documents and tables.
Qianfan OCR detailsTry both on your own file
Run the file once with each model and compare the output.
PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?
Use one, fall back to the other
{"model": "baidu/qianfan-ocr","fallbacks": ["meta/nougat"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Qianfan OCR vs DonutQianfan OCR vs MonkeyOCRPaddleOCR-VL vs NougatJina OCR vs NougatAmazon Textract vs NougatNougat vs Phi-4-multimodalQianfan OCR vs DeepSeek-VL2Qianfan OCR vs EasyOCR
Qianfan OCR alternativesNougat alternativesBest OCR models in 2026