GLM-5.4 and the GLM Coding Plan: What Is Proven, What It Costs in Credits
Z.ai's GLM-5.4 is the first flagship that runs a block of its layers twice. You can only use it through a subscription so far. This guide reads Z.ai's blog and docs, the pricing pages, the Hacker News thread and one outside hands-on note to separate the measured from the claimed, and turns the credit rules into turns per week.
There are no affiliate links in this guide.

| Subject | GLM-5.4 on the GLM Coding Plan |
| Cost | From $18/month, or $12.60 on yearly billing |
| Needs | A Coding Plan subscription |
| Catch | Credits drain by token; no flagship scores |
| Evidence | Z.ai docs, HN thread, one outside post |
GLM-5.4 is an interesting architecture claim you can pay to try, not yet a proven coding leader. Its Coding Plan credits are cheap per token and easy to burn through at peak hours.
Z.ai published the design in unusual detail and no score for the model itself.
What it is. Released Nov 23, 2026, GLM-5.4 reuses 28 layers of the GLM-5 base model for two passes, which Z.ai calls a Loop Transformer. The post says this reaches the intelligence of 2T to 3T parameter models. The docs list 1M context, 128K maximum output and image, video, text and file input.
Why it matters. If looping works, the same weights think deeper without a bigger model. A second looped model, Inkling 2 Mini, was announced days earlier according to Simon Willison, so this may be a trend rather than a one-off.
The catch. The only numbers in the post are from a 30B test of looping on and off. For the full model there are no benchmark scores, no open weights and no public API yet. Access is through the GLM Coding Plan, which meters usage in credits that cost 4.6 for fresh input, 1.1 for cached input and 16 for output, per 10,000 tokens.
Not hands-on tested: JAVIS has no Coding Plan account and ran nothing. Everything here is read from Z.ai pages, the Hacker News thread and one outside post, all as of Nov 28, 2026.

What you need to know in thirty seconds.
Swipe sideways to see every column.
| Item | What Z.ai says | Source |
|---|---|---|
| Context and output | 1M tokens in, 128K tokens out | GLM-5.4 docs page |
| Speed | Up to 200 tokens/s off-peak, 70 to 80 at peak | Blog and docs |
| Quota | 1.5x the GLM-5.3 quota on weekly plans | GLM-5.4 docs page |
| Known weakness | Long "marathon thinking" loops | Blog |
| Open weights | Planned after safety hardening, no date | Blog |
| Model API | Coming soon, after a security assessment | Blog and docs |
Source: Z.ai blog post and docs, read Nov 28, 2026. Speed and quota are vendor statements, not measured by JAVIS.
Looping runs a block of layers a second time, so the model gets deeper without more parameters.
In a standard transformer each layer runs once per token. Z.ai took a pre-trained GLM-5 base and, through continued training, made 28 of its layers run for two iterations with shared weights. Z.ai notes the idea is not new: the 2018 Universal Transformer proposed it, and looped models trained from scratch lagged unshared ones at equal compute, which is why it converted an existing model instead.

Three changes keep it practical at 750B, all described in the post:
- Gated progressive updates. Per-token gates control how much each pass writes back, because overwriting the hidden state directly made activation norms blow up. Z.ai says pass one writes conservatively and pass two writes fuller updates.
- Hybrid KV cache. The second pass shares the first pass cache and adds only one sliding window, so memory does not double with the loop count.
- Sparse attention index reuse. Pass two reuses the indices from pass one, at no extra indexing cost.

These are design claims from the vendor. Nothing published lets an outsider check the 28-layer figure or the cost claims; the docs repeat them.
The only scores are a 30B experiment: looping helped on every test, with shorter answers.
Z.ai trained a 30B model with the same architecture as the 750B base, with and without the loop, using identical parameter counts and about 10% more total training compute for the looped one. After 200K long-context fine-tuning and with thinking on, the looped version scored higher on all five tests and wrote 2% to 15% fewer tokens.

Swipe sideways to see every column.
| Test | Baseline | With loop | Gain (points) | Relative gain | Average length change |
|---|---|---|---|---|---|
| AIME25 | 19.17 | 30.42 | +11.3 | +59% | -635 tokens (-2%) |
| GPQA-Diamond | 47.58 | 56.26 | +8.7 | +18% | -2,473 tokens (-11.7%) |
| AA-LCR | 40.33 | 47.67 | +7.3 | +18% | -539 tokens (-9.7%) |
| MMLU-Pro | 71.65 | 75.05 | +3.4 | +5% | -863 tokens (-14.9%) |
| IFBench | 50.20 | 53.47 | +3.3 | +7% | -763 tokens (-13.0%) |
Scores and gains as in Z.ai's table; the relative gain column is calculated by JAVIS. A 30B model, not GLM-5.4 itself. Relative gain is gain divided by the baseline.
Read it with care. The base scores are low, so the relative gains on AIME25 (+59%) and GPQA-Diamond (+18%) look large. The model tested is not the one you can buy, the benchmarks are math and science rather than software tasks, and Z.ai ran them itself. The post does say the largest gains are on longer reasoning chains. It gives no score table for the 750B GLM-5.4, and no head-to-head with other vendors.
You can use GLM-5.4 only through the Coding Plan: no public API price, no weights, and the release notes page does not list it.
The GLM-5.4 docs page says the model is available to all GLM Coding Plan users and that the Model API will follow the security assessment. The API pricing page lists GLM-5.3, GLM-5.3-Flash and older models, with no GLM-5.4 row. The Z.ai Hugging Face page shows GLM-5.3 and GLM-5.2 collections and no GLM-5.4. The release notes page was still topped by an Aug 26, 2026 entry.




Simon Willison wrote on Nov 23, 2026 that he had to sign up for the Coding Plan to try 5.4, and that the plan key also worked against the OpenAI-compatible endpoint at api.z.ai. That is his report, not Z.ai documentation, and JAVIS did not test it. Z.ai also offers its own agent harness, ZCode, and lists more than 20 supported tools such as Claude Code, Codex and OpenCode.


A Lite week of ordinary agent turns is about 820 at peak rates and about 1,640 off-peak; one large-context turn costs as much as seven small edits.
The Coding Plan does not count requests. Each plan has a 5-hour credit limit and a weekly one: Lite 2,000 and 10,000, Pro 12,000 and 60,000, Max 28,000 and 140,000. A call costs (fresh input tokens x 4.6 + cached input tokens x 1.1 + output tokens x 16) divided by 10,000 for GLM-5.4. Usage outside Monday to Friday 14:00 to 18:00 Singapore time, which is 06:00 to 10:00 UTC, is charged at half.


The numbers below apply those published multipliers to three example turns. The turn sizes are JAVIS assumptions, not Z.ai figures; real agents vary a lot. Cached input is 4 times cheaper than fresh input and output is about 3.5 times fresh input, so long cached contexts are cheap and long answers are not.
Swipe sideways to see every column.
| Example turn | Fresh in | Cached in | Out | Credits | Lite turns/week (peak) | Lite turns per 5 h | Lite turns/week (off-peak) |
|---|---|---|---|---|---|---|---|
| Small edit turn | 2,000 | 30,000 | 1,000 | 5.8 | 1,718 | 344 | 3,436 |
| Typical agent turn | 10,000 | 40,000 | 2,000 | 12.2 | 820 | 164 | 1,639 |
| Large context turn | 30,000 | 150,000 | 6,000 | 39.9 | 251 | 50 | 501 |
Calculated by JAVIS from Z.ai's multipliers and credit allowances as of Nov 28, 2026. Peak means Mon to Fri 14:00 to 18:00 SGT. Turn sizes are assumptions.
Two checks on the vendor figures. GLM-5.4 multipliers are two thirds of GLM-5.3 (4.6 against 6.9, 16 against 24), which matches the docs statement that weekly quota is 1.5 times larger. And Z.ai's own table estimates 72 to 146 million tokens a week on Lite at a 95% cache hit rate. JAVIS got about 66 million for a 95% cached, 3% fresh input, 2% output mix at peak, so the vendor range is plausible, and its upper end is simply the off-peak doubling.
Practical reading: the 5-hour window is one fifth of the weekly credits on every tier (2,000 of 10,000, 12,000 of 60,000, 28,000 of 140,000), so five hard-working windows empty a week. A long session at peak rates is where Lite users will meet the wall.
Pro and Max cost less per credit than Lite, and the cheaper listed prices need yearly billing.
The plans page showed the Yearly prices first, which are $12.60, $56 and $117.60 per month. Switching to Monthly shows $18, $80 and $168. The page also offers Quarterly with 20% off, which JAVIS did not price. Whether the yearly figure is charged up front or monthly is not stated on the page.


Swipe sideways to see every column.
| Plan | Weekly credits | Monthly price | Yearly-toggle price | Monthly price per 10,000 credits a week | Peak-rate tokens per month at a 95% cache mix (M) |
|---|---|---|---|---|---|
| Lite | 10,000 | $18 | $12.60 | $18.00 | about 288 |
| Pro | 60,000 | $80 | $56 | $13.33 | about 1,730 |
| Max | 140,000 | $168 | $117.60 | $12.00 | about 4,040 |
Calculated by JAVIS as of Nov 28, 2026. The token column uses a 95% cached, 3% fresh input, 2% output mix and 52 weeks divided by 12 months; real mixes vary. Off-peak doubles it.
Pro gives 6 times the Lite credits for 4.4 times the monthly price, and Max gives 14 times for 9.3 times. Under that mix and at peak rates, Lite works out near $0.062 per million tokens on monthly billing and Max near $0.042. For scale only, GLM-5.3 on the pay-as-you-go API at the same mix would cost about $0.38 per million tokens (0.95 x $0.26 + 0.03 x $1.4 + 0.02 x $4.4). That is a different model on a different meter, and GLM-5.4 has no API price, so treat it as a rough yardstick, not a like-for-like saving.
For other coding-model subscriptions, see JAVIS's MAI Code 2 review and Together AI review; the plans are not like-for-like and their prices were not re-read for this guide.
No refunds, auto-renewal, supported tools only, and two docs pages that disagree on the cancel deadline.
- No refunds. The usage policy says a purchased subscription is confirmed and unused fees cannot be refunded.
- Auto-renewal. The usage policy says to cancel at least 3 days before the next billing date. The FAQ says at least 24 hours. JAVIS would use the stricter 3 days.
- One person. Account sharing is prohibited and may restrict benefits.
- Supported tools only. Use in unsupported tools may restrict benefits; more than three violations may lead to a ban.
- Concurrency. Lite is recommended for one project at a time, Pro for one or two, Max for two or more; limits are adjusted dynamically.
- Peak pricing. The plan moved to credits on July 30, 2026 according to a notice; older plans keep their terms until their cycle ends.

The plan page lists default data privacy for all tiers. JAVIS did not review the privacy policy, so what that covers is unchecked.
Readers liked the openness and asked where the benchmarks are.
The Hacker News thread had 1,184 points and 388 comments on Nov 28, 2026 (the screenshot shows relative times). The top comment praises the technical detail Z.ai disclosed and compares it with the earlier Universal Transformer. Others noted that Thinking Machines had just released an open looped model, Inkling 2 Mini. Several said the missing benchmark scores were the notable gap, one guessing the model may not be competitive, and one user said the marathon thinking makes the Chinese models tiring on simple tasks.

Praise for publishing the loop design in detail, from the top comment.
Several commenters noted the post has no scores for the model itself.
One commenter said long self-doubting reasoning slows simple tasks; Z.ai lists it as a known limit.
The one outside hands-on note JAVIS found is Simon Willison's. He ran his pelican drawing prompt at low, high and max effort and said the 5.3 and 5.4 results looked similar in quality to each other. That is a single informal drawing test, not a coding benchmark.
The design claims are documented; the strength claims are unverified.
Swipe sideways to see every column.
| Claim | What the sources show | Assessment |
|---|---|---|
| First flagship on a loop architecture | Z.ai's own statement; Simon Willison notes Inkling 2 Mini is also looped | Vendor claim; the "first" is limited to Z.ai's flagships |
| Matches 2T to 3T parameter models | Stated in the blog, docs and plan page; no score table for the 750B model | Unverified |
| Looping improves scores at equal parameters | 30B table: all five tests up, length down 2% to 15% | Supported for that experiment, run by Z.ai |
| 200 tokens/s off-peak, 70 to 80 at peak | Blog and docs; no outside measurement found | Unverified |
| Weekly quota is 1.5x GLM-5.3 | Docs say so for weekly-quota plans; the credit multipliers are two thirds of 5.3 | Consistent with the multipliers |
| Weights will be open | "We plan to", no date | A plan, not a release |
| Available by API | Docs: after a security assessment; one writer reports the plan key works | Not officially |
Sources: Z.ai blog and docs, Simon Willison, Hacker News, all as of Nov 28, 2026.
Test it on a month-to-month plan with your own tasks, and keep the heavy sessions off-peak.
The yearly toggle saves 30% but the plan has no refunds, and no outside coding evidence for the model exists yet.
Peak is Monday to Friday 14:00 to 18:00 Singapore time (06:00 to 10:00 UTC). Check your own timezone before you plan long runs.
Z.ai says you can see tokens consumed by type there. Compare it with the example turns above after one day.
Cached input costs 1.1 against 4.6 fresh; short outputs matter most because output is 16.
Without published scores, run one real task you already know the answer to, and compare against your current model.
Swipe sideways to see every column.
| Check | Where to look | Result for GLM-5.4 |
|---|---|---|
| Published coding benchmark for the full model? | Blog and docs | No |
| Independent evaluation? | Search and HN | Only one unverified social post |
| Open weights? | Hugging Face, blog | Not yet |
| Public API price? | API pricing page | Not listed |
| Usable today? | Coding Plan docs | Yes, on a paid plan |
Assessment as of Nov 28, 2026.
- No hands-on test: JAVIS has no Coding Plan account and ran no model call.
- Speed, quota and intelligence figures are Z.ai statements.
- Prices and multipliers can change; the figures are as of Nov 28, 2026.
- The turn sizes in the credit math are JAVIS assumptions.
- The Quarterly price and the privacy terms were not reviewed.
- This is not financial or legal advice.
Coding models, agents and safety, from other JAVIS pages.
Questions people ask about GLM-5.4.
Is GLM-5.4 open source?
Not yet. Z.ai says it plans to open-source the weights after safety hardening, with no date. Earlier models such as GLM-5.3 are on Hugging Face; GLM-5.4 was not on the Z.ai organization page on Nov 28, 2026.
How do I use GLM-5.4 today?
Through the GLM Coding Plan. Z.ai's docs say the Model API arrives after a security assessment. Simon Willison reported that a Coding Plan key also worked on the OpenAI-compatible endpoint.
How much does the Coding Plan cost?
On Nov 28, 2026 the page showed Lite $18, Pro $80 and Max $168 per month on monthly billing, and $12.60, $56 and $117.60 per month when the Yearly toggle was selected.
What is a credit?
A unit of usage. A call costs (input tokens x 4.6 + cached input tokens x 1.1 + output tokens x 16) divided by 10,000 for GLM-5.4, and that is halved outside Monday to Friday 14:00 to 18:00 Singapore time.
Is GLM-5.4 better than other coding models?
Z.ai's post gives no benchmark scores for the full model. Its only score table is a 30B test of looping on and off. Independent evidence is thin: one Hacker News comment links a social-media benchmark post that is said to show it marginally better than GLM-5.3 but not always, and that claim is unverified.
Did JAVIS test it?
No. JAVIS has no Coding Plan account. This guide is built from Z.ai's pages and docs, the Hacker News thread and Simon Willison's post, all as of Nov 28, 2026.
Where this came from, and when.
Announcement: Z.ai blog post, dated Nov 23, 2026, read Nov 28, 2026.
Docs: GLM-5.4 page, Coding Plan overview, usage policy, FAQ, API pricing, release notes, read Nov 28, 2026.
Plans: GLM Coding Plan page, Monthly and Yearly toggles, read Nov 28, 2026.
Hugging Face: Z.ai organization page, read Nov 28, 2026.
Outside views: Simon Willison, Nov 23, 2026; Hacker News story 50609685, 1,184 points, read Nov 28, 2026.
Images: screenshots of the pages above dated Nov 28, 2026. The Fit Score and credit scenarios are JAVIS editorial work.






