GLM (Z.ai) API pricing
Every GLM (Z.ai) model we track, per 1M tokens, from the official pricing page.
GLM (Z.ai) API prices run from $0.15 in and $0.50 out per 1M tokens (GLM-5.3 Flash) up to $1.40 in and $4.40 out (GLM-5.1). Its cheapest model is number 11 of 77 on our full list. Checked Oct 29, 2026 against the official pricing page.
Z.ai's GLM models: 8 are priced here, from $0.15 in and $0.50 out per 1M tokens (GLM-5.3 Flash) to $1.40 in and $4.40 out (GLM-5.3). Each model name below opens its own page with workload costs, LMArena ranks and cheaper alternatives.
| Model | Input | Cached | Output | Context |
|---|---|---|---|---|
| GLM-5.3 Flashglm-5.3-flash | $0.15 | $0.03 | $0.50 | n/a |
| GLM-5.3 FlashXglm-5.3-flashx | $0.37 | $0.075 | $1.25 | n/a |
| GLM-4.7glm-4.7 | $0.60 | $0.11 | $2.20 | n/a |
| GLM-4.6glm-4.6 | $0.60 | $0.11 | $2.20 | n/a |
| GLM-5glm-5 | $1 | $0.20 | $3.20 | n/a |
| GLM-5.3glm-5.3 | $1.40 | $0.26 | $4.40 | n/a |
| GLM-5.2glm-5.2 | $1.40 | $0.26 | $4.40 | n/a |
| GLM-5.1glm-5.1 | $1.40 | $0.26 | $4.40 | n/a |
Which GLM (Z.ai) model should you pick?
- Cheapest: GLM-5.3 Flash at $0.15 in and $0.50 out, number 11 of 77 on our full price list.
- Best on LMArena: GLM-5.3, #20 of 50 priced models on Code Arena, at $1.40 in and $4.40 out.
- Flagship: GLM-5.3 at $1.40 in and $4.40 out.
How it compares
Cheapest models from other providers, blended per 1M tokens: Qwen3.7 Flash (Qwen) $0.06 · Step 3.5 Flash (StepFun) $0.15 · Qwen3.5 Flash (Qwen) $0.17. See the full API price table, the best model for each task or the plan vs API calculator.
Looking for the lowest price per token? See the cheapest LLM API ranking.
Head-to-head comparisons
FAQ
How much does the GLM (Z.ai) API cost?
From $0.15 input and $0.50 output per 1M tokens for GLM-5.3 Flash, up to $1.40 and $4.40 for GLM-5.1.
What is the cheapest GLM (Z.ai) model?
GLM-5.3 Flash, with a blended price of $0.2375 per 1M tokens (3 parts input to 1 part output).
Is a subscription cheaper than the GLM (Z.ai) API?
It depends on how much you use it. Try our plan vs API calculator with your own usage.
Which GLM (Z.ai) model is the best?
By LMArena rank among the models we price, GLM-5.3 ranks highest at #20 on Code Arena.
Does the GLM (Z.ai) API have cheaper cached input?
Yes, for 8 of 8 models: cached input is listed at $0.03 to $0.26 per 1M tokens.
How does GLM (Z.ai) compare with other models?
We have head-to-head pages for Kimi K3.1 Pro vs GLM-5.3, GLM-5.3 vs Claude Sonnet 5.5, GLM-5.3 vs DeepSeek V4 Pro and 2 more.
Other providers: OpenAI · Anthropic · Google · Meta · DeepSeek · Qwen · Mistral · xAI · Kimi · MiniMax · ByteDance Seed · Tencent Hunyuan · Baidu ERNIE · StepFun · Xiaomi MiMo