Z.ai’s GLM-5.4 sends information through the same model layers again

A brushed metal ribbon loops through the same set of upright fins twice.

Z.ai’s GLM-5.4 experiments with a way to get more work from the same model weights. The important comparison is what a second pass buys for the compute it uses.

Model size is often discussed as a count of parameters, the learned values stored in the model. At run time, the system also spends computation applying those values. The amount stored and the amount of work done are related, and model designers can vary them in different ways.

On 23 November, Z.ai introduced GLM-5.4, its first loop transformer. A loop sends an intermediate representation through a group of model layers again, reusing their learned weights. It gives the model more processing steps without requiring a separate set of weights for each pass. Z.ai’s GLM-5.4 technical announcement

Key takeaways

  • GLM-5.4 reuses a group of layers across more than one pass.

  • Reusing weights and reducing the computation needed per request are separate engineering questions.

  • The architecture earns its place if it improves completed tasks enough to justify its latency and cost.

The difference between weights and work

Model parameters are values learned during training. An inference system applies those values in successive operations to turn input into an output. If it applies a group of layers a second time it performs more operations while reading the same learned values again. In a loop transformer, the second pass sees a representation already modified by the earlier pass, so repeating the layers can still change what the model extracts.

Z.ai describes GLM-5.4 as its first loop transformer. The design is interesting because it separates two decisions that are easy to conflate: how many weights a model stores and how much work it does with them. A developer may care about the first decision when loading the model onto hardware and the second when estimating the time and resources needed to serve a request.

When a longer pass can be worth paying for

Picture two requests to a coding assistant. A developer writing a test wants to complete a straightforward line before losing their train of thought. Another asks an agent to investigate a failed build across a group of modules. A short delay is a bigger drawback in the first task. In the second, extra processing may be worthwhile if it saves a round of manual diagnosis.

Z.ai identifies variable effort across tokens as a direction for future adaptive computation. A system that sends more difficult work around the loop more often would need a reliable basis for deciding where the extra processing helps. The current architecture can be evaluated on the passes it actually performs and the results it actually returns.

What evidence would show a practical advantage

Ask both systems to finish the same collection of work under the same conditions. Use the same repository, tool access and acceptance tests. Compare time to the first useful response, time to a working result and the number of edits or clarifications a person supplies. Record the costs of failed runs alongside the successful ones.

An architecture can be clever while its best use remains narrow. If looping improves the yield on long investigations but slows ordinary completions, a product might route those jobs differently. That is a concrete decision a developer can make with evidence from an evaluation. The architecture diagram explains how extra processing is possible. The jobs that finish sooner or need less correction establish what it buys.

Previous
Previous

ShellBench puts AI agents to work on everyday admin

Next
Next

Claude can turn a chat-built artefact into a desktop app