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@latestGLM-5.2 at a glance
Powerful coding with 1M context and long-horizon tasks.
| Spec | GLM-5.2 |
|---|---|
| Model ID | zai-org/glm-5.2 |
| Context window | 1M tokens |
| Released | June 16, 2026 |
| Intelligence Index | 33.7 |
| Coding Index | 68.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 |
| Plans | Go 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.2Or type /model in a session and pick it. You can switch mid-session without losing context.
What real work costs on GLM-5.2
| Task | Tokens (in · out) | Cost |
|---|---|---|
| Quick lookup / one-liner | 8K · 1K | $0.0074 |
| Review a 500-line PR | 60K · 4K | $0.05 |
| Fix a bug (agent loop) | 180K · 12K | $0.15 |
| Refactor a module | 320K · 20K | $0.27 |
| Full-repo agent run | 900K · 45K | $0.66 |
Try Command Code
The best coding agent for open models, in your terminal or on your desktop.
1npm i -g command-codeDesktop App · Docs · X · Discord
