GLM 5.4 From Z.ai: What Its Dual-Pass Architecture Actually Does
Z.ai's GLM 5.4 reruns a block of its own layers twice per pass instead of adding more parameters. Here's what that means and why it matters.

What is GLM 5.4’s dual-pass architecture?
GLM 5.4, the latest model from the Chinese AI lab Z.ai, takes a block of its own layers and runs it through a second time on every pass instead of adding more layers or parameters to get smarter. In plain terms, the model reuses part of itself mid-computation, effectively giving each input a second round of processing before producing an answer. The idea is to make the model “think deeper” without growing in size, which could mean better reasoning without the usual cost of a bigger model.
TL;DR
- Z.ai’s GLM 5.4 uses a dual-pass layer design where a block of layers runs twice per forward pass instead of the model simply having more layers stacked end to end.
- The goal is deeper reasoning without a bigger model, which could mean better output quality without the usual memory and compute costs that come with scaling parameter count.
- Benchmark data is thin right now. GLM 5.4 hadn’t shown up on independent benchmark trackers like Artificial Analysis at the time of its release, so its real-world performance relative to other open models is still unverified.
- It arrived in the same window as two other notable open releases: Amazon’s Nova (its first open-weight model) and MiniMax M4, a Chinese model built to run on Huawei chips rather than Nvidia hardware.
- The architectural approach GLM 5.4 is using resembles a broader trend in AI research sometimes called looped or recurrent transformer layers, where reusing computation is explored as an alternative to simply scaling up.
- Because Z.ai hasn’t published detailed benchmark comparisons yet, claims about GLM 5.4’s capabilities should be treated as preliminary until third-party evaluations catch up.
Build a credit limit review app for 800 relationship managers
Role-based access, audit trail and SSO built in.
How does running layers twice actually work?
In a standard transformer model, data flows through a fixed stack of layers once, start to finish. Each layer transforms the information a bit more before passing it to the next one. The number of layers is usually set at training time and doesn’t change.
GLM 5.4’s approach breaks from that. Instead of treating every layer as a one-time stop, it takes a block of layers and sends the data through that block a second time within the same pass. Functionally, this is similar to adding more depth to the network, but without permanently adding more layers (and therefore more parameters) to the model’s total size.
The practical effect, as described by Z.ai, is a model that can apply more computation to a given input without becoming larger on disk or in memory. A model’s size and its memory footprint are largely functions of how many parameters it has. If GLM 5.4 can get extra reasoning depth by reusing existing layers rather than adding new ones, it could offer some of the benefits of a bigger model (more thorough processing) while keeping the deployment costs of a smaller one.
Why would a lab build a model this way?
Scaling up a model by adding more layers or parameters is the default way labs have pushed capability forward for years. But bigger models cost more to train, more to run, and need more hardware, memory, and energy at every inference step. For labs working with constrained chip access, like several Chinese AI companies currently navigating export restrictions on advanced Nvidia hardware, finding ways to get more reasoning performance out of a smaller footprint is a meaningfully different strategy than just buying more compute.
Reusing a block of layers is one version of a broader idea researchers have explored under names like looped transformers or weight-sharing recurrence: instead of a transformer being purely “feed-forward once,” parts of it get revisited, similar in spirit (though not identical in mechanism) to how recurrent networks process sequences by looping over the same weights repeatedly. If it works well, the payoff is a model that behaves like it has more depth and reasoning capacity than its raw parameter count would suggest, which matters a lot for anyone trying to run a capable model on less hardware.
What do we actually know about GLM 5.4’s performance?
Not much yet, and that’s worth being upfront about. At the time GLM 5.4 was released, it hadn’t appeared on independent benchmark aggregators like Artificial Analysis, which is one of the more commonly cited third-party trackers for comparing model performance across labs. That means there’s no verified head-to-head comparison yet against models like Claude, GPT, or other open-weight releases.
This isn’t unusual. New model releases often ship before independent benchmarking catches up, and labs’ own reported numbers (when they publish any) tend to arrive first, if at all. For GLM 5.4 specifically, the notable story right now is the architecture itself rather than a confirmed leaderboard position. Anyone evaluating it for real use should treat early claims about its capabilities as unverified until independent testing, not official announcements, confirms them.
How does GLM 5.4 compare to other recent open model releases?
GLM 5.4 arrived in the same stretch as two other open-weight releases worth noting for context, even though neither is directly comparable in architecture.
Amazon released Nova as its first open-weight model, meaning developers can download and run it on their own hardware rather than accessing it only through an API. On the Artificial Analysis intelligence index, it scored lower than top-tier closed models like Claude Opus, but it stood out for speed, completing benchmark tasks in a fraction of the time some larger models took.
MiniMax, another Chinese lab, released MiniMax M4, built specifically to run on Huawei’s chips rather than Nvidia hardware, a direct consequence of export restrictions limiting Chinese labs’ access to Nvidia’s most advanced GPUs. MiniMax reported that M4 outperformed other Chinese open models on the large majority of benchmarks it was tested against, according to the company’s own reporting.
Both of these releases point to the same underlying pressure shaping a lot of model design decisions right now: labs, especially those with constrained hardware access, are looking for ways to get more capability without simply scaling up compute. GLM 5.4’s dual-pass layer approach fits into that same pattern, just via a different architectural lever.
Is GLM 5.4’s approach actually new?
The core idea of reusing network weights or revisiting layers isn’t unprecedented in AI research broadly. Weight-sharing and recurrence have both been studied in various forms for years as alternatives to simply stacking more unique layers. What makes GLM 5.4 notable isn’t that the concept is unheard of, it’s that a major lab is shipping it in a production-scale model rather than keeping it confined to a research paper. Whether this specific implementation delivers meaningfully better reasoning per parameter, or whether it mostly adds inference-time compute cost without a proportional capability gain, is exactly what’s still unverified without independent benchmarks.
Frequently Asked Questions
What is Z.ai’s GLM 5.4?
GLM 5.4 is a large language model released by the Chinese AI lab Z.ai, notable for an architecture that reruns a block of its own layers twice per forward pass instead of relying purely on a larger, fixed stack of layers.
Does running layers twice make GLM 5.4 slower?
Running a block of layers an extra time adds computation at inference, so it’s reasonable to expect some added latency compared to a single-pass model of similar size, though exact performance figures weren’t available at launch.
Is GLM 5.4 open weight?
The transcript identifies GLM 5.4 as coming from Z.ai, one of the major Chinese AI labs known for open releases, but specific licensing details weren’t confirmed in available coverage at launch.
How does GLM 5.4 compare to models like GPT or Claude?
There’s no confirmed answer yet. GLM 5.4 hadn’t appeared on independent benchmark trackers like Artificial Analysis at the time of release, so direct performance comparisons remain unverified.
Why are Chinese AI labs experimenting with architecture instead of just scaling up?
Prompt
Stop stitching scripts.Ship one system.
One spec produces the whole app, with security and compliance included.
Export restrictions limit Chinese labs’ access to Nvidia’s most advanced chips, pushing some companies toward architectural approaches, like reusing layers or targeting alternative hardware such as Huawei chips, that aim to get more capability without simply adding more compute.



