Technology•

Z.ai's GLM-5.4 Runs Its Layers Twice in a Bid to Reason Like a Model Four Times Larger

Beijing's Z.ai launched GLM-5.4, a 750-billion-parameter model that reuses its layers to boost reasoning, though flagship benchmarks against Claude and GPT have not been published.

Written By :MINRK
Z.ai's GLM-5.4 Runs Its Layers Twice in a Bid to Reason Like a Model Four Times Larger

Photo by BoliviaInteligente on Unsplash

1. Z.ai GLM 5.4 arrives with a looping design

Beijing-based artificial intelligence developer Z.ai released GLM-5.4 on Monday, November 23, a 750-billion-parameter model built on a new looping architecture. The company says the design lets the model reason at a level comparable to systems nearly four times its size, putting it in contention with models of two to three trillion parameters without carrying their weight.

The launch of Z.ai GLM 5.4 is a direct challenge to the idea that better reasoning has to come from ever larger models. Instead of adding more parameters, Z.ai has rearranged how the model uses the ones it already has, sending information through the same set of layers more than once before producing an answer.

Whether the approach delivers at the flagship level is still an open question. Z.ai has shared encouraging results from controlled experiments on a smaller model, but it has not released a full benchmark comparison showing that GLM-5.4 itself matches the leading systems from Anthropic or OpenAI.

2. Specifications behind the new model

Technical documentation from Z.ai lists a context window of 1 million tokens, meaning the model can take in an enormous amount of text in a single session, such as large codebases or long collections of documents. GLM-5.4 also accepts images and video as input and can write responses as long as 128,000 tokens.

For readers less familiar with the vocabulary, parameters are the internal numerical values a neural network learns during training. They store what the model has absorbed and are often used as shorthand for its size and cost. Tokens are the small units of text a model reads and writes, typically whole words or fragments of words.

Parameter count matters commercially because larger models generally need more memory and more powerful hardware to run. Every additional parameter adds to the cost of serving each request, which is why a model that can do more with fewer parameters is attractive to both developers and customers.

The ability to handle images and video alongside text places GLM-5.4 among the multimodal systems that have become standard at the top of the market. Long output limits are especially relevant for coding, where a model may need to write or rewrite many files in a single response.

3. How does the Loop Transformer work?

The Loop Transformer sends data through the same 28 layers twice rather than once, increasing the effective depth of computation without storing any extra parameters. In a conventional Transformer, the architecture that underpins nearly every modern language model, each piece of information moves through every layer a single time on its way to an output.

Reusing layers in this way gives the model a second pass at the same problem. The stored network stays the same size, but the amount of processing applied to each input grows, which is the effect Z.ai is relying on to close the gap with much larger systems.

Several supporting techniques make the loop practical. Gated updates control how much the internal information is allowed to change from one pass to the next, which helps keep the second pass from overwriting useful work from the first. A hybrid memory cache avoids keeping a complete separate copy of earlier calculations, limiting the memory overhead that repeated passes would otherwise create.

The design also uses sparse attention. Attention is the mechanism that lets a model weigh which parts of its input matter for the task at hand. A sparse version focuses compute on the most relevant information instead of treating every input equally, which reduces the cost of working across very long contexts such as the 1-million-token window.

The trade-off is that a second pass takes additional computation at the moment the model is answering a question. Z.ai is betting that this extra work is cheaper than the alternative of building, storing and serving a far larger network, since the memory needed to hold trillions of parameters is one of the most expensive parts of running frontier AI.

4. What the smaller-model experiments showed

Z.ai tested the looping technique in controlled experiments on a 30-billion-parameter model before applying it to its flagship. On AIME 2025, a benchmark built from a challenging mathematics competition and scored by the share of problems solved correctly, accuracy climbed from 19.17% to 30.42% with looping enabled.

The same experiments lifted results on GPQA Diamond, a set of graduate-level science questions designed to be difficult even for subject experts, from 47.58% to 56.26%. Both benchmarks are widely used to gauge whether a model can carry out multistep reasoning rather than simply recall facts.

The improvements came at a modest training cost. Z.ai said the looped setup needed roughly 10% more training compute. At the same time, the model generated between 10% and 14% fewer reasoning tokens on several tests, meaning it reached its answers with less written-out intermediate thinking.

Fewer reasoning tokens can translate into faster answers and lower bills for users, since providers typically charge by the token. That combination of higher accuracy and shorter reasoning is the core of the efficiency argument Z.ai is making for the architecture.

5. Limits of the evidence so far

It is important to separate the experimental findings from claims about GLM-5.4 itself. The AIME and GPQA gains describe the looping architecture as tested on the 30-billion-parameter model, not established performance figures for the 750-billion-parameter release.

Z.ai has not published a comprehensive head-to-head comparison showing that its new flagship equals Claude or GPT on the industry's standard evaluations. Until such results appear, and ideally until outside researchers reproduce them, the statement that GLM-5.4 reasons like a model four times its size remains the company's own assessment.

The company has also acknowledged a known weakness. GLM-5.4 can sometimes become trapped in excessively long reasoning loops, continuing to work through a problem well past the point of usefulness. Z.ai says it is addressing the issue for its next generation of models.

Results on smaller models do not always carry over cleanly to much larger ones. Techniques that produce sharp gains at 30 billion parameters can deliver smaller improvements, or different trade-offs, when scaled up, which is why independent testing of the flagship will matter more than the experimental numbers.

6. Generalized coding and real-world demonstrations

Alongside the architecture, Z.ai is promoting a concept it calls Generalized Coding, the idea that programming can serve as a tool for tasks that reach well beyond conventional software development. In this framing, writing code becomes a way for the model to build, design and control things in many domains.

The company's demonstrations include a video game, three-dimensional environments and a six-axis robotic arm designed with engineering software. The examples are meant to show the model producing working artifacts rather than only text, an area where coding-focused AI tools have drawn intense commercial interest.

7. Pricing for GLM-5.4 and the cost gap with US rivals

GLM-5.4 is available through Z.ai's Coding Plan subscriptions, priced at $18 a month for the Lite tier, $80 for Pro and $168 for Max. Z.ai says subscribers receive 50% more GLM-5.4 usage than they had with GLM-5.3 under comparable weekly quotas.

API pricing for the new model has not been announced. For reference, Z.ai's previous flagship, GLM-5.3, costs $1.40 per million input tokens and $4.40 per million output tokens. OpenAI's GPT-6.2 Sol is priced at $2 per million input tokens and $10 per million output tokens, while Anthropic's Claude Opus 5.5 costs $4 and $20 respectively.

At those published rates, GLM-5.3 is considerably cheaper than its American counterparts, especially for output-heavy workloads such as code generation. Without a price for GLM-5.4, however, it is not yet possible to calculate whether the new model extends that performance-per-dollar advantage.

As of August, GLM-5.3 was judged competitive with leading American coding models, while still trailing the strongest proprietary systems on several software engineering tests. GLM-5.4 is Z.ai's attempt to narrow that remaining distance.

8. Chinese AI labs bet on efficiency

The release fits a broader pattern. OpenAI, Anthropic and Google occupy the top positions in most AI performance rankings, and Chinese developers have increasingly concentrated on making capable models cheaper to run, particularly for coding and autonomous agents.

Z.ai is far from alone in that effort. Alibaba's Qwen 4 Max recently led Chinese rivals on Arena's agent leaderboard, while Moonshot's Kimi K3 and DeepSeek V4 have pressed American developers on both coding performance and API pricing.

How far Chinese models trail the American frontier remains disputed. A U.S. government evaluation placed DeepSeek roughly eight months behind the leading American systems, but researchers have questioned the methodology behind that assessment.

The efficiency-first strategy stands in contrast to the approach favored by the largest American labs, which have poured enormous sums into ever larger models and the data centers needed to train and serve them. If architectural tricks such as layer looping can deliver comparable reasoning at lower cost, the economics of that spending could come under closer scrutiny.

Lower running costs matter most for autonomous agents, which can make many model calls to complete a single task. When each step is billed by the token, a cheaper model that reasons with fewer tokens can change whether an agent-based product is commercially viable at all.

9. Entity List status and what comes next

Z.ai has been on the U.S. Commerce Department's Entity List since a January 2025 designation. Washington's stated concern is that the company's AI research could support China's military modernization. The listing restricts Z.ai's access to controlled American technology, but it has not stopped the company from shipping new models.

For now, GLM-5.4 is open only to Coding Plan subscribers. Z.ai plans to offer API access after completing security evaluations, and it has not yet released downloadable weights. The API pricing, any decision on open weights and full flagship benchmark results are the next milestones that will show whether the looping architecture holds up at scale.

Newsletters

All newsletters

Don't miss another story.

Subscribe to the MINRK Newsletter today.

Tick the newsletters you want. No selection? You'll get MINRK Headlines.

By signing up, you will receive emails about MINRK products and you agree to our terms of use and privacy policy.