Z.ai launches GLM-5.4 with Loop Transformer architecture and initial limited access
Image generated by the Inferama Editorial Team
01

Announcement and initial availability

Z.ai has launched GLM-5.4, its latest flagship model, built on the new Loop Transformer architecture. The company positions it as the start of "Generalized Coding," an expansion of coding capabilities toward broader tasks such as video generation, 3D modeling, and mechanical design.

At launch, the model is available to all GLM Coding Plan users. For weekly quota plans, the allocated quota for GLM-5.4 has been increased to 1.5 times that of GLM-5.3. Official documentation states that the Model API will be enabled once the security assessment is completed, without specifying a concrete date for that access.

GLM-5.4 technical specifications

Summary of the technical characteristics published by Z.ai for the GLM-5.4 model.

FeatureValue
Input modalityVideo / Image / Text / File
Output modalityText
Context length1M tokens
Maximum output tokens128K
Supported languagesEnglish and Chinese
02

Loop Transformer architecture

The Loop Transformer architecture is the technical core of GLM-5.4. Unlike a standard Transformer, where each layer runs once per pass, this design reuses 28 layers of the GLM-5 base model across two iterations. This allows hidden states to be refined in a second pass, increasing reasoning depth without duplicating the parameters of that block.

Z.ai claims that this structure reaches intelligence levels comparable to models with 2 to 3 trillion parameters, starting from a base of 750 billion parameters. The company highlights that part of the reasoning shifts from explicit output tokens into the implicit depth of the loop, which may reduce the length of chains of thought in certain tasks.

03

Performance evidence and limitations

The improvements attributed to the architecture are based on a controlled ablation performed with a 30 billion parameter model. Z.ai reports that, with 10% more training compute, the looped version showed significant gains in mathematics, scientific reasoning, and long-context tasks. However, these results do not directly validate the performance of the 750 billion parameter flagship model or prove a reduction in total service cost.

The documentation acknowledges a significant limitation: the model tends to enter excessively long reasoning loops ("marathon thinking"). Although this prolonged reflection improves accuracy, it may affect latency. The published speed figures — up to 200 tokens/s during off-peak hours and 70–80 tokens/s at peak load — are provider statements and do not include hardware or configuration details that would allow generalization.

04

Generalized Coding capabilities

GLM-5.4 extends coding capabilities beyond traditional software development. Thanks to improvements in vision and code, the model can write code to generate and edit videos, build complete games, and handle 3D modeling and mechanical design. Z.ai shows examples such as creating a self-narrated music video and CAD modeling of a 6-axis robotic arm in FreeCAD.

The model supports thinking mode for deep reasoning, function calling to integrate external tools, structured output in formats like JSON, and context caching to optimize long conversations. These features are designed to facilitate integration into agentic workflows and complex systems.

05

Future access and independent verification

Current availability is limited to the GLM Coding Plan. The general API and downloadable weights do not have a confirmed launch date in the official documentation. The API will depend on the completion of a security assessment, a process whose timeline has not been specified.

To independently evaluate quality and cost per task, controlled environment tests would be needed to measure real latency, resource consumption, and accuracy on specific tasks. Until independent benchmarks are published or API access is enabled, performance and efficiency claims should be considered provider statements.

Steps to independently evaluate GLM-5.4

Suggested process to verify the model's capabilities once the API or weights are available.

  1. 01Wait for the Model API to be enabled or for downloadable weights to be released.
  2. 02Set up a test environment with documented hardware and network configuration.
  3. 03Run standard benchmarks for reasoning, code, and long context.
  4. 04Measure latency, memory consumption, and cost per token under real load conditions.
  5. 05Compare results with reference models of similar scale (2-3T) and with GLM-5.3.
06

Keep exploring

Sources consulted

03

Corrections and transparency

If you spot incorrect or outdated information, send us a correction with the page and source we should review.

Submit a correction