OCRRouter

Kraken vs GOT-OCR 2.0

Pick GOT-OCR 2.0 if you need a model that works on formulas, tables, charts and sheet music for English and Chinese documents. Pick Kraken if your material is historical manuscripts, early prints or right-to-left scripts, and you are willing to train it on your own pages. The main split is purpose: Kraken is a trainable toolkit for the humanities, GOT-OCR 2.0 is a general model with fixed capabilities.

Krakenkraken/krakenGOT-OCR 2.0stepfun/got-ocr-2
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 manuscriptsFormatted text, formulas and charts
Inputsimagesimages
LanguagesMany scripts, incl. right-to-leftChinese, English
Max pages per request500100
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 source is historical manuscripts or early prints, which is what Kraken is built for.
  • You need 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, and want to train layout, reading order and recognition on your own material.

Choose GOT-OCR 2.0 if

  • You need formulas, tables, charts, sheet music or chemical structures read, with LaTeX, TikZ, SMILES or kern output.
  • You want to OCR a specific region of a page by passing box coordinates or color.
  • You work with English and Chinese documents and want multi-page OCR through Hugging Face Transformers with batched inference.

Key differences

KrakenGOT-OCR 2.0
Main purposeHistorical and non-Latin script material, with trainable layout analysis and recognitionUnified model for text, formulas, tables, charts and sheet music
Training neededUsually needs training on your own material for good accuracyNo training step described; runs as a 580M-parameter model
Output formatsALTO, PageXML, hOCR, plain text, bounding boxesPlain text, Markdown, LaTeX, TikZ, SMILES, kern
Platform and hardwareLinux or macOS, x64 or ARM, Python 3.10 to 3.13; no Windows supportCUDA 11.8 and PyTorch 2.0.1 per README; CPU users pointed to a llama.cpp port
LicenceApache-2.0Code Apache-2.0; training data CC BY-NC 4.0
BenchmarksNot publishedNot published; README lists no benchmark scores
Known failureInstall dependency conflict (issue #816); learned line order lost in segmentation and text output (issue #820)Output can loop characters midway (issue #226); wrong text on blank images (issue #235); format mode much worse than plain mode (issue #317)

Sources

What each one is

Kraken

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

Kraken details

GOT-OCR 2.0

Unified OCR model that reads plain text, tables, formulas, sheet music and charts.

GOT-OCR 2.0 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": ["stepfun/got-ocr-2"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Kraken alternativesGOT-OCR 2.0 alternativesBest OCR models in 2026