AI Coding · Comparison · Updated
GLM Coding Plan vs Claude Code: Prices, Limits and Benchmarks Compared (2026)
By KGen Research · Published · 12 min read · Some links are affiliate links; we may earn a commission at no extra cost to you. Disclosure
Short answer
The GLM Coding Plan starts at $18 a month and Claude Pro at $20, so entry price hardly separates them. The models do. On the independent Terminal-Bench 4.0, GLM-5.3 resolved 41.8% of tasks against 57.9% for Claude Fable 5.1 and 53.9% for Opus 5. Z.ai publishes its quota in numbers and allows no refunds. Anthropic publishes no numbers and offers a training opt-out.

Picture a Wednesday afternoon. You’re halfway through a refactor in Claude Code and the message appears: limit reached, resets in three hours. You search for a way around it and find the same advice in thread after thread. Change two settings, pay Z.ai $18 a month, and keep working in the tool you already know.
That advice is half right. The switch really is two settings. What the threads skip is everything that changes with them: the model writing your code, the company holding it, the rules on refunds and training, and how the limit you just hit is measured on the other side. Some of those changes favor Z.ai. Some don’t.
One developer on Hacker News said in June 2026 that they cancelled Claude Code, moved to the Z.ai plan and didn’t regret it. They said they aren’t a power user, and they use the plan in OpenCode rather than Claude Code. Another, in September, said they kept running into its limits and now pays per token instead. Both are describing the same product. This guide is about which of them you’ll be.
How we researched this
This is a research guide, not a benchmark of our own. We didn’t run either plan. Prices and rules come from z.ai/subscribe, docs.z.ai, claude.com/pricing and Anthropic’s support articles, checked on October 1, 2026. Benchmark results are other people’s, and we say who ran each one. User reports are public Hacker News and GitHub posts, linked in the sources.
We earn a commission if you subscribe to Z.ai through our links and nothing from Anthropic. Weigh our verdict with that in mind. Where the evidence favors Claude, we say so.
GLM Coding Plan vs Claude Code at a glance
| GLM Coding Plan (Z.ai) | Claude plans with Claude Code | |
|---|---|---|
| Entry price | Lite, $18/month ($12.60 billed yearly) | Pro, $20/month ($17 billed yearly) |
| Middle tier | Pro, $80 | Max 5x, $100 |
| Top tier | Max, $168 | Max 20x, $200 |
| Quota | Published in credits: 10,000 to 140,000 a week | No numbers published; 5-hour and weekly limits |
| Models | GLM-5.3 and GLM-5.3-Flash | Opus, Sonnet and Haiku on Pro (Fable only via usage credits); Fable up to half the weekly limit on Max |
| Terminal-Bench 4.0 | GLM-5.3: 41.8% | Fable 5.1: 57.9%; Opus 5: 53.9% |
| At the limit | Wait for the reset | Wait, upgrade, or pay API rates for extra usage |
| Training on your content | Allowed for individual users under the Terms; no opt-out found | Opt-out on Free, Pro and Max |
| What the allowance covers | Coding in 16 supported tools only | Claude Code and the Claude apps, from one shared pool |
| Seller | A Singapore company; Z.ai is the brand of Beijing-based Zhipu AI | Anthropic, a US company |
What are you actually comparing?
Two ways of paying for the model behind the same tool. Claude Code is Anthropic’s coding agent. The GLM Coding Plan isn’t a rival agent. It is a subscription to Z.ai’s models that plugs into agents other people built, and Claude Code is one of 16 it supports. So the choice is between Claude Code running Claude models on Anthropic’s plan and Claude Code running GLM models on Z.ai’s.
The switch is small. Z.ai’s documentation has you set two values in Claude Code’s settings file: the base URL, pointed at api.z.ai/api/anthropic, and your Z.ai key as the auth token. Three more values decide which GLM model answers when Claude Code asks for Haiku, Sonnet or Opus.
Check which model you’re running
Z.ai’s setup page gives two different mappings. One passage says the default sends all three slots to GLM-5.3-Flash. The manual example on the same page sends Sonnet and Opus to GLM-5.3. If you skip that step you may be judging the plan on the smaller model.
Lite is $18 for a month and runs in the Claude Code you already have. There are no refunds, so buy one month, not a year. Affiliate link: we earn a commission if you subscribe.
Try GLM-5.3 in Claude Code for a monthHow do the prices compare, tier by tier?
Z.ai is cheaper at every tier, by $2 at the bottom and by $20 to $32 higher up. Yearly billing widens it: Z.ai takes 30% off, so Lite falls to $12.60 a month. Claude Pro’s yearly rate is $17, and its Max plans are sold monthly only.

| Tier | GLM Coding Plan | Claude | Difference per month |
|---|---|---|---|
| Entry | Lite $18 | Pro $20 | $2 |
| Middle | Pro $80 | Max 5x $100 | $20 |
| Top | Max $168 | Max 20x $200 | $32 |
| Entry, billed yearly | $12.60 | $17 | $4.40 |
Two caveats on that table. Z.ai’s Pro and Max rose from $72 and $160 earlier in 2026, and its terms say renewals are charged at the price in force on the day. And the tiers aren’t equivalent products. A Claude plan also covers the Claude apps on web, desktop and phone. Z.ai’s covers coding tools and nothing else. If you already pay for Claude to write and research, the GLM plan is an extra bill, not a replacement.
Does the GLM Coding Plan or Claude give you more usage?
Nobody outside the two companies can say with numbers, because only one of them publishes numbers. Z.ai states its quota: 2,000 credits per five hours and 10,000 a week on Lite, rising to 28,000 and 140,000 on Max. By its own estimate Lite covers 48 to 97 million GLM-5.3 tokens a week when most input is cached.
Anthropic publishes the structure and no figures. Limits reset on a rolling five-hour window with weekly limits on top. Max gives 5 or 20 times Pro’s usage per session. Its support article on Claude Code gives no message or token counts, and the pricing page says limits may also be applied at Anthropic’s discretion.
The user reports don’t settle it. A Hacker News commenter called the plan a fairly decent deal at about $16 a month, since it’s supposed to give more usage than the $20 Claude plan, but found Z.ai slower. Another, on Pro in early July, before the switch to credits, burned 60% of a week’s quota in one day of parallel work and concluded that Z.ai’s bigger plan would last a week, but so would Anthropic’s at the same price. A published number is easier to plan around than an unpublished one, and that’s a real point in Z.ai’s favor. It doesn’t tell you how much work each credit gets done, which depends on the model.
Does GLM-5.3 or Claude write better code?
Claude’s current top models, by a clear margin, on the one independent leaderboard that tested both in the same harness. Terminal-Bench 4.0 is run by its maintainers, not by either company. As of October 1, 2026 it showed Claude Fable 5.1 resolving 57.9% of tasks and Claude Opus 5 resolving 53.9%, both in Claude Code. GLM-5.3, also run in the Claude Code harness, resolved 41.8%.

The same leaderboard has two results that favor GLM. It beat Claude Opus 4.8, at 23.6%, and Claude Sonnet 5, at 12.4%. So GLM-5.3 sits between Anthropic’s older flagship and its current one. The listed cost of the benchmark run was also lower: about $2,700 for GLM-5.3 against about $6,100 for Opus 5. The leaderboard had no entry for Opus 5.5 or Sonnet 5.5 when we read it.
Which Claude model you get depends on the plan. Anthropic’s pricing page shows Opus on Pro and Max. Fable is included on Max up to half the weekly limit, and on Pro only through extra usage credits. So a $20 Pro subscriber is comparing GLM-5.3 with Opus, not with Fable.
| Z.ai Code Bench (run by Z.ai) | Score |
|---|---|
| Claude Fable 5, max effort | 39.5% |
| GLM-5.3, max effort | 34.5% |
| GLM-5.3, high effort | 31.4% |
| Claude Opus 4.8 | 29.5% |
Z.ai’s own numbers tell the same story, and to its credit the company says so: GLM-5.3 remains behind Fable 5 on its in-house benchmark. One user’s impression from July 2026, of the older GLM-5.2, points the same way: at maximum thinking they placed it between Sonnet 5 and Opus 4.8. On speed, Artificial Analysis measured GLM-5.3 at about 68 tokens a second, and a Lite subscriber on Hacker News described Z.ai’s throughput as slow, dipping below 60 tokens a second.
What happens when you hit the limit?
On Z.ai you wait. Its FAQ says the plan doesn’t charge your balance for extra usage and a plan key can’t make calls outside the plan. The five-hour allowance refills five hours after use, and the weekly one resets every seven days. On Claude you can wait, upgrade, or turn on usage credits billed at API rates.
Each design protects you from something different. Z.ai’s hard stop means the bill can never exceed the plan price. Anthropic’s overage option means a deadline never has to wait for a reset, at a cost: its documentation puts the average across enterprise deployments at about $13 per developer per active day for API-billed Claude Code. If a surprise invoice worries you more than a blocked afternoon, Z.ai’s design suits you.
Timing matters on Z.ai in a way it doesn’t on Claude. Usage outside Monday to Friday, 14:00 to 18:00 Singapore time costs half the credits. That window is the middle of the night in the United States and the morning in Europe. The GLM Coding Plan pricing guide has the conversion for five cities.
Who can see and use your code?
This is where the two differ most, and where the forum threads say least. Anthropic’s pricing page lists model training as opt-out on Free, Pro and Max, and off by default on Team. Z.ai’s Terms of Use say it may use individual users’ content to improve its services and exclude enterprise and API customers unless they agree; its team-plan docs exclude Team content by default. We found no opt-out described for individual Coding Plan subscribers.
Z.ai’s plan is sold by a Singapore company and its policy says data is generally processed in Singapore. The parent, Zhipu AI, is based in Beijing, and the US Commerce Department added Zhipu and nine related companies to its Entity List in January 2025. That rule restricts US exports to those companies. It says nothing about buying a subscription. If your work involves export-controlled or regulated code, that’s a question for a lawyer before you route it through any foreign-hosted model.
One incident is worth knowing about without overstating it. In September 2026, Silicon UK reported that Z.ai’s own ZCode app had uploaded workspace snapshots by default. Z.ai apologised and removed the feature. The report was about ZCode, not about the plan used through Claude Code.
What do people who switched say?
Public posts don’t split neatly. The developer who cancelled Claude Code in June 2026 said they aren’t a power user, and they run the plan in OpenCode. A Pro subscriber said they reached the weekly limit “somewhat fast” in June. A September commenter who codes only now and then said they kept hitting the limits and now pays per token for GLM-5.3-Flash instead. The common thread is the cap, not the model.
Reliability complaints cluster in mid-2026, when paying subscribers logged days of rate-limit errors on GitHub. Those predate GLM-5.3. The posts we found from after its release are about quota, not errors, but we couldn’t read Reddit, where many of these conversations happen. Treat the service level as unproven and buy a month at a time.
Which should you pay for?
- Stay on Claude if the hardest problems are why you pay. Fable 5.1 and Opus lead GLM-5.3 by 12 to 16 points on the independent benchmark, and you keep a training opt-out.
- Switch to the GLM plan if you mostly need volume on routine work, you want a quota stated in numbers and a bill that can’t overshoot, and your code isn’t sensitive.
- Run both if you keep hitting Claude Pro’s limit but $100 for Max is too much. Pro at $20 plus Lite at $18 is $38. Use GLM for bulk edits and tests, and save Claude for the parts that need its judgment.
- Choose neither plan if your usage is occasional. Both companies sell the same models per token with no weekly cap.
Our own reading: if you keep hitting Claude Pro’s limit and your code isn’t sensitive, the third option is the one we’d try first. It costs $38, it gives you somewhere to keep working when you hit the Wednesday-afternoon wall, and it lets you compare the two models on your own code instead of someone else’s benchmark. If GLM handles your routine work, you’ll know within a week. If you rarely hit Claude’s limit, there’s nothing here to fix.
Add Lite next to the Claude plan you already have and give it your routine tasks for a week. Monthly billing, no refund, cancel at least three days before renewal. Affiliate link.
Add GLM Lite as your overflow planFor Claude’s side, plans and current limits are on Anthropic’s pricing page. We earn nothing from that link.
Frequently asked questions
Is the GLM Coding Plan cheaper than Claude Code?
At entry level, barely: GLM Lite is $18 a month and Claude Pro is $20. The gap widens higher up, with GLM Pro at $80 against Claude Max 5x at $100, and GLM Max at $168 against Claude Max 20x at $200. GLM also discounts yearly billing by 30%. Claude’s Max plans are billed monthly only.
Can you use GLM models inside Claude Code?
Yes. Z.ai’s documentation lists Claude Code as a supported tool. You set ANTHROPIC_BASE_URL to https://api.z.ai/api/anthropic and ANTHROPIC_AUTH_TOKEN to your Z.ai key in Claude Code’s settings file, and map the model slots to GLM-5.3 or GLM-5.3-Flash. The interface stays the same; the model answering changes.
Is GLM-5.3 as good as Claude for coding?
Not on the independent Terminal-Bench 4.0 leaderboard as of October 1, 2026. GLM-5.3 resolved 41.8% of tasks, against 57.9% for Claude Fable 5.1 and 53.9% for Claude Opus 5. It scored well above Claude Opus 4.8 at 23.6% and Sonnet 5 at 12.4%, so it beats older and smaller Claude models.
Does Z.ai train on your code?
Z.ai’s Terms of Use allow it to use individual users’ content to improve its services, and we found no opt-out described for individual Coding Plan subscribers. Team plan content is excluded from training by default. Anthropic’s pricing page lists model training as opt-out on its Free, Pro and Max plans.
Can you use both plans at the same time?
Yes. They’re separate subscriptions from separate companies. Claude Code talks to whichever service its settings point at, so you switch by changing those settings. Lite at $18 plus Claude Pro at $20 comes to $38 a month, which is less than Claude’s $100 Max plan.
Sources
Prices and plan details were checked against these pages on . Vendors change pricing often, so confirm on the official page before you buy.
- Z.ai: GLM Coding Plan subscribe page
- Z.ai docs: Coding Plan overview (credits, peak hours)
- Z.ai docs: Claude Code setup
- Z.ai docs: Coding Plan FAQ
- Z.ai docs: GLM-5.3 model page (vendor benchmarks)
- Z.ai: Terms of Use (updated April 14, 2026)
- Z.ai: Privacy Policy
- Claude: official pricing page
- Claude support: what is the Max plan
- Claude support: using Claude Code with a Pro or Max plan
- Claude Code docs: managing costs
- Terminal-Bench 4.0 leaderboard (independent)
- Artificial Analysis: GLM-5.3
- US Federal Register: Entity List additions, January 16, 2025 (90 FR 4617)
- Silicon UK: Z.ai apologises over ZCode workspace uploads (September 22, 2026)
- Hacker News: developer, not a power user, who cancelled Claude Code for the Z.ai plan and uses it in OpenCode (June 13, 2026)
- Hacker News: Pro subscriber on GLM-5.2 quality and weekly limits (July 6, 2026)
- Hacker News: commenter on the plan’s expected usage versus the $20 Claude plan (June 22, 2026)
- Hacker News: Lite subscriber reporting speeds below 60 tokens a second (June 22, 2026)
- Hacker News: Pro subscriber reaching the weekly limit “somewhat fast” (June 29, 2026)
- Hacker News: occasional user who switched to per-token GLM-5.3-Flash (September 17, 2026)
- GitHub: rate-limit errors reported by paying subscribers (June 2026)