HunterAlphaHub
OpenRouter model reference Facts from the public catalogue, dated and labelled
Jev Laya Fable 5.2 Verified
2026-11-13

Model dossier · Z.ai · read 2026-11-24

GLM-5.4: the loop that buys depth without more parameters

Short answer

GLM-5.4 is a 750B-parameter model that runs a 28-layer block twice for every token. The trick is not a second set of weights: the same block is reused, so the model gets more serial computation at the same parameter count. Z.ai sells it through the GLM Coding Plan first; the metered Model API is explicitly waiting on a security assessment, and the weights have not been released.

Z.ai launch post and docs read 2026-11-24 Launch post → Developer docs →

  • 750B base parameters
  • 28 × 2 looped layers
  • 1M context tokens
  • 128K max output
Z.ai GLM-5.4 launch post showing the model name, the Loop Transformer framing, release date and the stated 2T–3T comparison
The launch post states the claim in its own words: a Loop Transformer reaching intelligence levels comparable to 2T–3T parameter models. Captured 2026-11-24.

The short version

  • Architecture: a 28-layer block of the GLM-5 base runs twice per token with shared weights, trading memory for serial depth.
  • Availability: Coding Plan, Z.ai Chat and ZCode today; no metered Model API and no OpenRouter listing. Do not build a production budget on a price that is not published.
  • Evidence: Z.ai published a win-rate chart and a controlled 30B iso-parameter ablation. Those are vendor results; this page did not run the model.

What GLM-5.4 is

GLM-5.4 is the first flagship Z.ai has built on what it calls a Loop Transformer. The base model is 750B parameters. The change is in how a slice of that network is executed: layers 27–54 form a shared block, and that block runs once in the first loop pass and again in the second. The final stack, described in Z.ai's diagram as the Coda, continues from the second pass.

The result is a model that spends more compute per token without storing more weights. That distinction matters on both sides of the bill. It can make a smaller parameter footprint behave like a deeper one at inference time, but the extra passes also add latency, and the failure mode Z.ai names — long, self-correcting reasoning traces — is a direct consequence of giving the model more serial steps to think in.

FieldValue
Released
2026-11-23
Z.ai launch post and developer documentation.
Base model
750B parameters
The Loop Transformer adapts the existing GLM-5 base rather than training a new size class.
Loop
28 layers × 2 passes
The same block of weights runs twice per token; the model does not store a second copy.
Context
1,000,000 tokens
1M-token input window.
Max output
131,072 tokens
128K tokens, listed separately from the input window.
Input
Text, image, video and file
Output is text.
Access at launch
GLM Coding Plan · Z.ai Chat · ZCode
No metered Model API yet; no OpenRouter listing on the read date.
Vendor speed
70–80 tok/s peak · up to 200 off-peak
Z.ai's own serving figures, not a third-party benchmark.
Open weights
Planned after safety hardening
Not released as of the read date.
Source z.ai/blog/glm-5.4 and docs.z.ai/guides/llm/glm-5.4 Verified 2026-11-24 Vendor specifications; no independent benchmark run was performed for this page.

What you can use today

The access table is the most useful part of this release. GLM-5.4 is not a model you can call with a per-token API key on launch day. It is a subscription product first, which changes both the budget and the kind of application that makes sense.

RouteStatusWhat it means
Z.ai Chat Live The hosted chat product. The quickest way to try the model without wiring a development tool.
GLM Coding Plan Live A subscription for coding agents and IDEs. Z.ai says GLM-5.4 is available to all plan users, with a weekly credit allowance.
ZCode Live Z.ai's own coding client, listed alongside the launch post as a first-party route.
Model API Pending Z.ai says the metered API will be made available after the security assessment. There is no public per-token price to quote yet.
OpenRouter Not listed No z-ai/glm-5.4 entry in the public catalogue on the read date. A page showing an OpenRouter price for it is ahead of the catalogue.
Open weights Planned Z.ai says it intends to open-source the weights after safety hardening. Until that happens, there is nothing to download or self-host.
Source Z.ai launch post, Coding Plan page and developer docs Verified 2026-11-24 OpenRouter checked against the public model catalogue on the same date.

A subscription route is not a smaller version of an API. It ties usage to a named coding tool and a weekly allowance, and it puts the provider in the position of deciding which clients are supported. If the product needs a backend that calls the model on behalf of many users, GLM-5.4 is not yet the right dependency, regardless of how good the benchmark line looks.

Why loop instead of only scaling parameters

A conventional way to make a model reason better is to add layers or parameters. That raises both training cost and the memory needed to serve the model. A looped design takes a different trade: it reuses a block of existing weights for more than one pass, so the model can perform more sequential computation per token without increasing the number of stored parameters.

Z.ai GLM-5.4 architecture diagram showing the Prelude, two loop passes over layers 27 to 54, the Coda and the per-layer cache
The block at layers 27–54 is shared across both loop passes. The diagram also shows the per-layer KV cache and the sparse-attention index reuse that keep the second pass from paying the full prefill cost again. Source: Z.ai, captured 2026-11-24.

Three implementation details do most of the work in Z.ai's diagram. A damp gate blends the block's output with its input at each pass, so the second pass starts from a controlled state rather than overwriting the first. The second pass reuses the top-k sparse-attention indices selected in the first, which avoids repeating the index search. A per-layer cache holds the KV latent and the selected indices for the loop block, which is what makes the repeated pass practical rather than merely theoretically cheaper.

None of that makes the model free. A second pass through 28 layers is still a second pass through 28 layers. The saving is in parameter storage and in the prefill work that can be reused, not in the arithmetic of the forward pass itself.

The 30B ablation is the clearest evidence Z.ai published

The headline comparison is a win-rate chart against much larger models. The more useful evidence is a controlled experiment on a 30B base model: Z.ai compared the base with the same model after adding the loop, so the parameter count is held constant and the loop is the only variable. Every row improved, and the average response length fell in every row.

Z.ai table comparing a 30B baseline with the same model plus a loop on AIME25, GPQA-Diamond, AA-LCR, MMLU-Pro and IFBench
Z.ai's 30B iso-parameter ablation: five benchmarks, the baseline, the looped version and the change in average response length. Source: Z.ai, captured 2026-11-24.
BenchmarkBaseline+ LoopChangeAvg. length change
AIME25 19.17 30.42 +11.3 −635 tokens (−2%)
GPQA-Diamond 47.58 56.26 +8.7 −2,473 tokens (−11.7%)
AA-LCR 40.33 47.67 +7.3 −539 tokens (−9.7%)
MMLU-Pro 71.65 75.05 +3.4 −863 tokens (−14.9%)
IFBench 50.20 53.47 +3.3 −763 tokens (−13.0%)
Source Z.ai GLM-5.4 launch post, ablation figure Verified 2026-11-24 30B iso-parameter experiment, not a run of the 750B flagship.

Two cautions belong next to the table. First, this is a 30B experiment; it demonstrates that the loop helps at that scale, not that the same delta carries to 750B. Second, the benchmark harness is Z.ai's, and the numbers are not directly comparable with a different lab's table. The row that should interest a builder most is the length change: the looped model got more accurate while writing less, which is the opposite of the usual trade when a model is told to think harder.

Coding Plan access and what it costs

Z.ai sells access in three individual tiers. The prices below are what the subscription page displayed on 2026-11-24; each tier also showed a crossed-out list price, so treat the discounted number as a promotion rather than a permanent rate. Weekly credits are the unit that matters, not tokens, because the plan meters tool usage rather than raw API calls.

PlanDisplayed priceList priceAllowance
Lite $12.60/month $18/month 10,000 Credits / week
Pro $56/month $80/month 6× Lite usage
Max $117.60/month $168/month 14× Lite usage
Source z.ai/subscribe Verified 2026-11-24 Displayed prices and allowances can change without notice.

The plan page lists a long set of compatible tools, including ZCode, Claude Code, Codex, OpenCode, Cursor and others. That list is a statement of intent from the vendor, not a compatibility guarantee for a specific version of each client. Check the client's own documentation before assuming a workflow will work unchanged.

See the Coding Plan Open ZCode Model API status

Marathon thinking is the failure mode to design around

Z.ai names the limitation itself: GLM-5.4 can get caught in overly long “marathon thinking” loops. The company frames the same behaviour as a strength — more reflection and self-correction than the parameter count would suggest — and both things can be true. A model that keeps checking its work is useful on a hard proof and expensive on a routine edit.

For a coding agent, the practical controls are ordinary ones: set an output ceiling, record wall time per task, and put a verification gate in the loop rather than letting the model decide when it is finished. A run that produces a correct patch in twice the time is a different product decision from one that produces it in the same time, and the plan's credit allowance is where that difference shows up.

What Z.ai showed at launch

The launch post leans on demonstrations rather than a full benchmark table. Four are worth naming because each stresses a different part of the model: a self-narrating music video, a six-axis robotic arm modelled in FreeCAD, a complete game, and an interactive 3D birdwatching scene built from pure mathematics and GLSL. They are vendor demonstrations, which means they show what the model can do with a prepared prompt and a favourable run; they do not establish how often it does that on an arbitrary task.

The pattern across the four is the one the architecture predicts: long, multi-step work with a checkable end state. A music video has to stay coherent across shots. A robotic arm has to satisfy geometry. A game has to run. A shader scene has to render. Those are the tasks where extra serial depth has something to bite on.

Versus Inkling 2 Mini: two ways to loop a transformer

Thinking Machines' Inkling 2 Mini uses the same broad idea from the opposite direction. It is a 26.4B-parameter open-weight model with 3.4B active parameters, and it repeats its middle blocks to get more depth out of a small checkpoint. GLM-5.4 is a 750B hosted flagship sold by subscription. The architectures rhyme; the products do not compete on the same shelf.

The comparison page puts the two side by side without pretending there is a common benchmark or a common price unit. If the question is “which loop design should I study”, read both. If the question is “which one can I deploy this week”, the access table above answers it faster.

Read the comparison

GLM-5.4 FAQ

Is GLM-5.4 available through an API?

Not as a metered Model API yet. Z.ai says GLM-5.4 is available to all GLM Coding Plan users, but the Model API will be made available only after its security assessment. The Coding Plan is a subscription for coding tools, not the same product as a public pay-as-you-go endpoint.

Is GLM-5.4 on OpenRouter?

No. On 24 November 2026, OpenRouter's public model catalogue had no z-ai/glm-5.4 entry. Any page that shows an OpenRouter price for this model is ahead of the catalogue.

What is a Loop Transformer?

A Loop Transformer runs a shared block of layers more than once per token. Because the same weights are reused, the model gets more serial computation without increasing its parameter count. GLM-5.4 adapts 28 layers of the GLM-5 base model and runs that block for two iterations.

Does GLM-5.4 really match a 2T–3T parameter model?

That is Z.ai's claim, not an independent result. The company says its first Loop Transformer flagship reaches intelligence levels comparable to 2T–3T parameter models. The published evidence includes a win-rate chart and a controlled 30B iso-parameter ablation, not a public benchmark table that would let a reader verify the headline directly.

What is the model's context window?

Z.ai lists a 1M-token context window and a maximum output of 128K tokens. Input can be video, image, text or file; output is text.

What is the main known limitation?

Z.ai says the model can get caught in overly long 'marathon thinking' loops. The company says the extra reflection and self-correction improve accuracy beyond its parameter count, but a long-running coding or agent task can still spend much more time and output than expected.

Can I run GLM-5.4 locally?

Not today. Z.ai says it plans to open-source the weights after safety hardening. Until those weights are published, the available routes are the GLM Coding Plan, Z.ai Chat and ZCode.

How fast is GLM-5.4?

Z.ai reports up to 200 tokens per second during off-peak hours and 70–80 tokens per second at peak load. Those are vendor measurements from its serving infrastructure, not a guarantee for every coding tool or region.

Send us a link

A project built with Jev, a post, a video, a correction, a tip. We open the link, check it says what you said it says, and write the entry ourselves.

Required a link, and an email to reply to. Optional everything else.

Add context — all optional

One or two sentences about what it does, in your words. We write the entry ourselves.

Cost, latency, a benchmark — anything you measured. We attribute these to you.

We store what you type and email it to ourselves. No IP address, no user agent, no referrer — the same rule as the mailing list.

What happens to what you send →