The GLM Coding Plan is Z.ai’s monthly subscription for using GLM models inside coding agents like Claude Code, OpenCode and Cline. It costs $18, $80 or $168 a month, and since November 23, 2026 it includes GLM 5.4, which uses about a third fewer credits per token than GLM 5.3. This guide covers the price, how the limits really work, who should skip the plan, and how to use GLM without it in Atomic Agent, a free, open-source, local-first agent.
GLM Coding Plan price
| Lite | Pro | Max | |
|---|---|---|---|
| Monthly | $18 | $80 | $168 |
| Billed yearly (30% off) | $12.60/month | $56/month | $117.60/month |
| Credits per 5 hours | 2,000 | 12,000 | 28,000 |
| Credits per week | 10,000 | 60,000 | 140,000 |
| Usage vs Lite | 1x | 6x | 14x |
| Models | GLM 5.4, 5.3, 5.3-Flash, plus MCP tools | Same | Same |
| Extras | None | Faster generation, priority access to new models | Dedicated resources at peak times, first access to new models |
Source: Z.ai subscribe page and plan docs, checked November 23, 2026. Quarterly billing takes 20% off.
Some guides still list Pro at $72 and Max at $160. Those are the old prices from before Z.ai relaunched the plan with credits.
What’s included
- Models: GLM 5.4, GLM 5.3 and GLM 5.3-Flash on every plan, each with a 1M-token context window. Z.ai’s plan docs list all three.
- Tools: Z.ai says the plan works in 20+ agent tools, including ZCode (Z.ai’s own coding app), Claude Code, Codex, OpenCode, Cursor, OpenClaw, Cline and Kilo Code.
- Built-in MCP tools: web search, web reader and Zread (for reading open-source repos) cost 1.2 credits per call. Image understanding is billed at GLM 5.3-Flash token rates.
- Team plans: shared seats, permissions and a usage dashboard for companies.
How the credits work
Every plan has two limits running at the same time: one that resets 5 hours after you use credits, and one that resets every 7 days from the day you subscribed. When either runs out, you wait for the reset.
Each model uses credits at its own rate. Z.ai’s formula is: (input tokens × input rate + cached input tokens × cached rate + output tokens × output rate) ÷ 10,000.
| Model | Input | Cached input | Output |
|---|---|---|---|
| GLM 5.4 | 4.6 | 1.1 | 16 |
| GLM 5.3 | 6.9 | 1.7 | 24 |
| GLM 5.3-Flash | 2.3 | 0.56 | 8 |
Credit rates per 10,000 tokens, from Z.ai’s plan docs.
Two things stand out:
- GLM 5.4 is cheaper to run than GLM 5.3. It uses 33% fewer credits on input and output. On the same plan, you get about 50% more GLM 5.4 tokens than GLM 5.3 tokens.
- GLM 5.3-Flash costs half as much as GLM 5.4. Use Flash for routine work and save GLM 5.4 for harder problems, and your credits go further.
Example: an agent step that reads 1 million tokens of mostly cached context and writes 100,000 tokens costs roughly 110 to 460 credits on input (depending on how much is cached) plus 160 credits on output with GLM 5.4. On Lite’s 2,000 credits per 5 hours, that’s a handful of heavy steps or many light ones.
Off-peak hours cost half
Usage outside Monday to Friday, 14:00 to 18:00 (Singapore time, UTC+8) uses half the credits. Peak hours fall at 1 a.m. to 5 a.m. Eastern and 9 a.m. to 1 p.m. Moscow time. If you work US daytime hours, almost all your usage is off-peak.
How many tokens you really get
Z.ai publishes estimates for a week of use at a 95% cache-hit rate. The low number assumes all usage at peak, the high number all off-peak:
| Model | Lite (tokens/week) | Pro | Max |
|---|---|---|---|
| GLM 5.4 | 72M to 146M | 440M to 870M | 1.0B to 2.0B |
| GLM 5.3 | 48M to 97M | 290M to 580M | 676M to 1.35B |
| GLM 5.3-Flash | 146M to 292M | 877M to 1.76B | 2.0B to 4.1B |
Source: Z.ai plan docs. Real numbers depend on how much of your context gets cached.
What happens at the limit
Calls stop until the window resets. The plan doesn’t switch to paid usage, so the monthly cost stays fixed. At busy times, Z.ai’s usage policy says it may lower how many requests you can run at once, but Max always keeps more than Pro, and Pro more than Lite. That’s why Lite can sometimes feel like it handles one request at a time.
How to use the plan in Claude Code
Z.ai’s Claude Code guide has the full steps:
- Create an API key in your plan settings (Personal Coding Plan, then Plan Overview).
- Run
npx @z_ai/coding-helperand follow the prompts, or set the environment variables yourself. - Start
claudein your project and say yes when it asks to use the API key.
By default, Z.ai maps Claude Code’s model slots to GLM-5.3-Flash. To use GLM 5.4, follow Z.ai’s model switching guide, which sets the Claude Code model name to glm-5.4[1m].
Common mistakes: invalid JSON in settings.json, and not opening a new terminal after saving it. Claude Code may still say “Claude” in its interface while GLM runs underneath.
Is the GLM Coding Plan worth it?
It’s a good fit if you:
- code with an agent like Claude Code, OpenCode or Cline most days,
- want a fixed monthly bill instead of watching token costs,
- work US daytime hours, when usage costs half,
- do a lot of routine coding that GLM 5.3-Flash can handle.
Skip it, or start with one month, if you:
- run long agent tasks unattended. Z.ai hasn’t published a GLM 5.4 benchmark table yet, and says the model can get caught in “marathon thinking” loops on hard problems. For GLM 5.2, results collected by DigitalApplied show Z.ai’s own numbers close to Claude Opus 4.8 on short tasks (74.4 vs 75.1 on FrontierSWE), but independent tracking at about half on long, multi-hour ones (13.0 vs 26.0 on SWE-Marathon).
- depend on a setup tuned for Claude. Hooks, subagents and skills built around Claude models can behave differently with GLM underneath.
- can’t send code to a provider based in China. Z.ai is the international brand of Zhipu AI, based in Beijing. Check your company’s rules first.
- code only a few hours a week. Paying per token is likely cheaper.
If you’re unsure, take Lite for one month, run a normal week of work through it, and upgrade only when you hit the limits.
GLM Coding Plan vs Claude Pro
| GLM Coding Plan Lite | Claude Pro | |
|---|---|---|
| Price | $18/month ($12.60 yearly) | $20/month ($17 yearly) |
| Models | GLM 5.4, 5.3, 5.3-Flash | Claude models |
| Works in | 20+ agent tools | Claude Code, Claude apps |
| Limits | Credits per 5 hours and per week | Usage per session, weekly caps |
The plans measure usage differently, so there’s no fair “tokens per dollar” comparison. GLM’s plan is cheaper and works in more tools. Claude Pro includes Claude’s apps and Anthropic’s models, which score higher than GLM on long agent tasks.
The other option: pay per token in Atomic Agent
You don’t need a subscription to use GLM. GLM 5.3 is available per token through OpenRouter ($1.40 per million input tokens and $4.40 per million output tokens at Z.ai’s rate; other providers on OpenRouter start lower) and through AI/ML API as zhipu/glm-5.3. GLM 5.4 isn’t on any API yet.
Atomic Agent connects to both. It’s a free, open-source (MIT) agent with a desktop app for Mac, Windows and Linux and a terminal version. Add your OpenRouter key (setup guide) or AI/ML API key, pick GLM 5.3, and the agent plans the work, runs commands and edits files, asking before risky actions. We tested it today: Atomic Agent 0.8.0 with GLM 5.3 through AI/ML API wrote a Python script, ran it and reported the output in 3 steps.
Why use an agent with pay-per-token GLM instead of the plan:
- You pay only for what you use. Good for a few hours a week, or for trying GLM before you subscribe.
- No 5-hour windows. Work runs as long as your balance allows.
- Mix models in one task. Atomic Agent’s Fusion mode lets one model plan while others run parts of the task in parallel. See all models we’ve tested.
- Local models for sensitive code. If code can’t leave your company, Atomic Agent also runs local models on your own computer, with no API key. A laptop model is slower than GLM 5.4 on hard tasks, but your prompts are processed on your machine.
Download Atomic Agent, or install the terminal version:
curl -fsSL https://atomicagent.io/install | shWhen GLM 5.4 reaches OpenRouter or AI/ML API, pick it in the same menu. For what changed in the new model, read GLM 5.4 vs GLM 5.3. Stuck on setup, or want to compare plans with other users? Ask in our Discord.
Frequently asked questions
The takeaway
The GLM Coding Plan is cheaper than Claude Pro at list price, and GLM 5.4 makes it better value: the same credits now buy about 50% more tokens of the newest model. Start with one month of Lite if you code daily in an agent. If you code less, or want to try GLM first, pay per token in Atomic Agent with OpenRouter or AI/ML API. For other options, see our open-source Claude Code alternatives, and for another low-cost model, our Kimi K3.1 Pro review.
Checked on November 23, 2026, against Z.ai’s subscribe page, plan docs, usage policy, model switching guide and Claude Code guide, Z.ai’s GLM 5.4 launch post, OpenRouter’s model list, AI/ML API’s model list, and Atomic Agent v0.8.0.


