Breaking
Z.ai Launches GLM-5.4: First Loop Transformer Model Matches 2T-Parameter Performance at 750B
Zhipu AI's Z.ai lab releases GLM-5.4, a 750B-parameter coding model using a novel Loop Transformer that re-runs layers to rival models 3x its size. The model launches 23 November 2026 with benchmarks showing competitive coding performance.

By Clara Tan, Artificial Intelligence
9 min read
What changed
Z.ai, the international brand of Chinese AI lab Zhipu AI, released GLM-5.4 on 23 November 2026. It is the company's first flagship model built on a Loop Transformer architecture, a design that runs a subset of the model's layers more than once during each forward pass. The 750-billion-parameter model matches the intelligence of models with 2 to 3 trillion parameters on coding benchmarks, according to Z.ai's technical blog published the same day.
The Loop Transformer approach reuses computation inside the network rather than adding more parameters. Z.ai validated the architecture progressively across 1B, 4B, 30B, and 750B base models before committing their flagship to it. The company says this lets them deliver frontier-level coding performance at a fraction of the inference cost of denser trillion-parameter models.
What is GLM-5.4 and how does it work?
GLM-5.4 is a 750B-parameter large language model optimised for coding. Its defining feature is the Loop [Transformer](/ai/inkling-2-mini-thinking-machines-lab-releases-looped-transformer-model-for-local-ai) block: instead of a single pass through all layers, the model loops back and re-executes a configurable subset of layers a second time. This effectively doubles the depth for those layers without doubling the parameter count.
Property | GLM-5.4 | Typical 2T-parameter dense model |
|---|---|---|
Parameters | 750B | ~2,000B, 3,000B |
Architecture | Loop Transformer (layer reuse) | Standard Transformer |
Forward-pass compute | ~1.3, 1.5× a 750B dense model | Baseline |
Target domain | Generalised coding | General purpose |
Release date | 23 November 2026 | , |
Primary source | Z.ai technical blog | , |
The loop mechanism is controlled by a learned gating function that decides which layers to re-run and how many times. Z.ai's blog states they tested loop depths of 1× (no loop), 2×, and 3× across model scales, finding that 2× loops at 750B delivered the best compute-efficiency frontier for coding tasks.
What GLM-5.4 can do: worked examples
Example 1: Python function generation with type hints
Source: Z.ai blog demo (23 Nov 2026) Prompt: "Write a Python function that fetches JSON from a REST API, retries with exponential backoff up to 3 times, and returns a typed dataclass." Result: GLM-5.4 produced a complete, runnable function with httpx, tenacity for retries, @dataclass for the return type, and full type annotations, including Optional handling for error cases. The code compiled and ran on first try when tested by Z.ai engineers.
Example 2: Rust async trait implementation
Source: Z.ai blog demo (23 Nov 2026) Prompt: "Implement an async trait Cache with get, set, and invalidate methods using redis-rs, with connection pooling." Result: The model generated idiomatic Rust using async_trait, deadpool-redis for pooling, and proper error handling with thiserror. A Z.ai engineer confirmed the code passed cargo check and integrated into their internal service template.
Example 3: Debugging a memory leak in Go
Source: Z.ai blog demo (23 Nov 2026) Prompt: "This Go HTTP handler leaks goroutines. Find the bug and fix it." (Code snippet with a sync.WaitGroup misuse) Result: GLM-5.4 identified the missing wg.Done() in a deferred closure, explained the leak mechanism, and provided the corrected version with a comment. The fix matched the solution a senior Go engineer on the Z.ai team had previously written.
Example 4: SQL query optimisation
Source: Z.ai blog demo (23 Nov 2026) Prompt: "Optimise this Postgres query: it scans 50M rows but only needs 100. Add the right index and rewrite." Result: The model proposed a partial index on the filtered column, rewrote the query to use a CTE with LIMIT, and estimated the plan cost drop from ~1.2M to ~400. Z.ai verified the plan with EXPLAIN ANALYZE on a staging database.
Limits and known issues
Context window: The blog does not state the exact context length for GLM-5.4. Prior GLM-5.x models used 128K, 200K tokens; assume similar until documented.
Licensing: Z.ai has not published the model weights or a licence for GLM-5.4. The release is an API/hosted announcement; local deployment is not yet available.
Benchmarks: Z.ai cites internal coding benchmarks (HumanEval, MBPP, LiveCodeBench) showing parity with 2T+ models, but third-party replication is pending. No MMLU, GPQA, or general reasoning scores are disclosed.
Multilingual: The blog emphasises coding; natural-language performance outside code is not characterised.
Pricing/API: No public pricing or API endpoint is listed in the 23 November blog post. Z.ai's prior GLM models were served via
z.aiandopen.bigmodel.cnwith token-based pricing.
Why it matters
The Loop Transformer is a compute-efficiency architecture that challenges the prevailing assumption that frontier intelligence requires trillion-parameter dense models. By reusing layers, Z.ai achieves comparable coding performance at roughly one-third the parameter count and 30, 50% less inference compute. If the approach generalises beyond coding, it could reset the cost curve for deploying capable models.
For developers, the immediate signal is: a 750B model that codes like a 2T model may soon be accessible at lower latency and cost, if Z.ai opens API access or weights. For the field, it is a validated proof point that architectural innovation (layer reuse) can substitute for raw scale on a major capability benchmark.
Background: Zhipu AI and the GLM series
Date | Milestone |
|---|---|
2023-10 | Zhipu AI releases GLM-4 (open weights, 9B/130B) |
2024-06 | GLM-4V adds vision; GLM-4-9B-Chat open-sourced |
2025-01 | GLM-5.0 announced (dense, 1T+ parameters, internal) |
2025-08 | GLM-5.1 released via API; pricing ~$1/$3 per M tokens |
2026-05 | GLM-5.2 open-sourced (7B/72B); Loop research begins |
2026-11-23 | GLM-5.4: first Loop Transformer flagship (750B) |
Zhipu AI (智谱华章) is a Beijing-based AI lab founded in 2019 by Tang Jie and alumni of Tsinghua University's Knowledge Engineering Group. It has raised over $1.5B from investors including Alibaba, Tencent, Meituan, and Saudi Aramco's venture arm. The Z.ai brand targets international developers and enterprises.
What to watch
API access and pricing, Z.ai has not announced public API endpoints or pricing for GLM-5.4. Prior models launched on
open.bigmodel.cnwithin weeks.Open weights, GLM-5.2 (7B/72B) were open-sourced; GLM-5.4 weights may follow a similar timeline or remain API-only.
Third-party benchmarks, Independent replication on HumanEval+, LiveCodeBench, and SWE-bench will confirm or refute the 2T-parity claim.
Generalisation beyond coding, The Loop Transformer was validated on coding; whether it transfers to reasoning, math, or multilingual tasks is unproven.
Competitive response, DeepSeek, Moonshot (Kimi), and international labs (Anthropic, OpenAI, Google) may adopt layer-reuse architectures if the compute savings hold.
This story was first published by TechWhoKnows on 23 November 2026. Original: https://techwhoknows.com/ai/zai-launches-glm-54-first-loop-transformer-model-matches-2t-parameter-performance-at-750b
Sources
- 1Z.ai technical blog (primary)z.ai
- 2The Next Web coveragethenextweb.com
- 3Hacker News discussionnews.ycombinator.com