Field noteNov 23, 20266 min read1 source

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

In one minute

Z.ai has announced GLM-5.4, its first flagship model built with a Loop Transformer that repeatedly processes hidden states using shared layers. The company presents this as a way to deepen reasoning without increasing parameter count, and reports gains on long-reasoning tasks. Builders can try it through Z.ai’s coding products while the API and open weights remain forthcoming.

What happened

Z.ai announced GLM-5.4 on November 23, 2026, describing it as the first flagship model built on its Loop Transformer architecture. The company says the model has intelligence comparable to models with 2 trillion to 3 trillion parameters, though it does not identify a specific evaluation basis for that comparison in the announcement. GLM-5.4 is based on a 750-billion-parameter GLM-5 model, and loops 28 layers for two iterations.

In a standard Transformer, each layer runs once per forward pass. Z.ai’s Loop Transformer reuses a group of weight-shared layers across multiple iterations, refining hidden states from the preceding pass. The company says it adapted an already pre-trained base model through continued training rather than training a looped model from scratch, with the aim of improving capability at relatively low additional compute cost. Z.ai says the approach builds on research into weight-shared depth, but addresses a drawback it identifies in training looped models from scratch: they can lag behind unshared models at the same pre-training compute budget.

The announcement describes three implementation choices. Per-token gates control how much each iteration writes into the residual stream: the first pass tends to write conservatively to maintain stable activation scales, while the second refines the representation. The gates can also adjust update size according to token difficulty, with harder tokens receiving more aggressive refinement on the first pass. A hybrid KV cache lets the second loop reuse sparse key-value information from the first while retaining newly generated information in a local sliding window; Z.ai says an extra loop therefore needs only one sliding-window cache rather than a full context cache. Finally, the second loop reuses attention indices generated by the first, avoiding additional indexing overhead. The company says the cache design keeps the deployment-cost increase over GLM-5.3 under control at a context length of one million tokens.

Z.ai reports a controlled comparison on a 30-billion-parameter model with the same architecture as its 750-billion-parameter base. After 200,000 long-context supervised fine-tuning steps with thinking enabled, the looped model gained on several reasoning and long-context tasks with roughly 10% more total training compute. The company says average output length fell by 10–14% on most benchmarks, including GPQA-Diamond and MMLU-Pro. It also reports inference throughput of up to 200 tokens per second off-peak and 70–80 tokens per second at peak load, attributing this to cache and retrieval savings alongside fused system-level kernels.

Z.ai positions the release as “Generalized Coding,” using coding as a foundation for tasks beyond conventional software development. Its examples include generating and editing video, building a game, producing an interactive 3D experience, and creating a six-axis robotic arm design in FreeCAD. These are demonstrations described by the company, not a set of independently measured task results. GLM-5.4 is accessible through Z.ai Chat, ZCode and the GLM Coding Plan. The announcement does not state a price or usage quota. The model API is marked “Coming Soon,” and Z.ai says it plans to release open weights after safety hardening. The company acknowledges that GLM-5.4 can get caught in overly long “marathon thinking” loops.

What the archive adds

New Runtime’s earlier coverage discussed GLM-5.2’s million-token context and coding focus on June 18, 2026. GLM-5.4 is a new release, not simply a restatement: Z.ai’s announcement centers on repeated computation through shared layers, a different architectural claim from the earlier model’s context expansion. The new model also carries the company’s coding focus into its stated “Generalized Coding” direction, while its API and planned open weights remain future steps.

Trend signal

This supports harness architecture outlives model choice only weakly: the announcement illustrates how architecture and inference design shape a model’s capabilities and operating costs, but it does not show that a production harness is a more durable boundary than model choice. The direct evidence is about a model architecture, not deployment experience across interchangeable models. Whether this approach matters to builders will depend on its performance and cost in real workloads, beyond the model’s reported tests.

Why now

Z.ai frames GLM-5.4 as the beginning of a broader “Generalized Coding” direction, extending coding-based problem solving into video, engineering, games and 3D work. The company says a significantly larger next model is in development, but does not provide a date. It also describes GLM-5.4 as its first step with looped architectures and says it is exploring adaptive compute, in which harder tokens could receive more iterations. Those statements place the release within an ongoing research and product direction rather than a one-off architecture experiment.

Why it matters

For teams evaluating coding models, GLM-5.4 is a reminder that model capacity is not only a question of parameter count. Repeated computation, cache design and inference kernels can change the trade-off between reasoning depth, memory use, latency and output length. If Z.ai’s reported results transfer to real workloads, this could be relevant for tasks with long causal chains, such as complex software engineering or technical design.

The release also makes a useful distinction between a model’s reasoning architecture and the infrastructure needed to serve it. Looping can add computation, but caching and index reuse are intended to limit the associated memory and inference overhead. That is a concrete design problem for any system that tries to spend more compute on difficult work without multiplying deployment costs. The announcement is not enough to justify switching systems: the benchmark claims are company-reported, and the API is not yet available. Teams can still test the hosted experience on representative tasks and watch whether extended reasoning improves results without making runs unacceptably slow or difficult to review.

Limits and uncertainty

Z.ai’s benchmark and throughput figures are company-reported; the announcement does not provide independent replication or enough detailed results to evaluate every comparison. It also does not specify the model’s price, usage limits, API availability date, or a release date for open weights. The claim of intelligence comparable to 2T–3T-parameter models is not tied to a named evaluation in the announcement. The 30B ablation is evidence about a smaller model under a particular training setup, not a direct independent measurement of the flagship model’s performance. Real-world latency, quality and cost will depend on workload and access route. Z.ai itself identifies a tendency toward overly long reasoning loops, and gives no rate or severity measurement for that behavior.

Reader takeaway

GLM-5.4 makes repeated computation with shared layers the release’s central technical idea, not just a larger model label. Its reported gains are worth testing against long-reasoning work, but treat them as vendor claims until independent evaluations and API details arrive. For now, the hosted products offer a way to explore the model, while price, quotas and API access still need clarification.

Evidence / sources

  1. 1z.ai/blog/glm-5.4
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicModelsExplore the models topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract