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-ocr | Krakenkraken/kraken | |
|---|---|---|
| Type | Open source | Open source |
| Price | 2 credits / page | 1 credit / page |
| Per 1,000 pages | $2.00 | $1.00 |
| Typical speed | 1.3 s / page | 1.5 s / page |
| Best for | Low-cost general documents | Historical documents and manuscripts |
| Inputs | PDF, images | images |
| Languages | 100+ languages | Many scripts, incl. right-to-left |
| Max pages per request | 500 | 500 |
| Tables | ✓ Yes | No |
| Handwriting | No | ✓ Yes |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | No |
| Forms | No | No |
| Multilingual | ✓ Yes | ✓ Yes |
| On OCRRouter | Available | Coming soon |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
What each one is
Kraken
OCR engine for historical documents and manuscripts, with trainable models for unusual scripts.
Kraken detailsUse one, fall back to the other
Request body
{
"model": "zai/glm-ocr",
"fallbacks": ["kraken/kraken"],
"file_url": "https://example.com/document.pdf"
}