GLM-5.4's Loop Transformer: 28 Layers Run Twice to Match 2-3T Models Without the Parameters
On November 23, 2026, Z.ai (ticker 02513.HK on the Hong Kong exchange) released its next-generation flagship model GLM-5.4. The headline this time isn't a larger parameter count, but a change in architecture: it is Z.ai's first flagship model to adopt the Loop Transformer architecture — converting 28 of the 78 layers in the GLM-5 base into shared-weight loop layers that execute twice, deepening computation without adding parameters. Z.ai claims this brings intelligence on par with models of 2–3T parameters [1][2].
The release comes with two notable points of controversy: the official announcement does not include benchmark scores for the 750B flagship model, and Z.ai, which has historically been open-source, is holding back model weights this time, citing the need for safety hardening [1][9].
This article separates vendor claims, third-party measurements, and overseas community feedback (Hacker News / X), and reconstructs the launch using four official demo videos and seven first-hand screenshots. All data is current as of November 23, 2026.
I. Quick Facts: What Is Officially Confirmed
| Item | Details | Source |
|---|---|---|
| Release date | 2026-11-23 | Official [1][3] |
| Base parameters | ~750B (some Chinese media say 700B; this article uses the official 750B figure) | Official blog [1] / media [7][8] |
| Architecture | GLM-5 base: 28 layers shared weights, looped twice; located in the middle of the 78-layer network (first 26 layers and last 24 layers are not looped) | Official [1][9] |
| Context window | 1 million tokens | Media citing official [7] |
| Multimodal | Adds vision/image input (previous gen GLM-5.3 API was text-only) | Official [4] / media [2] |
| Availability | All GLM Coding Plan users; simultaneously available on ZCode, Trae, WorkBuddy, Qoder, CatPaw, OpenCode | Official Weibo [3] / InfoQ [5] |
| Quota | V2/V3/team weekly quotas increased to 1.5x GLM-5.3 | Official [1][4] |
| Generation speed | Up to 200 token/s off-peak; 70–80 token/s at peak | Official [1] |
| API | Not yet open; to be released after safety assessment | Official [1] |
| Model weights | Planned to open-source "responsibly" with no specific date | Official [1] |
| Flagship benchmark | Not published; only 30B same-architecture control experiment data given | Official [1] |
Figure 1: Z.ai official technical blog "GLM-5.4: Toward Generalized Coding with Our First Loop Transformer", screenshot captured 2026-11-23. Source: z.ai, copyright held by original rights holder.
II. What Loop Transformer Actually Is: Getting Deeper Without More Parameters
In a standard Transformer, each layer executes only once per forward pass. To get stronger reasoning, the traditional route is to keep stacking parameters and layers. Loop Transformer does something different: the same set of shared-weight layers runs multiple rounds, each round continuing from the hidden states of the previous round. This is equivalent to a deeper network, but with unchanged parameter count [1].
This idea isn't new. The Z.ai blog openly acknowledges the academic lineage: the Universal Transformer, proposed in 2018 and published at ICLR in 2019, used weight-shared deep structures, and recent work on recurrent depth and recurrent language models has validated benefits at small scale. But previous experiments showed that a recurrent model trained from scratch cannot beat a normal model under the same compute budget. Z.ai's choice is to not train from scratch, but to convert the already-trained GLM-5 base into a loop architecture through continued training, trading a small amount of extra compute for a higher intelligence ceiling [1][2].
At the 750B scale, straightforward looping would encounter memory explosion and uncontrolled activation values. The official announcement discloses three supporting engineering designs [1][2]:
- Gated Progressive Updates: Per-token gating is set for each loop round, writing candidate changes proportionally back into the residual stream. After training, the two rounds form a division of labor — the first round uses small gates to write conservatively, stabilizing scale and building global context; the second round opens the gates to fully refine; for difficult tokens, the first round actively increases its write amplitude.
- Mixed KV Cache (global shared + independent sliding window): The second round reuses the sparse KV of the first round, keeping only a sliding window of independent KV for newly generated content. The memory cost of adding an extra loop drops from "the entire context" to "one window", which is key to keeping deployment cost manageable under a 1M context.
- Sparse Attention Index Reuse: The second round directly reuses the attention indices generated by the first round's indexer, with zero extra index overhead; testing shows results roughly equal to recomputing each round. This design carries over from the IndexShare idea published with GLM-5.2 [2].
Figure 2: Official blog section "Architecture modifications at 750B scale", listing all three designs. Source: z.ai.
It's worth emphasizing that the looping is not on output tokens, but on hidden state matrices. A Hacker News reader used one sentence to correct a common misconception: "Looping on hidden states and looping on individual tokens are two different things; this is essentially a more efficient way to increase network depth" [6]. Another reader likened it to a return to RNNs [6].
III. The Only Hard Data: A 30B Same-Parameter Control Experiment
The flagship GLM-5.4 itself has no benchmark scores. The only quantitative result the official team released comes from a 30B model with exactly the same architecture as the 750B base: same parameter count, completed 200K long-text SFT, evaluated with thinking mode enabled. The loop version used only about 10% more total training compute [1][9].
| Benchmark (30B, thinking on) | Standard baseline | Loop version | Delta |
|---|---|---|---|
| AIME25 (math) | 19.17 | 30.42 | +11.25 |
| GPQA-Diamond (science reasoning) | 47.58 | 56.26 | +8.68 |
| AA-LCR (long context) | 40.33 | 47.67 | +7.34 |
| MMLU-Pro (knowledge) | 71.65 | 75.05 | +3.40 |
| IFBench (instruction following) | 50.20 | 53.47 | +3.27 |
Two patterns stand out:
- The longer the reasoning chain required, the bigger the gain. Math, science reasoning, and long context lead the pack, exactly matching Z.ai's bet on long-horizon engineering tasks.
- Scores rise while output length falls. On GPQA, MMLU-Pro and other benchmarks, average output length drops 10%–14%, with the reduction mostly coming from the chain of thought. According to the official explanation, some reasoning shifts from "explicit output tokens" into "implicit compute depth from looping" [1][2].
The boundaries must be stated: this is the vendor's own 30B experiment, not independently reproduced by third parties, and it cannot be linearly extrapolated to the 750B flagship's real performance. Before release, architectural effectiveness was validated stepwise at 1B, 4B, 30B, and 750B, but the specific 750B scores remain missing [1].
IV. Four "Generalized Coding" Demos: What the Videos Actually Do
Z.ai positions this upgrade as the start of "Generalized Coding": code is no longer just for writing software, but becomes a universal interface for generating videos, games, 3D scenes, and mechanical designs [1]. The four videos below are from official demonstrations on the z.ai blog; copyright belongs to Z.ai and its original rights holders. This article uses them for commentary only.
1. Code2Video: Self-narration music short film "Hello World"
Direct video link (click if player doesn't display): demo-1-music-video.mp4 (about 11MB, 165 seconds)
The official description calls it a "self-narrated" music video. The implementation path reported by Wallstreet CN is: the model draws frames in real time with front-end code, then calls a third-party music model for audio [2].
2. Code2Engineering: FreeCAD six-axis robotic arm modeling
Video direct link: demo-2-robotic-arm.mp4 (about 2.9MB, 22 seconds)
The official demo builds a six-axis robotic arm using the engineering-grade CAD modeling tool FreeCAD [1]. Note: InfoQ separately performed a more complex physics animation test (metal sphere collision + three-stage gear mechanism) using Blender's Bullet rigid body solver, taking about 5 hours; that is not the same task as the official video above [5].
3. Code2Game: A fully playable 3D game "BRICKWILD"
Video direct link: demo-3-game-brickwild.mp4 (about 15.3MB, 56 seconds, original 365MB compressed)
A LEGO-style 3D island exploration game with coin collection, island maps, full UI including WASD/jump/camera control, and a watermark "Hosted by ZCode" in the bottom right corner. InfoQ's equivalent test (a 2D side-scrolling action game) took about 1.5 hours; the model delivered pure native JavaScript + HTML5 Canvas with physics collision, enemy AI, sound effects synthesis, and multi-state management [5].
4. Code23D: Bird-watching interactive scene built with pure math geometry + GLSL shaders
Video direct link: demo-4-3d-bird.mp4 (about 8.7MB, 34 seconds)
An interactive 3D scene of a long-tailed tit, with a right-side panel exposing adjustable parameters such as feathers and body shape. The official claim is that it is generated entirely from mathematical geometry and custom GLSL shaders, without relying on any existing 3D asset library [1].
InfoQ's hands-on testing gives the time costs behind these demos, which can calibrate expectations: a 20-second data visualization video took about 30 minutes, a physics 3D animation about 5 hours, a small game about 1.5 hours; peak token count during testing reached 55,047,000, and the test triggered context compression protection and multi-session rate limits [5]. The stunning effects come with a hefty cost in token consumption and waiting time.
V. Overseas Community Reactions: A 272-Point Hacker News Debate and X Announcement
Hacker News: Focus on "Why No Benchmarks?"
Within hours of release, three related threads appeared on Hacker News; the main thread reached 272 points and 115 comments at one point [6].
Figure 3: HN main thread discussion area, at screenshot time 272 points / 115 comments. Source: news.ycombinator.com.
Community opinions split into four camps:
- "No score = probably not strong enough" camp. User saretup's high-voted comment: "Without benchmarks it's hard to judge. I suspect the scores aren't impressive, otherwise they would have included them." paoliniluis, referencing recent dense releases like Kimi K3.1 Pro and Qwen 4 Max, argued that this quiet launch might imply the product isn't competitive, but "I hope I'm wrong; competition is always good" [6].
- "Applauding refusal to benchmark-chase" camp. A_D_E_P_T counters: "I'd rather applaud them for not doing benchmark maxxing. As long as it's a bit better than GLM-5.3, it's clearly an excellent coding model." underdeserver also called the quiet launch "refreshing — no flashy posters and a pile of benchmarks detached from daily experience" [6].
- Architecture safety camp. Looping pushes more reasoning into hidden states and reduces readable chain-of-thought, described by user dtj1123 as "Neuralese is coming." zozbot234 argues there's no need for panic: "An n-loop model is mathematically equivalent to a model with n times the layers and shared weights; it's actually a way to preview larger-model safety issues at lower cost." [6]
- "Marathon thinking" complaint camp. This is the longest thread in the comments. lnenad says Chinese models "doubt themselves repeatedly even on conceptually simple things, and completion times show a shocking gap compared to frontier models." Counter-arguments note that American models just hide the chain of thought — "you don't see it doesn't mean it isn't thinking." InfoQ's hands-on test and the Z.ai official blog both admit this issue — models easily fall into extended "marathon thinking," but the official view holds that this reflection and self-correction is exactly the capability needed for long-horizon tasks [1][5][6].
X: Executive Announcement, 8.2K Likes, 565 Replies
Figure 4: Z.ai head Li Zixuan (@ZixuanLi_)'s official announcement tweet, at screenshot time 8.2K likes, 565 replies. Source: X public embed page.
Li Zixuan announced on X that GLM-5.4 is available to all GLM Coding Plan users, emphasizing new vision capabilities, improved coding performance, and a 50% weekly quota increase [4]. The official @Zai_org account announcement highlighted four directions: loop layers deepen reasoning, extensions into video/game/3D shader/CAD, vision coding, and safety assessment commitments for API and weights [10].
Reddit: No independent hot threads within 12 hours
To be transparent: as of writing, a full Reddit search (including r/LocalLLaMA, r/singularity) found no searchable independent discussion thread on GLM-5.4, with immediate English-community feedback concentrated on Hacker News and X. HN commenters noted that loop-based hidden-state reasoning had been discussed multiple times in r/LocalLLaMA, seen as "a visibly missing piece in the direction of latent-space loop thinking" [6]. Subsequent Reddit activity is worth tracking.
Independent reviewer's private score: 33.2, but not reproduced
Chinese media cited a private test by overseas reviewer @AICodeKing, who has long tracked Z.ai models: GLM-5.4 scored 33.2, roughly matching GPT-6.2 Astra's 33.6, within 5% of Opus 5.5's 34.7; he commented that "over 99% of reasoning steps actively enable logical inference, while GPT series runs about 14%–39%," calling it "the most meticulous model I've used," at the cost of longer task completion times [7][8].

Figure 5: Chinese media (Zhongguancun Online) report on the private test. Source: ai.zol.com.cn.
This information must be treated with caution: it is a private test from an individual reviewer with no public evaluation set, sample size, or reproduction pipeline. The numbers 33.2/33.6/34.7 cannot be treated as official or authoritative third-party rankings.
VI. Chinese Media Hands-On Tests and Official Channels
Figure 6: InfoQ hands-on report published via Sina Technology. Source: finance.sina.cn.
InfoQ's hands-on is the most concrete Chinese-language test so far [5]:
- Code2Video: The model used Pillow to draw frames iteratively + FFmpeg encoding, with 2x supersampling. Six years of revenue/R&D data matched the input CSV exactly, and the R&D ratio calculation was basically correct, taking nearly 30 minutes.
- 3D physics animation: Blender Bullet rigid body solver + HINGE constraints + 12/18/27-tooth three-stage transmission, 120FPS physics solving with 10 substeps per frame, taking about 5 hours; exception handling still has room for improvement.
- Coding metrics: Z.ai claims that in internal evaluations across 200 real coding scenarios, GLM-5.4 shows a 55.8% improvement over GLM-5.3, and ranks first among open-source models on Terminal Bench, Agents' Last Exam, DeepSWE, and HLE — but note these are vendor self-reported figures, with no complete score table published [5].
Figure 7: Z.ai official Weibo announcement, listing three key points and launch platforms. Source: m.weibo.cn.
Wallstreet CN additionally reported a plan not confirmed by Z.ai: a J.P. Morgan research memo shows Z.ai management expects to launch a significantly larger next-generation model in Q4; some Chinese media say a 3T-parameter GLM-5.5 is planned for December. Both are single-source claims; Z.ai has only said "a significantly larger model will meet you soon," without confirming timing or parameters [2][7][8].
VII. Three Unavoidable Controversies
1. Why are the weights delayed? Z.ai's GLM series has traditionally been known for open weights; this time only a promise, no date. Overseas media madrobot places it in a regulatory context: in September this year, Anthropic's frontier red-team report said GLM-5.3's ability to construct network attack vulnerabilities was close to Claude Mythos Preview, and its guardrails could be removed with simple methods; in November, a U.S. House committee report mentioned individuals with ties to Chinese military cyber units making multiple visits to Z.ai's Beijing headquarters. Z.ai's release blog post mentions neither event [9]. Additionally, the first model from Bezos-backed humans& lab is built on GLM-5.3; the spillover from open weights is real [9].
2. How solid is the "no distillation traces" claim? Some Chinese media cite netizen comments calling GLM-5.4 "free of leaderboard-chasing tuning, with no obvious distillation traces" [7][8]. This is subjective perception, not technical forensics. The HN debate is more sober: ii41 points out that the distillation theory fails to explain why Europe and Japan are also behind — "they could also distill; the real constraint is compute." Others counter that European/Japanese companies face direct legal risks [6]. Combined with this series' previous analysis of model distillation, similarity in capability and the legal fact of distillation cannot be equated.
3. Is the loop architecture unique to Z.ai? No. The Next Web reports that just one week before GLM-5.4's release, Thinking Machines released a loop model for laptop devices [10]; HN comments also mention that the GPT-6.1 series has been exposed (community rumor, no official confirmation) to use Loop Transformer [6]. Z.ai's differentiation is pushing this route to the 750B flagship scale for the first time with a complete engineering solution, whereas prior published loop language models stayed around 1B–3.5B scale [2].
VIII. Conclusion: A Route Validation of "Trading Scale for Depth"
Putting all the evidence together, GLM-5.4's real weight can be summarized as:
- The architectural significance outweighs the benchmark significance. Under constraints on top-tier compute, using roughly 10% extra training compute and shared-weight loops to gain reasoning depth is a route validated by the 30B experiment, but not yet proven at 750B with public scores.
- The demo capabilities are real, but the costs are equally real. The four generalized coding demos plus InfoQ's independent tests prove that code is becoming a universal interface for video, games, 3D, and mechanical design; but a 5-hour physics animation and a 55-million-peak-token bill mean it currently suits high-value long-horizon tasks, not low-latency interactions.
- The shift in release posture deserves attention. No flagship benchmark, delayed weights, safety assessment ahead — the outside world can only rely on vendor statements and scattered private tests for the near term. The next observation windows are clear: third-party scores after the API opens, open-source license terms, and the rumored larger model in December.
Z.ai ended its blog with an honest line: adaptive computation (giving tokens of varying difficulty different loop counts) and how loop benefits scale are still open questions [1]. GLM-5.4 offers not an answer, but a roadmap — whether this road can truly circumvent the parameter and compute ceiling requires independent evaluation, not a launch event.
References
- GLM-5.4: Toward Generalized Coding with Our First Loop Transformer — z.ai official blog (2026-11-23)
- 智谱GLM-5.4携循环推理架构上线,如何以更少token完成思考 — 华尔街见闻
- 智谱官方微博 GLM-5.4 发布公告
- Zixuan Li(李子玄)X 官宣推文
- GLM-5.4 编程能力暴涨、3D惊艳,但推理变久了?— InfoQ / 新浪科技
- Hacker News 主帖:GLM-5.4(272 分讨论区)及两个关联帖
- 智谱发布7000亿参数GLM-5.4大模型,Loop架构引领轻量高效新范式 — 中关村在线
- 智谱GLM-5.4大模型发布:仍是开源最强、比Opus 5.5差距5%内 — 快科技/什么值得买
- Z.ai launches GLM-5.4 Loop model, holds back open weights — madrobot.blog
- Z.ai's GLM-5.4 runs its layers twice to rival 2T-parameter models — The Next Web
- Z.ai's GLM-5.4 Uses Iterative Depth Without Adding Parameters — Unite.AI
Copyright and disclaimer: This article does not constitute investment advice.
Top 2 of 3 from juejin.cn, machine-translated. The original thread is authoritative.
Getting more and more impressive.
Models are evolving too fast; just don't know if they've distilled Claude or GPT [don't look].
Making the middle 28 of the 78 layers shared weights and looping them twice trades deeper thinking without increasing memory or parameters. But with the official release withholding weights and lacking full benchmark scores, we'll have to wait for third parties to finish long-range tasks before concluding.