GLM-OCR vs Chunkr
Pick GLM-OCR for high-volume PDF to Markdown, academic papers with formulas and schema-based field extraction, where a $0.03 per million token API and an MIT licence keep cost and legal risk low. Pick Chunkr for RAG chunking of PDFs, slides and Word files, or when you want self-hosted layout parsing with bounding boxes. Avoid GLM-OCR for financial tables where every row and decimal must survive.
GLM-OCRzai/glm-ocr | Chunkrchunkr/chunkr | |
|---|---|---|
| Type | Open source | OCR API |
| Price | 6 credits / page | 14 credits / page |
| Per 1,000 pages | $6.00 | $14.00 |
| Typical speed | 1.3 s / page | 3.0 s / page |
| Best for | Low-cost general documents | Layout-aware chunks for RAG |
| Inputs | PDF, images | PDF, images, DOCX |
| Languages | 100+ languages | Multilingual |
| Max pages per request | 500 | 1,000 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | No | No |
| Math | ✓ Yes | ✓ Yes |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | 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 GLM-OCR if
- Its Z.ai API costs $0.03 per million tokens for input and output, and self-hosting is free apart from compute.
- Its model card reports 94.62 on OmniDocBench v1.5, and the authors measured 1.86 PDF pages per second on a single replica.
- It can extract fields into a user-defined JSON schema, which suits forms.
Choose Chunkr if
- It accepts PDF, PPT, Word and images, and returns HTML, Markdown, JSON and OCR with bounding boxes.
- It is built around layout analysis and semantic chunking, which fits RAG pipelines over PDFs and slides.
- It self-hosts through Docker with GPU, CPU-only and Mac ARM options, and works with any OpenAI-compatible LLM endpoint.
Key differences
| GLM-OCR | Chunkr | |
|---|---|---|
| Licence | MIT for the model weights; the SDK repo and bundled PP-DocLayoutV3 are Apache-2.0 | AGPL-3.0, or a commercial licence; closed-source products need the commercial licence |
| How you run it | Z.ai API, or self-host with vLLM, SGLang, Ollama or transformers; no aarch64 Linux support | Cloud API, or self-host with Docker (GPU, CPU-only, Mac ARM); self-host needs an external LLM endpoint |
| Price | API: $0.03 per million tokens for input and output. Self-hosted: free plus compute | Hosted credit-based plans, official prices not verified. Open-source version is free plus compute and an LLM endpoint |
| Output formats | Markdown, JSON, plain text, plus schema-based field extraction | HTML, Markdown, JSON and bounding boxes |
| Input limits and formats | API caps input at 100 pages, 50 MB per PDF and 10 MB per image | PDF, PPT, Word and images; Excel is not supported in the open-source version |
| Benchmarks | OmniDocBench v1.5: 94.62 (authors). olmOCR-Bench: 75.2 (authors). ParseBench mean: 29.6 (independent) | Not published |
| Known failure modes | Repeats output unless a stop sequence is set; drops table footer and summary rows; loses comma decimal separators in cropped tables | The open-source version uses community models that are less accurate than the cloud's in-house models |
Sources
- Hugging Face model card
- Z.ai GLM-OCR docs and pricing
- GLM-OCR GitHub
- Issue #240 missing table rows
- Chunkr GitHub README
- Chunkr site
What each one is
Chunkr
Document parsing API that segments and chunks pages for RAG. Self-hostable version available.
Chunkr detailsTry 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": "zai/glm-ocr","fallbacks": ["chunkr/chunkr"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
GLM-OCR vs ABBYY FineReaderGLM-OCR vs UnstructuredUnlimited OCR vs ChunkrPaddleOCR-VL vs ChunkrGLM-OCR vs InternVL3.5Claude vs GLM-OCRGLM-OCR vs Nanonets-OCROCR.space vs Chunkr
GLM-OCR alternativesChunkr alternativesBest OCR models in 2026