2026-11-24 18:21 UTC
DANGMUAAI & Developer Tools, Decoded
BackAI Models

GLM-5.4 Runs Its Layers Twice. Z.ai Published No Benchmarks

Z.ai's GLM-5.4 loops 28 layers twice for 750B parameters and claims 2T-3T performance. But there is no benchmark table, no weights, and no date for either.

DangMua EditorialNov 24, 20266 min read
GLM-5.4 Runs Its Layers Twice. Z.ai Published No Benchmarks

Z.ai released GLM-5.4 on November 23: a roughly 750-billion-parameter model whose layers run twice per token, shipped with no benchmark table.

It is the company's first Loop Transformer. Instead of adding depth by adding parameters, GLM-5.4 takes a 28-layer block from the GLM-5 base and runs that same block twice per forward pass, reusing the identical weights both times. The network gets deeper; the weight file does not get bigger.

How the loop works

The model was not trained looped from scratch. Z.ai took the already-pretrained GLM-5 base and converted the middle layers into a loop through continued training. GLM-5's config.json lists "num_hidden_layers": 78, which is why one Hacker News commenter summarized it as "emulating a 106 layer model in a 78 layer model."

Two implementation details matter for anyone who will have to support this in a runtime. Each pass has its own per-token gate controlling how much it writes back to the residual stream, which stops activation norms from blowing up across iterations. And the second pass reuses the sparse KV entries and attention indices chosen in the first pass, keeping its own new KV only inside a local sliding window — so, as TestingCatalog put it, "the extra loop costs one sliding window of cache instead of a full context cache."

The loop count is fixed at two. Every token, every time. It does not loop until convergence and it does not spend more passes on harder tokens — a point several Hacker News commenters had to correct each other on. Z.ai says it intends to keep scaling loop depth alongside model size, so later versions may behave differently.

The benchmarks Z.ai did not publish

Z.ai published no benchmark scores for GLM-5.4 itself, coding or otherwise. The headline claim — that a ~750B model reaches intelligence comparable to 2T–3T parameter models — currently rests on nothing public.

The only numbers in the announcement come from a 30B iso-parameter ablation. With about 10% more training compute, the looped version beat the plain one, with the biggest gains on math, science reasoning and long context, and 10–14% shorter outputs on GPQA-Diamond and MMLU-Pro. That is a real result at 30B. It is not evidence about a 750B production model.

The bar is public, which makes the omission conspicuous. GLM-5.3's model card lists Terminal Bench 2.1 at 88.2, DeepSWE (v1.1) at 66.9 and NL2Repo at 58.0. Z.ai chose not to show whether 5.4 clears its own predecessor. According to TestingCatalog, a Z.ai team member said 5.4 scores will come later.

The one third-party figure so far is AICodeKing's KingBench 4, reported via DataCamp: 7th overall and 1st among open models. Getting there took 431 minutes against Gemini 4 Neon's 109, burned roughly 1.04M tokens against roughly 70,000, and produced a 1.56% tool-call failure rate, 11th of 17. DataCamp notes it is one reviewer's own harness, and the reasoning effort used has already been questioned publicly.

So: competitive, and slow. Z.ai itself warns the model can fall into "marathon thinking" loops. Early Hacker News reports match — "decent improvement on 5.3 but nothing earth shattering," one person finding it "only marginally" better on their own codebase, and a note that "it switches to Chinese at some point."

Speed, context and price

Z.ai reports 70–80 tokens per second under load and up to 200 off-peak at a 1M-token context. GLM-5.4 also adds native image input for visual coding — show it a broken interface alongside the code — and the company is pitching "generalized coding", with code as the substrate for video, games, CAD and 3D scenes.

Access is GLM Coding Plan only, starting at $18 a month. It is cheaper per unit of work than its predecessor: about a third fewer credits per token than GLM-5.3, with roughly 50% more weekly quota. The model ID is glm-5.4 in most tools, glm-5.4[1m] in Claude Code, and "zai-coding-plan/glm-5.4" in OpenCode. It is not on the regular API and not on OpenRouter.

One inconsistency worth noting: GLM-5.3 shipped with a 1M context, and 5.4 is described the same way, but the Coding Plan documentation suggests 512000.

No weights, and no date for them

You cannot run GLM-5.4 locally. There is no Hugging Face repo, no model card and no license file; the zai-org org page still stops at GLM-5.3. The announcement line quoted on Hacker News reads: "We plan to open-source the model weights responsibly after completing necessary safety hardening." No date is given.

Z.ai has kept that promise before — GLM-5 and GLM-5.3 both landed on Hugging Face, and as one Hacker News commenter put it, "they usually take a few weeks to release the weights." The licence has drifted, though. GLM-5 was MIT; GLM-5.3 ships under a custom glm-5.3 licence. Read whatever 5.4 arrives with before building on it.

When the weights do land, the loop changes the hardware arithmetic in a way most VRAM calculators will get wrong. Memory scales with physical parameters, so file sizes should land close to GLM-5.3's. Compute scales with layer passes: roughly 106 instead of 78, about 36% more work per token at an unchanged parameter count. Expect it to be slower than GLM-5.3 at the same quantization on the same box. The clearest framing came from Hacker News user ac29: "Looping saves you memory capacity needs, not memory throughput needs."

No runtime can load it today, because there is nothing to load. vLLM serves GLM-5.3 now but would need new model code for the loop, the gates and the shared-index KV cache. llama.cpp has supported weight-shared loops since July and already runs Inkling 2 Mini, but has no GLM-5.4 issue or pull request. MLX is unblocked but needs the gates ported. Ollama has no looped-model support at all.

What to watch

Shipping a new architecture behind a subscription plan, with no benchmark table and no weights, gives a launch two news cycles instead of one. The architecture may well be the real thing — a fixed two-pass loop at 750B is a genuine bet, not a repackaging.

But "comparable to a 3T model" extrapolated from a 30B ablation is a vendor promise, not a measurement. Three things decide whether it holds: the 5.4 benchmark table Z.ai says is coming, the first independent run on a harness nobody involved built, and whether the weights ship under a licence you can actually use.

More from DangMua