OCRRouter

Kraken vs Granite Docling

Pick Kraken for historical manuscripts, early prints and right-to-left scripts such as Arabic and Hebrew, where you can train layout and recognition on your own material. Pick Granite Docling for English PDFs with tables, code and equations, especially inside a Docling pipeline. The main split is material: Kraken targets old and non-Latin documents and needs training, while Granite Docling targets modern English documents and runs from a 258M model.

Krakenkraken/krakenGranite Doclingibm/granite-docling
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.5 s / page1.5 s / page
Best forHistorical documents and manuscriptsSmall-model document conversion
InputsimagesPDF, images
LanguagesMany scripts, incl. right-to-leftEnglish, experimental CJK and Arabic
Max pages per request500500
TablesNo✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
On OCRRouterAvailableAvailable

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 need right-to-left, BiDi or top-to-bottom scripts such as Arabic and Hebrew.
  • You want to train layout analysis, reading order and character recognition yourself, and can reuse community models from the public Zenodo repository.

Choose Granite Docling if

  • Your documents are English PDFs with tables, code or equations, where the model card reports table structure TEDS of 0.97 on FinTabNet and equation F1 of 0.968.
  • You already use Docling or want a small 258M model that converts on CPU or a small GPU.
  • You want Markdown, HTML or LaTeX output instead of ALTO or PageXML.

Key differences

KrakenGranite Docling
Target materialHistorical documents and non-Latin scriptsEnglish PDFs with tables, code and equations
Licence and priceApache-2.0, free, self-hosted (you pay for compute)Apache-2.0, free, self-hosted (you pay for compute)
How you run itPython library installed with pip on Linux or macOS, Python 3.10 to 3.13Self-hosted VLM, typically inside the Docling library
Output formatsALTO, PageXML, abbyyXML, hOCR, plain text, bounding boxesDocTags, Markdown, HTML, LaTeX, bounding boxes
BenchmarksNot publishedAuthors report table TEDS 0.97 (FinTabNet), full-page OCR F1 0.84, OCRBench 500
LanguagesRight-to-left, BiDi and top-to-bottom scripts supportedEnglish primary; Japanese, Arabic and Chinese marked experimental
Known failureNo Windows support; install dependency conflict in issue #816; learned line order lost in output (issue #820); usually needs training for good accuracyRepetitive loops on page headings and invoices; may output only exclamation marks on GPUs without bfloat16 such as T4 unless run in float32

Sources

What each one is

Kraken

OCR engine for historical documents and manuscripts, with trainable models for unusual scripts.

Kraken details

Granite Docling

Compact IBM vision model that converts pages to DocTags for the Docling pipeline.

Granite Docling details

Try 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": "kraken/kraken","fallbacks": ["ibm/granite-docling"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Kraken alternativesGranite Docling alternativesBest OCR models in 2026