
Pexels/Eren Li
Z.ai launched GLM-5.4, a roughly 750-billion-parameter model it describes as a loop transformer that reruns layers: 28 of its 78 layers run twice for every token, stretching stored depth into 106 layer passes without adding 28 more layers of unique weights. Developers weighing the model on Nov. 23, 2026, need two facts together: looping saves weight memory but not compute, and any request sent to Z.ai's hosted service goes to a Beijing company bound by China's National Intelligence Law Article 7.
That decision frame matters because the evidence for GLM-5.4's gains comes almost entirely from Z.ai itself. The headline result is an ablation on a 30-billion-parameter model, not the full system, and Z.ai skipped popular benchmarks in its launch. No benchmark scores for the 750-billion-parameter model have been published, and no independent evaluation has been reported. The sections below cover the mechanism, the trade-off it makes, and the limits a buyer should price in.
A standard transformer sends each token once through a stack of unique layers. A loop transformer, also called a recurrent-depth model, reuses a block of layers and sends the token through it more than once. According to The Decoder's account of Z.ai's design, GLM-5.4 uses a 26-layer prelude, looped layers 27-54, and a 24-layer coda.
The arithmetic is simple. The prelude has 26 layers, the loop has 28 and the coda has 24, which sums to 78 stored layers. Because the loop executes twice, the model performs 26 + 56 + 24 = 106 layer passes per token. That is TechTimes' own calculation from the reported layer ranges.
Z.ai did not train this design from scratch. It continued training the GLM-5 base, because looped models trained from scratch still trail unshared ones on the same compute budget. That base is a mixture-of-experts model with 744 billion total parameters and 40 billion active per token. A mixture-of-experts model queries only a subset of its experts for each token, so weight memory tracks total parameters while per-token compute tracks active ones.
Reusing a block of layers creates a stability problem: each pass writes back into the same residual stream, and without control the activations can grow and drift. Z.ai lists per-token gates that decide how much each pass writes back. TechTimes covered the same family of problem in June, when an arXiv paper reported that hidden-state norms in looped models can reach the thousands under standard training.
The second pass is also kept cheap in memory. The second loop reuses the first pass's KV cache and adds only a small sliding window of fresh local context. The model also reuses the first pass's sparse-attention maps and fuses core operations at the hardware level to cut overhead. The index reuse echoes the IndexShare technique listed for GLM-5.2 in Z.ai's GLM-5 repository.
Looping adds depth without storing new weights, so the 750-billion figure understates how much work each token does. At 106 layer passes against 78 stored layers, the model executes about 36% more layers per token than its stored layer count suggests, by TechTimes' count. The saving is in memory, not compute. Reused layers need no additional weight storage, but each reuse is still a full execution.
Z.ai's reported ~10% extra compute does not contradict that figure, because it measures something else. According to The Decoder, the looped 30-billion-parameter test model received about 10 percent more than its baseline. The 36% figure counts per-token layer passes at inference. Wccftech reports speeds of up to 200 tokens per second, and no figure for speed under load was found in the coverage reviewed.
This changes how readers should compare models. Mixture-of-experts already separates total from active parameters, and looping separates stored layers from executed layers. Neural scaling law research already documents trading inference-time compute against model size and training compute in other systems. A parameter count in a model name no longer tells a buyer what a token costs.
Z.ai's strongest evidence is an ablation on a 30-billion-parameter model that used about 10% more training compute. In Z.ai's reported results, AIME25 rose from 19.2 to 30.4, GPQA-Diamond from 47.6 to 56.3 and AA-LCR from 40.3 to 47.7. Those are gains of 11.2, 8.7 and 7.4 points, or about 58%, 18% and 18% in relative terms, by TechTimes' calculation.
Three caveats apply. The test is Z.ai's own. It ran at 30 billion parameters, not at the roughly 750 billion of the full-scale model. And Z.ai has published no benchmark scores for the 750-billion-parameter model at all. A looped model that wins in a small ablation can still behave differently at full scale, and nothing published yet tests that.
The independent baseline is for the previous model, and it covers one domain. The US National Institute of Standards and Technology's Center for AI Standards and Innovation (CAISI) published CAISI's cyber-capability assessment on Sept. 17, 2026. By an aggregate score across its cyber benchmarks, it measured GLM-5.3 about four months behind the US frontier. No equivalent evaluation of GLM-5.4 has been reported, so the size of any gap, and whether looping closed it, is unmeasured.
GLM-5.4 is available to GLM Coding Plan subscribers, in the ZCode tool and in Z.ai Chat. The same report says API access will follow a safety evaluation and open weights will follow safety hardening, with no release date for either. The official GLM-5 repository, which lists GLM-5.3 as its newest model, does not mention GLM-5.4. For reference, NIST reports that Z.ai released GLM-5.3's weights about two weeks after that model's August 14 launch, but no such timetable has been given for GLM-5.4.
That matters because self-hosting is the usual way to avoid sending data to Z.ai. Until weights ship, hosted access is the only route to GLM-5.4. Even then, a roughly 750-billion-parameter mixture-of-experts model must hold every expert in memory, a hardware cost the headline price does not capture. TechTimes previously reported that self-hosting GLM-5.2 at full precision requires about 1.5 terabytes of GPU memory. TNW also reported that Z.ai's ZCode coding tool created an encrypted archive and tried to upload it, which Z.ai attributed to a repository-indexing feature enabled by default and said it fixed. The hosted tools around the model carry risk separate from the model itself.
China's National Intelligence Law of 2017 is the fixed legal condition on Z.ai's hosted service. Article 7 states that all organizations and citizens shall support, assist and cooperate with national intelligence efforts, in accordance with law. Article 14 lets intelligence institutions ask organizations and citizens for help they need. A US counterintelligence bulletin says the law imposes affirmative legal responsibilities on entities to provide access to or collaborate with PRC intelligence agencies, and that such laws may force locally employed PRC nationals of US companies to assist.
Two companion laws add to the picture, according to the same bulletin. The 2017 Cybersecurity Law requires data stored in China to be accessible to intelligence services and requires certain data to be localized. The 2021 Data Security Law sorts data into tiers by its importance to state security and subjects cross-border flows to added requirements. Separately, the Commerce Department's Entity List rule of January 2025 added Beijing Zhipu Huazhang Technology, listed with the alias Zhipu AI, saying its advanced AI research advances China's military modernization.
None of these laws turns on a company's stated policy, and the obligation is a standing legal condition rather than a response to a specific request. Prompts, source code, uploaded files and usage metadata sent to a hosted endpoint all fall within what a Chinese company could be asked to provide. Self-hosting published weights avoids that routing, but only where weights exist.
GLM-5.4 is not the first looped design. The Universal Transformer paper of 2018 described a recurrent, self-attentive model that iterates over depth. A 2025 paper introduced Ouro, a looped language model family. What is new in GLM-5.4, by Z.ai's account, is the prelude, loop and coda split applied to a mixture-of-experts model at roughly 750-billion-parameter scale, with gates and a shared cache to hold it together.
OpenAI is also reported to be using the idea. Fortune reported that OpenAI's Astra model uses recurrent depth in part of its architecture, and that OpenAI chief scientist Jakub Pachocki said the company limited how much the looped approach is used so reasoning stays readable. Safety researchers quoted by Fortune warn that reasoning inside hidden loops is harder for humans, and for chain-of-thought monitors, to follow.
GLM-5.4's design is a real engineering step: reusing 28 layers adds depth without adding 28 layers of weights, and Z.ai's 30-billion-parameter ablation shows meaningful gains for about 10% extra training compute. The same design costs about 36% more layer passes per token than its 78 stored layers imply, so the 750-billion figure is not a cost guide. Every score behind the gains is creator-run and comes from the 30-billion-parameter test model, and the last independent evaluation of a GLM model measured GLM-5.3 about four months behind the US frontier on cyber benchmarks. Weights for GLM-5.4 are promised but undated, which leaves hosted access as the only route, and hosted access sits under China's National Intelligence Law, Cybersecurity Law and Data Security Law. Until independent audits and published weights arrive, GLM-5.4 fits public or non-sensitive workloads, and anything involving proprietary code or regulated data belongs on a model whose operator and jurisdiction you can verify.
A loop transformer, or recurrent-depth model, reuses a block of its layers and runs each token through that block more than once, so a model can act deeper than the number of layers it stores. GLM-5.4 loops layers 27-54 twice.
It saves weight memory, not compute. Reusing layers avoids storing 28 extra layers of weights, but the model still executes 106 layer passes per token against 78 stored layers, about 36% more by TechTimes' count. Z.ai's reported 10% extra compute applies to training the 30-billion-parameter test model, not to per-token inference.
Only if weights are published and you run them on your own hardware, and GLM-5.4 weights are promised but undated. Hosted access routes data through a Beijing company subject to China's National Intelligence Law Article 14, which lets intelligence institutions request assistance, and that obligation applies regardless of the company's stated privacy policy.
No. In a mixture-of-experts model, only the active parameters (40 billion in the GLM-5 base model) run for each token, and in a looped model some layers run twice. Both facts break the link between a parameter count and per-token compute, so ask for measured tokens-per-second and cost figures instead.
