Azure Document Intelligence vs Kraken
Pick Kraken for historical manuscripts, early prints and right-to-left or non-Latin scripts, where you can train recognition on your own material and run it free on Linux or macOS. Pick Azure Document Intelligence for modern business documents such as invoices, receipts and IDs, where prebuilt models work without training. The main split is the document type: Kraken is built for historical material and Azure is built for business forms.
Azure Document Intelligenceazure/document-intelligence | Krakenkraken/kraken | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 60 credits / page | 1 credit / page |
| Per 1,000 pages | $60.00 | $1.00 |
| Typical speed | 1.5 s / page | 1.5 s / page |
| Best for | Enterprise forms and IDs | Historical documents and manuscripts |
| Inputs | PDF, images | images |
| Languages | 300+ languages | Many scripts, incl. right-to-left |
| Max pages per request | 2,000 | 500 |
| Tables | ✓ Yes | No |
| Handwriting | ✓ Yes | ✓ Yes |
| Math | No | No |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | No |
| Forms | ✓ Yes | No |
| Multilingual | ✓ Yes | ✓ Yes |
| 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 Azure Document Intelligence if
- Prebuilt models cover invoices, receipts, IDs, W-2 and contracts, so you need no training to extract those fields.
- It is a managed service billed per page: Read is $1.50 per 1,000 pages ($0.60 above 1M), and the first 500 pages a month are free.
- Disconnected containers let you run it on-prem, and it fits teams already on Azure.
Choose Kraken if
- It is built for historical manuscripts and early prints, with right-to-left, BiDi and top-to-bottom script support.
- Layout analysis, reading order and character recognition are all trainable, and a public Zenodo repository holds community-trained models.
- It is Apache-2.0 and free to self-host, and it writes ALTO, PageXML, abbyyXML and hOCR for digital humanities tools.
Key differences
| Azure Document Intelligence | Kraken | |
|---|---|---|
| Best-fit documents | Invoices, receipts and ID documents | Historical manuscripts, early prints, Arabic, Hebrew and other RTL scripts |
| Licence | Proprietary | Apache-2.0 |
| How you run it | Managed service, plus containers including disconnected on-prem use | Python library installed with pip on Linux or macOS (x64 or ARM, Python 3.10 to 3.13); no Windows support |
| Price | Read $1.50 per 1,000 pages; Layout and prebuilt $10 per 1,000; custom extraction $30 per 1,000; 500 free pages a month | Free; you pay for your own compute |
| Output formats | JSON, Markdown, plain text, bounding boxes, searchable PDF | ALTO, PageXML, hOCR, plain text, bounding boxes |
| Table benchmark | 82.7% on RD-TableBench (independent) | Not published |
| Known problems | Stacked models multiply cost (Prebuilt plus Layout plus high-res add-on is $26 per 1,000 pages); the free tier reads only the first two pages of each document | Install can fail with a dependency conflict (issue #816); learned line order is lost in segmentation and text output (issue #820); usually needs training on your own material |
Sources
- Azure pricing page
- Azure DI pricing breakdown
- Reducto RD-TableBench
- Kraken GitHub README
- Zenodo OCR models
- Issue #820
What each one is
Azure Document Intelligence
Azure layout model with tables, selection marks and prebuilt invoice and ID readers.
Azure Document Intelligence detailsKraken
OCR engine for historical documents and manuscripts, with trainable models for unusual scripts.
Kraken detailsTry both on your own file
Run the file once with each model and compare the output.
Use one, fall back to the other
{"model": "azure/document-intelligence","fallbacks": ["kraken/kraken"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Azure Document Intelligence alternativesKraken alternativesBest OCR models in 2026