OCRRouterGet API key

GLM-OCR vs Kraken

Kraken is cheaper per page; GLM-OCR is faster; only GLM-OCR supports tables, math, confidence; only Kraken supports handwriting.

GLM-OCRzai/glm-ocrKrakenkraken/kraken
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.3 s / page1.5 s / page
Best forLow-cost general documentsHistorical documents and manuscripts
InputsPDF, imagesimages
Languages100+ languagesMany scripts, incl. right-to-left
Max pages per request500500
Tables✓ YesNo
HandwritingNo✓ Yes
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

GLM-OCR

Small open-source OCR model from Z.ai with layout regions. MIT licensed.

GLM-OCR details

Kraken

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

Kraken details

Use one, fall back to the other

Request body
{
  "model": "zai/glm-ocr",
  "fallbacks": ["kraken/kraken"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

GLM-OCR alternativesKraken alternatives