GLM Ocr

glm-ocr · Z.AI

GLM-OCR is a lightweight professional OCR model with only 0.9B parameters, yet multiple capabilities have reached SOTA levels, establishing a new benchmark for document parsing with a "small size, high precision" approach.

API Pricing

Input$0.028 / 1M tokens
Output$0.028 / 1M tokens

Specifications

Context32K tokens
Modalitiesimage

Frequently asked questions

What is GLM Ocr?

GLM-OCR is a lightweight professional OCR model with only 0.9B parameters, yet multiple capabilities have reached SOTA levels, establishing a new benchmark for document parsing with a "small size, high precision" approach.

What is the context length of GLM Ocr?

GLM Ocr has a 32,000 token context window.

How much does GLM Ocr cost?

On AIHubMix, GLM Ocr costs $0.028 per million input tokens and $0.028 per million output tokens.

What modalities does GLM Ocr support?

GLM Ocr accepts image input.

How do I call GLM Ocr via API?

GLM Ocr is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to glm-ocr — no other code changes needed.

Who created GLM Ocr?

GLM Ocr is developed by Z.AI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Z.AI

See all Z.AI models →

GLM 5.3

by Z.AI

GLM-5.3 is Z.AI’s coding and agentic reasoning model, built for complex software…

$1.127 $1.014/1M in · $3.944 $3.549/1M out
10% off · 00:00–23:59 UTC
1,000,000 tokens context

Coding GLM 5.3

by Z.AI

GLM-5.3 is Z.ai’s reasoning model for coding and agentic workflows, designed for complex…

$0.06/1M in · $0.22/1M out

GLM 5.2

by Z.AI

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable…

$1.127/1M in · $3.944/1M out
1,000,000 tokens context

GLM 5.2 Fast Preview

by Z.AI

GLM-5.2-Fast-Preview is the high-speed version of Zhipu AI’s flagship model GLM-5.2…

$2.254/1M in · $7.889/1M out
1,000,000 tokens context

Coding GLM 5.2 (free)

by Z.AI

coding glm 5.2 free (coding-glm-5.2-free) is a free coding-focused API route offered by…

Coding GLM 5.2

by Z.AI

Currently, the special resources for this model are limited, but due to its popularity…

$0.06/1M in · $0.22/1M out

Use GLM Ocr via the AIHubMix unified API — one interface for every major LLM.