Product Launch read

Z.ai releases GLM-5.4, its first Loop Transformer model

Z.ai's new flagship GLM-5.4 runs 28 layers of its GLM-5 base twice per token, a looped design the company says reaches the level of 2T-3T parameter models. It is live for GLM Coding Plan users now, with API access to follow.

AE
Aidose Editorial
Nov 24, 2026

Z.ai has released GLM-5.4, its new flagship model and the first it has built on what it calls a Loop Transformer architecture. The company says the model reaches intelligence levels comparable to models with 2 to 3 trillion parameters. GLM-5.4 is available now to all GLM Coding Plan subscribers. Z.ai says the Model API will open once a security assessment is complete.

In a standard transformer each layer runs once per forward pass. GLM-5.4 instead runs 28 layers of the GLM-5 base model for two iterations, so the network gets deeper without adding parameters. Z.ai says it did not train a looped model from scratch. It adapted an already pre-trained base of roughly 750B parameters through continued training. The company says it validated the approach at 1B, 4B, 30B and 750B scale first.

Z.ai made three changes to keep the looped design stable and affordable. Per-token gates control how much each pass writes back into the residual stream. A hybrid KV cache lets the second pass reuse the first pass's sparse KV and keep only a sliding window of its own, so an extra loop costs one window of cache rather than a full context. The second pass also reuses the first pass's sparse-attention indices. In a 30B iso-parameter ablation with about 10% more training compute, Z.ai reports the largest gains on math, scientific reasoning and long-context tasks. Average output length fell 10 to 14% on benchmarks such as GPQA-Diamond and MMLU-Pro, because some reasoning moves out of visible tokens and into the loop.

The model accepts video, image, text and file input, has a 1M-token context window and a 128K maximum output, and supports thinking mode, function calling, context caching and structured JSON output. Z.ai quotes throughput of up to 200 tokens per second off-peak and 70 to 80 tokens per second at peak. Weekly-quota Coding Plan users get 1.5 times the GLM-5.3 quota for GLM-5.4. Z.ai notes one limitation: the model can get stuck in overly long "marathon thinking" loops.

For developers, the practical point is that more of the model's reasoning happens inside the loop and less shows up as written chain-of-thought. That can cut token costs, but it also leaves less visible reasoning to inspect. Z.ai says a significantly larger model built on the same lessons is coming soon.

AE
Aidose Editorial
Nov 24, 2026 · read
Back to News