Z.ai mascot selling plan cards at a ticket booth next to the Atomic Agent mascot paying one coin at a pay-per-ride turnstile
Models

GLM Coding Plan: Price, Limits, and Is It Worth It (GLM 5.4 Update)

Published
Reading time
10 min read
Tag

The GLM Coding Plan costs $18, $80 or $168 a month. Credits, 5-hour and weekly limits, GLM 5.4, who should skip it, and how to pay per token instead.

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

LiteProMax
Monthly$18$80$168
Billed yearly (30% off)$12.60/month$56/month$117.60/month
Credits per 5 hours2,00012,00028,000
Credits per week10,00060,000140,000
Usage vs Lite1x6x14x
ModelsGLM 5.4, 5.3, 5.3-Flash, plus MCP toolsSameSame
ExtrasNoneFaster generation, priority access to new modelsDedicated 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.

ModelInputCached inputOutput
GLM 5.44.61.116
GLM 5.36.91.724
GLM 5.3-Flash2.30.568

Credit rates per 10,000 tokens, from Z.ai’s plan docs.

Two things stand out:

  1. 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.
  2. 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:

ModelLite (tokens/week)ProMax
GLM 5.472M to 146M440M to 870M1.0B to 2.0B
GLM 5.348M to 97M290M to 580M676M to 1.35B
GLM 5.3-Flash146M to 292M877M to 1.76B2.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:

  1. Create an API key in your plan settings (Personal Coding Plan, then Plan Overview).
  2. Run npx @z_ai/coding-helper and follow the prompts, or set the environment variables yourself.
  3. Start claude in 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 LiteClaude Pro
Price$18/month ($12.60 yearly)$20/month ($17 yearly)
ModelsGLM 5.4, 5.3, 5.3-FlashClaude models
Works in20+ agent toolsClaude Code, Claude apps
LimitsCredits per 5 hours and per weekUsage 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:

Terminal window
curl -fsSL https://atomicagent.io/install | sh

When 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

FAQ

The GLM Coding Plan, answered.

  • How much is the GLM Coding Plan?

    Lite is $18 a month, Pro $80 and Max $168. Quarterly billing takes 20% off and yearly billing 30% off, which brings the monthly cost to $12.60, $56 and $117.60. Prices are from Z.ai's subscribe page, checked November 23, 2026.

  • Does the GLM Coding Plan include GLM 5.4?

    Yes. Z.ai's plan docs say all plans support GLM-5.4, GLM-5.3 and GLM-5.3-Flash. GLM 5.4 also uses about a third fewer credits per token than GLM 5.3, so the same plan buys more GLM 5.4 tokens.

  • How do GLM Coding Plan credits work?

    Every plan has a 5-hour limit and a weekly limit: Lite 2,000 and 10,000 credits, Pro 12,000 and 60,000, Max 28,000 and 140,000. Each model uses credits per token at its own rate, and usage outside weekday peak hours (14:00 to 18:00, UTC+8) costs half.

  • Can I use the GLM Coding Plan in Claude Code?

    Yes. Z.ai's docs walk through it: create an API key in your plan settings and point Claude Code at Z.ai's endpoint, either with the npx @z_ai/coding-helper tool or by editing environment variables. The plan also works in ZCode, OpenCode, Cline, Codex, Cursor, OpenClaw and other tools.

  • Is the GLM Coding Plan worth it?

    It's worth it if you code with an agent most days and want a fixed monthly bill. It's a weaker fit if you run long agent tasks unattended, rely on a tool tuned for Claude, or can't send code to a provider based in China. For light or occasional use, paying per token is usually cheaper.

  • Can I use GLM without a subscription?

    Yes. Run GLM 5.3 per token in Atomic Agent, a free, open-source agent for Mac, Windows and Linux, with an OpenRouter or AI/ML API key. You pay only for what you use, with no 5-hour or weekly limits.

  • Is there a free GLM Coding Plan?

    No. The plan is paid, starting at $18 a month. You can try GLM models without it by paying per token through OpenRouter or AI/ML API, and GLM-5.3-Flash has open weights under the MIT license.

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.


Get new posts
by email

One email when we post something new.

Share
Written by
Nadya Dudka Product, Atomic Agent
Andrew Dyuzhov SEO and growth

Run your local agent
in one click