AI News · 8 min read

Zhipu Releases GLM-5.4, Its First Loop Transformer Flagship

Zhipu unveiled GLM-5.4, a 750B-class Loop Transformer with Generalized Coding and vision understanding. API access and open weights are still pending.

A brushed-steel ring standing on a dark stone floor, with two ribbons of cool cyan light passing through the opening and looping back, with no text or logos

Zhipu released GLM-5.4 on November 23, 2026, introducing its first 750B-scale flagship built on a Loop Transformer architecture for Generalized Coding. As of November 24, 2026, GLM-5.4 is open only to GLM Coding Plan subscribers, while public API access and open weights remain pending.

What Zhipu announced on November 23, 2026

On November 23, 2026, Zhipu (also branded as Z.ai) published the announcement post “GLM-5.4: Toward Generalized Coding with Our First Loop Transformer”, introducing GLM-5.4 as its first flagship model built on a Loop Transformer architecture. In its official Chinese model documentation, the company describes GLM-5.4 as its first flagship adopting the Loop Transformer design and pairs that architecture shift with a new capability direction it calls Generalized Coding (「泛 Coding」).

Zhipu writes in the English blog that GLM-5.4 is aimed at “reaching intelligence levels comparable to 2T-3T parameter models” despite operating at a 750B scale. That comparison is Zhipu’s own claim across its blog and documentation, rather than an independent third-party evaluation. Neither official page publishes public third-party benchmark tables verifying the 2T-3T comparison, and Zhipu did not publish a granular active-parameter count for GLM-5.4.

I find the architectural angle more concrete than the headline parameter comparison. Instead of growing raw parameter count alone, Zhipu adapted an existing 750B-scale base model so part of the network runs twice per forward pass, trading extra sequential compute for deeper internal refinement.

What is a Loop Transformer in GLM-5.4?

A Loop Transformer in GLM-5.4 reuses a shared block of 28 layers from the GLM-5 base model across two forward iterations, whereas a standard Transformer executes each layer once per pass. By feeding the hidden states from the first iteration back through the same 28 weight-shared layers, the network achieves greater effective depth without adding new parameters.

In the blog, Zhipu cites the 2018 Universal Transformer and subsequent recurrent-depth language model research as prior art. According to Zhipu, looped models trained from scratch still trail unshared models under identical pre-training compute budgets. To avoid that penalty, the company explains: “Instead of pre-training from scratch, we adapted an already pre-trained base model into a Loop Transformer through continued training.”

Before committing to the 750B-scale flagship, Zhipu validated this continued-training recipe progressively across 1B, 4B, 30B, and 750B base models. Scaling the loop to 750B required three architectural modifications documented in the announcement.

Gated Progressive Updates

Directly overwriting hidden states when turning middle layers into a multi-pass loop caused activation norms to blow up in Zhipu’s experiments. GLM-5.4 solves this by adding independent per-token gates for each iteration to write candidate updates proportionally back into the residual stream. Zhipu reports that after training, the first iteration builds global context conservatively with small gate values, while the second iteration opens the gates wider to write full updates, with harder tokens receiving more aggressive writes during the first pass.

Hybrid KV Cache

Keeping a full key-value cache for every loop pass would sharply increase memory cost at long contexts; readers unfamiliar with how attention caching scales can review our guide on what KV cache is. GLM-5.4 uses a Hybrid KV Cache combining global sharing with an independent sliding window. The second loop reuses the sparse KV entries selected during the first pass while maintaining its own newly generated KV cache inside a sliding window, so the second pass adds one sliding window of cache instead of a full context cache. Zhipu states this keeps GLM-5.4’s deployment cost increase over GLM-5.3 “well under control” at 1M context lengths.

Sparse Attention Index Reuse

Because the GLM-5 base model uses sparse attention, running an attention indexer separately on every loop iteration would add latency. In GLM-5.4, the second loop reuses the attention indices produced by the first loop’s indexer, “adding zero indexing overhead.” Zhipu states that reusing those indices performs nearly identically to recomputing them on each pass.

What Zhipu’s 30B experiment showed

To measure how looping affects reasoning without changing parameter count, Zhipu ran an iso-parameter ablation on a 30B model sharing the same architecture as the 750B base, evaluated after 200K long-context supervised fine-tuning with thinking mode enabled. Using “identical parameter counts and only ~10% more total training compute,” Zhipu reports that longer reasoning chains benefited most, with the largest gains appearing in math, scientific reasoning, long-context tasks, and (per the Chinese docs) code. Across benchmarks such as GPQA-Diamond and MMLU-Pro, Zhipu states that average output length fell by 10–14%, primarily from shorter explicit chains of thought, which the company interprets as reasoning shifting into the implicit depth of the loop. Zhipu did not include numeric benchmark tables for that 30B ablation or for GLM-5.4 in the retrieved announcement pages.

What does Generalized Coding mean in practice?

Generalized Coding, which Zhipu calls 「泛 Coding」 in its Chinese documentation, is GLM-5.4’s approach of using code generation and tool calling to handle video production, game development, 3D modeling, and mechanical design. The blog frames it this way: “GLM-5.4 marks the start of Generalized Coding, where code becomes the foundation for solving a much wider range of tasks and unlocking new capabilities.”

According to Zhipu’s documentation, GLM-5.4 adds visual understanding and accepts video, image, text, and file inputs, while its output modality remains text. GLM-5.4 is a text-output coding and reasoning model rather than an image or video generator release. In a tool-calling workflow, developers supply storyboards, reference images, or design requirements, and GLM-5.4 writes code, invokes specialized external software, inspects the results, and revises its code across iterations.

Official GLM-5.4 demos

Zhipu’s blog and Chinese documentation highlight four official demonstrations of Generalized Coding (all reported by Zhipu, not independently tested by Lotook):

  • Video production: In an official “Hello World” self-narrated music video cited in the blog, creator Mike Luan used GLM-5.4 from concept and composition through motion and frame rendering. Front-end code drew the visuals in real time with zero image assets, while GLM-5.4 planned the music, called a third-party music generation model, and refined prompts over multiple rounds.
  • Mechanical engineering: Official docs describe GLM-5.4 building a 6-axis robotic arm through engineering-grade CAD modeling in FreeCAD, calling Blender for motion and visualization, and synthesizing audio for a logo-grabbing simulation.
  • Game development: The English blog shows GLM-5.4 generating a complete game covering character movement, physics, maps, combat systems, and art assets.
  • 3D scenes: The blog highlights an interactive 3D macro bird-watching scene built from scratch with pure mathematical geometry and custom GLSL shaders; Chinese docs credit creator 夜神不说话 for a long-tailed tit (北长尾山雀) scene using zero external 3D models and zero texture files.

In its Chinese documentation, Zhipu also cites an internal hands-on evaluation across 200 real programming scenarios. Zhipu reports that GLM-5.4 ranked among the leading domestic Chinese models in overall coding experience and stood out on visual coding, visual replication, and long-horizon tasks, though no numeric scores were published.

GLM-5.4 specs, access, API, and open weights

As of November 24, 2026, GLM-5.4 is open exclusively to GLM Coding Plan users, while public API access and open weights remain unreleased. Weekly-quota subscribers on the GLM Coding Plan receive 1.5× the GLM-5.3 usage allowance when running GLM-5.4. Zhipu’s announcement also links to ZCode and Z.ai Chat as product destinations, alongside a dedicated API (Coming Soon) page.

Item Official GLM-5.4 Status (as of Nov 24, 2026)
Architecture Loop Transformer (28 GLM-5 layers looped twice; 750B scale)
Input modalities Video, image, text, file
Output modality Text only
Context window 1M tokens
Maximum output 128K tokens
Documented capabilities Thinking modes, streaming, Function Calling, context cache, structured output (JSON)
Current access All GLM Coding Plan users (1.5× GLM-5.3 quota for weekly-quota users)
Public API Coming soon; opens after safety evaluation (no pricing or date published)
Open weights Planned after safety hardening; not released yet

Zhipu’s documentation confirms that the model API will open only after a safety evaluation finishes, and Zhipu has not announced per-token prices, rate limits, or an API launch date. On weights, the blog states: “Open Weights: We plan to open-source the model weights responsibly after completing necessary safety hardening.” Unlike labs tracked in our 2026 open-weight models overview, Zhipu has not yet published GLM-5.4 weights, a license, or a repository.

What are GLM-5.4’s official speed claims and limitations?

Zhipu reports in its official documentation and blog that GLM-5.4 serves up to 200 tokens/s off-peak and 70 to 80 tokens/s at peak load, while acknowledging a tendency toward overly long thinking loops. Those throughput figures (for readers checking how AI tokens map to serving speed) reflect Zhipu’s own serving environment, without published hardware specs or independent measurements.

On limitations, Zhipu states directly in the English blog: “The model still has some limitations. Most notably, it tends to get caught in overly long ‘marathon thinking’ loops, though this prolonged reflection and self-correction does consistently improve accuracy beyond its parameter count.” The Chinese documentation refers to the same behavior as 「雷霆大思考」模式 and notes that extended self-correction supports long-horizon tasks, which aligns with the company’s priorities. Looking ahead, Zhipu says it is researching adaptive compute so harder tokens dynamically receive more iterations and confirms that “our next, significantly larger model will carry forward everything we learned here. It will be ready soon.”

FAQ

These answers summarize what Zhipu’s official English blog and Chinese model documentation confirm about GLM-5.4 as of November 24, 2026.

Is GLM-5.4 an image or video generation model?

No. According to Zhipu’s official model documentation, GLM-5.4 produces text output only, with a 128K maximum output limit. While it accepts video, image, text, and file inputs, it handles visual tasks by writing code and calling external tools such as FreeCAD, Blender, or third-party media models, then inspecting results and revising its code.

Does GLM-5.4 really match 2T to 3T parameter models?

That statement comes solely from Zhipu’s November 23, 2026 announcement and Chinese documentation, which describe GLM-5.4 as reaching intelligence levels comparable to 2T-3T parameter models. Neither document publishes an independent third-party benchmark table verifying that claim, and Lotook has not tested or measured GLM-5.4 against other frontier models.

Can I use the GLM-5.4 API or download open weights right now?

No. As of November 24, 2026, Zhipu lists the GLM-5.4 API as coming soon and states that API access will open only after a safety evaluation is completed, with no pricing or release date published. Open weights are also unavailable, as Zhipu plans to release them only after safety hardening.

How does GLM-5.4 compare to Inkling 2 Mini?

GLM-5.4 and Inkling 2 Mini both use looped transformer architectures, yet they are completely different models from separate labs. Inkling 2 Mini is a 26.4B open-weight model from Thinking Machines Lab designed to run on a laptop, whereas GLM-5.4 is Zhipu’s 750B-scale flagship whose open weights have not been released.

What is the “marathon thinking” issue Zhipu mentioned?

Zhipu acknowledges in its official blog that GLM-5.4 tends to enter overly long “marathon thinking” loops, described in its Chinese documentation as 「雷霆大思考」模式. According to Zhipu, this extended self-reflection and self-correction consistently improves accuracy on long-horizon tasks, even though it increases reasoning length.

Sources

Written by

Chunyu Cai

Chunyu Cai is the CEO of Lotook, LLC and an entrepreneur who writes about AI models, agents, and how they change everyday work. Chunyu holds a master's degree from Imperial College London.