Z AI logo

GLM-5.2 Fast

zai-org/glm-5.2-fast

high-throughput GLM-5.2 with 1M context.

cmd --model zai-org/glm-5.2-fast
Intelligence index
not yet scored
Output speed
not yet scored
Input
$3 /M
Output
$10.25 /M
Cache read
$0.50 /M
Agent-loop cost
$1.25 /M in
Context window
1M tokens
Released
Modalities

vs. the lineup

GLM-5.2 Fast beside its stablemates and nearest rivals. The ◆ marks the best value in each column across every row shown.

pin a rival:
ModelIntelligenceCodingSpeedInput $/MOutput $/MBlended $/MContext
Muse Spark 1.256.872.2$1.25$4.25$21.05M
GLM-5.252.668.8124.7$1.40$4.40$2.151M
GLM-5.14155.8$1.40$4.40$2.15200K
GLM-540.6$1$3.20$1.55200K
GLM-5.2 Fast$3$10.25$4.811M
GLM-5.3$1.40$4.40$2.151M
DeepSeek V4 Pro (latest)pinned45.359.463.3$0.66$1.98$0.991M
DeepSeek V4 Flash (latest)pinned5269.1115.9$0.22$0.66$0.331M

usage calculator

How far a month of credits goes on GLM-5.2 Fast.

Input tokensfresh prompt
800
Output tokensmodel reply
180
Cache read tokensre-read context
50K
cost / request $0.029 · in $3 · out $10.25 · cache $0.50 per M
fresh input 8%output 6%cache reads 85%
Requests / 30 days
342
$10 credits ÷ $0.029 per request
~68 quick fixes~14 bug fixes~2 feature PRs

what real work costs

Real coding tasks priced end to end on GLM-5.2 Fast, from a quick lookup to a full-repo agent run.

One agent task
$0.33
180K in at 75% cache hit, 12K out
What you pay
$1.70 /M
all-in across every token that task touched
Sticker input
$3 /M
cache reads bill at $0.50 /M instead
TaskTokens in · outGLM-5.2 FastMuse Spark 1.2Claude Haiku 4.5
Quick lookup / one-liner8K · 1K$0.02$0.0063$0.0065
Review a 500-line PR60K · 4K$0.12$0.05$0.04
Fix a bug (agent loop)180K · 12K$0.33$0.13$0.12
Refactor a module320K · 20K$0.59$0.23$0.21
Full-repo agent run900K · 45K$1.41$0.54$0.49

frequently asked

What is GLM-5.2 Fast best for?
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation. Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.
How much does GLM-5.2 Fast cost?
$3/M input and $10.25/M output, cache reads $0.50/M. In an agent loop most input is cache-read, so the effective input rate is about $1.25/M.
Which plan do I need?
Available on Go and above.
How do I switch to it?
Run cmd --model zai-org/glm-5.2-fast, or type /model in a session and pick it. You can switch mid-session without losing context.

Ship code that matches your taste

Command Code is the AI coding agent that continuously learns your taste. Start for $1.

Benchmarks from Artificial Analysis (v4.1)commandcode.ai/models/glm-5-2-fast