← Blog
ANNOUNCEMENT

GLM-5.2 is live in Command Code

GLM-5.2 is now live on Command Code! A frontier open-source reasoning model built for long-horizon tasks.

Team Command Code
2 min read
Jun 16, 2026

GLM-5.2 is now live on Command Code! A frontier open-source reasoning model built for long-horizon tasks. 1M context. Strong reasoning. Open source.

Available in the $1 Go plan with $10 usage credits and above!!

1npm i -g command-code@latest

GLM-5.2 at a glance

Powerful coding with 1M context and long-horizon tasks.

SpecGLM-5.2
Model IDzai-org/glm-5.2
Context window1M tokens
ReleasedJune 16, 2026
Intelligence Index33.7
Coding Index68.8
Input$1.40 per 1M tokens
Output$4.40 per 1M tokens
Cache read$0.26 per 1M tokens
Effective input in an agent loop$0.60 per 1M tokens
PlansGo and above

Specs, pricing and plans are from the GLM-5.2 model page as of September 28, 2026, including any deal running that day, so they can differ from the launch pricing above. Intelligence and Coding Index scores are from Artificial Analysis.

Use GLM-5.2

1cmd --model zai-org/glm-5.2

Or type /model in a session and pick it. You can switch mid-session without losing context.

What real work costs on GLM-5.2

TaskTokens (in · out)Cost
Quick lookup / one-liner8K · 1K$0.0074
Review a 500-line PR60K · 4K$0.05
Fix a bug (agent loop)180K · 12K$0.15
Refactor a module320K · 20K$0.27
Full-repo agent run900K · 45K$0.66

Try Command Code

The best coding agent for open models, in your terminal or on your desktop.

1npm i -g command-code

Desktop App · Docs · X · Discord

Share this article