GLM-OCR API
Small open-source OCR model from Z.ai with layout regions. MIT licensed.
- Model ID
- zai/glm-ocr
- Type
- Open source
- Price
- 2 credits / page ($2.00 per 1,000 pages)
- Typical speed
- 1.3 s / page
- Inputs
- PDF, images
- Languages
- 100+ languages
- Max pages per request
- 500
- Output
- Markdown, JSON with positions
- License
- MIT
- Supports
- TablesMathBounding boxesConfidenceMultilingual
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zai/glm-ocr",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Try GLM-OCR
Result
Your Markdown or JSON shows up here.
GLM-OCR speed and reliability
Loading…
Measured on our own traffic over the last 7 days.
GLM-OCR pricing
GLM-OCR costs 2 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $2.00. You only pay for pages that return a result.
New accounts get 200 free credits, enough for about 100 pages with this model. See pricing for credit packs.
Similar models
1PaddleOCR-VLOpen-source document model from Baidu. Excellent on Chinese, Japanese and Korean.
paddle/paddleocr-vl2 credits / page2Unlimited OCROpen-source model from Baidu that reads hundreds of pages in one pass with flat memory use.baidu/unlimited-ocr2 credits / page3MinerUOpen-source PDF to Markdown pipeline popular for academic and Chinese documents.opendatalab/mineru2 credits / pageCompare GLM-OCR
GLM-OCR vs PaddleOCR-VLGLM-OCR vs Unlimited OCRGLM-OCR vs MinerUGLM-OCR vs ChandraGLM-OCR vs dots.ocrGLM-OCR vs Qianfan OCR