Back to News
ProductAI Understanding briefing

Z.ai unveils GLM-5.4, a 750‑billion‑parameter loop transformer

Z.ai announced GLM-5.4, its first flagship model built on a loop architecture that reuses a 28‑layer block twice, claiming performance comparable to multi‑trillion‑parameter models while keeping parameter count at 750 billion.

4 min readRead the linked source
Source-provided image accompanying Z.ai unveils GLM-5.4, a 750‑billion‑parameter loop transformer
Source referenceSource recorded
Publisher
pasqualepillitteri.it
Source type
Linked source — primary-source status has not been established.
ContextUnderstand this in 60 seconds

Key terms

Transformer
A neural architecture that uses attention to model relationships across sequences in parallel.
Parameter
A learned weight inside a model that influences its outputs.
API (Application Programming Interface)
A structured way for one software system to send requests to and receive responses from another system.

What happened

Z.ai, the international brand of China’s Zhipu AI, launched GLM-5.4, a new flagship language model that uses a loop architecture. Instead of adding more parameters, the model runs a 28‑layer block twice with shared weights, creating a deeper network without increasing the count. The company says the model matches or exceeds the performance of 2‑3 trillion‑parameter models on long‑context reasoning tasks. GLM-5.4 is currently accessible via Z.ai Chat, the GLM Coding Plan, and the ZCode editor; an API is promised “coming soon.” The firm plans to release the model weights after safety hardening, but no timeline or pricing details were provided.

Z.ai announced GLM-5.4 on November 23, 2026, describing it as the company’s first flagship built on a loop architecture. The model retains a 750 billion‑ base but introduces a 28‑layer block that is executed twice with shared weights, effectively creating a 106‑layer depth for each token.

The company explains three technical interventions that make the loop feasible: (1) progressive‑update gates that modulate how much each pass writes to the residual stream, (2) a hybrid key‑value cache that reuses sparse keys from the first pass to limit memory growth, and (3) reuse of sparse attention indices to avoid extra indexing cost. These changes aim to keep inference latency and memory use manageable despite the extra pass.

In a controlled experiment on a 30‑billion‑ model (mirroring the 750 billion‑parameter base), GLM‑5.4 showed notable improvements on long‑chain reasoning benchmarks: +11.3 points on AIME25, +8.7 on GPQA‑Diamond, and +7.3 on AA‑LCR, with smaller gains (~3 points) on MMLU‑Pro and IFBench. The model also produced shorter answers on most tasks.

Z.ai reports token‑generation speeds of up to 200 tokens/second during low‑load periods and 70‑80 tokens/second at peak, attributing the performance to fused kernels that reduce intermediate memory traffic. The model is currently reachable through Z.ai Chat, the GLM Coding Plan subscription, and the ZCode editor. An API is promised but not yet available, and no pricing or regional availability details were disclosed.

The announcement notes that GLM‑5.4’s weights will be released after “necessary safety hardening,” without a specific date. This follows a similar approach with GLM‑5.3, which was temporarily withheld after security vulnerabilities were discovered.

Source details: pasqualepillitteri.it

Why it matters

GLM-5.4 demonstrates a different scaling strategy for large language models: depth through repeated computation rather than sheer growth. If the loop approach delivers comparable accuracy with fewer parameters, it could lower training costs, reduce hardware requirements, and make ultra‑large models more accessible to organizations that cannot afford multi‑trillion‑parameter systems. The model’s reported gains on reasoning benchmarks (e.g., +11.3 points on AIME25) suggest practical benefits for complex problem‑solving, coding assistance, and long‑context applications. However, the company’s own admission of “marathon thinking” – prolonged token generation that can inflate costs – highlights a trade‑off between accuracy and inference efficiency that users must monitor. The pending release of weights will allow independent verification and could influence the broader debate on open‑weight versus closed‑weight large models, especially after prior safety concerns with GLM‑5.3.

The loop concept offers a potential path to higher model capability without the exponential compute and data costs associated with scaling parameters alone. If the approach scales to flagship‑size models, it could democratize access to near‑trillion‑ performance for firms with more modest infrastructure.

Performance gains on reasoning‑heavy benchmarks suggest practical value for developers, researchers, and enterprises that need deep logical inference, code generation, or long‑context understanding. This could influence product roadmaps for AI‑assisted coding platforms and complex decision‑support tools.

Z.ai’s admission of “marathon thinking” – prolonged token generation that may increase billing – highlights a new cost dimension for token‑based pricing models. Users will need to balance accuracy gains against potential expense, especially in high‑throughput or real‑time applications.

The pending release of weights will enable the broader AI community to independently verify the claimed improvements, assess safety mitigations, and potentially incorporate the architecture into other open‑source projects. This could accelerate research into looped or recurrent designs.

Finally, the launch underscores a strategic shift for Z.ai toward “Generalized Coding,” positioning code as a universal interface for broader AI tasks. Success could reshape how AI developers think about prompting, tool use, and multimodal integration.

Interactive Mechanism

Interactive Mechanism: How It Actually Works

Explore the underlying technology behind this development interactively.

Thinking Budget (Test-Time Tokens):1,024 tokens
Complex Accuracy79%Math & Code Logic
Latency3.2sTime to first full output
Inference Cost$0.0092Per query estimated
Reasoning StyleStep VerificationInternal chain depth
Active Thinking Trace:
1Deconstruct user problem into formal constraints
2Propose candidate hypotheses & step-by-step calculation
3Self-correction: Backtrack and refute subtle edge cases
4Exhaustive consistency check & final output synthesis
Core takeaway: Test-time compute fundamentally changes AI economics. Instead of only scaling during pre-training, giving reasoning models more tokens at inference time allows them to systematically solve PhD-level STEM problems.
Interactive Concept Check+10 Points
AI Models Explained Quiz

Which component of an AI application is the machine-learning model itself?

What to watch next

Key follow‑up points include independent benchmark results, the timeline and terms for API access, pricing for the GLM Coding Plan, and whether Z.ai actually releases the model weights after safety hardening. Observers should also watch for any updates on the “marathon thinking” issue, which could affect token‑based billing, and for the next flagship model that Z.ai hints will incorporate adaptive compute.

Independent benchmark testing of GLM‑5.4 on a variety of tasks, especially outside the long‑context reasoning suite, to confirm the company’s claims.

Release timeline, pricing structure, and geographic availability of the GLM Coding Plan and the upcoming API.

Whether Z.ai follows through on releasing the model weights after safety hardening, and what safety measures are applied.

Updates on the “marathon thinking” behavior, including any mitigation strategies or billing safeguards introduced by Z.ai.

Announcement of the next flagship model, which Z.ai says will incorporate adaptive compute, and how that may further affect the trade‑off between depth, speed, and cost.

Related guides & quizzes

Found this useful?