Kraken vs dots.ocr
Pick Kraken for historical manuscripts, early prints and right-to-left or other non-Latin scripts, where you can train layout and recognition on your own material and need ALTO or PageXML. Pick dots.ocr for modern multilingual PDFs, academic and business documents with mixed tables and text, where you want layout, Markdown, HTML tables and LaTeX formulas from one model. The main split is the material: Kraken is built for historical scripts and needs training, while dots.ocr parses contemporary documents but needs a CUDA GPU.
Krakenkraken/kraken | dots.ocrrednote/dots-ocr | |
|---|---|---|
| Type | Open source | Open source |
| Price | 1 credit / page | 2 credits / page |
| Per 1,000 pages | $1.00 | $2.00 |
| Typical speed | 1.5 s / page | 1.5 s / page |
| Best for | Historical documents and manuscripts | Multilingual document parsing |
| Inputs | images | PDF, images |
| Languages | Many scripts, incl. right-to-left | 100+ languages |
| Max pages per request | 500 | 500 |
| Tables | No | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | No | ✓ Yes |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | No | No |
| Forms | No | 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 Kraken if
- Your material is historical manuscripts or early prints, which is what Kraken is built for.
- You work with Arabic, Hebrew or other right-to-left, BiDi or top-to-bottom scripts.
- You need ALTO, PageXML, abbyyXML or hOCR output for digital humanities tools, plus a public Zenodo repository of community-trained models.
Choose dots.ocr if
- You convert multilingual business or academic PDFs to Markdown, with tables as HTML and formulas as LaTeX.
- You want one 3B model that returns layout boxes, categories and text in a single pass, without training it first.
- You need chart or diagram conversion to SVG through the dots.mocr-svg variant.
Key differences
| Kraken | dots.ocr | |
|---|---|---|
| Best for | Historical manuscripts, early prints, RTL and non-Latin scripts | Multilingual PDFs, academic and business documents with tables |
| Licence | Apache-2.0 | MIT (the repository also includes a separate dots.ocr license agreement file) |
| How you run it | Python library installed with pip on Linux or macOS (x64 or ARM, Python 3.10 to 3.13); no Windows support | Self-hosted via vLLM or Hugging Face Transformers; single CUDA GPU with vLLM is the documented path, no VRAM figure stated |
| Price | Free, self-hosted (you pay for compute) | Free, self-hosted (you pay for compute) |
| Output formats | ALTO, PageXML, hOCR, plain text, bounding boxes | JSON, Markdown, HTML, LaTeX, bounding boxes, SVG |
| Benchmarks | Not published | olmOCR-bench 79.1 for dots.ocr and 83.9 for dots.mocr (1.5), reported by the authors |
| Known failure | Usually needs training on your own material for good accuracy; install dependency conflict (issue #816); learned line order lost in segmentation and text output (issue #820) | Runs of ellipses or underscores can make output repeat endlessly; complex tables and formulas remain difficult; a table above 1000 grid cells drops the whole page in Docling (issue #5146) |
Sources
- Kraken GitHub README
- Kraken docs
- Issue #820
- dots.ocr GitHub README
- dots.ocr blog / limitations
- Docling issue #5146
What each one is
Kraken
OCR engine for historical documents and manuscripts, with trainable models for unusual scripts.
Kraken detailsdots.ocr
Single vision model from rednote that does layout detection and content recognition together.
dots.ocr 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": "kraken/kraken","fallbacks": ["rednote/dots-ocr"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Kraken alternativesdots.ocr alternativesBest OCR models in 2026