SIAgentNews.com
← All news
ConfirmedOpen models

Z.ai launches GLM-5.4 with a new looped transformer architecture

The new model uses a looping mechanism to increase depth without adding parameters, aiming to match the intelligence of much larger models.

· First reported by Testingcatalog

50%increase in weekly quota for coding plan users

The short version

  • GLM-5.4 uses a looping architecture to run 28 layers of the GLM-5 base model twice per pass.
  • The model aims to reach intelligence levels comparable to 2T- to 3T-parameter models.
  • Users on the GLM Coding Plan receive a 50% increase in weekly quota compared to the previous GLM-5.3 model.
  • The model includes new vision capabilities and is designed for 'Generalized Coding' tasks.
  • Z.ai plans to release open weights once safety hardening and evaluations are complete.

Why it matters

This release signals a shift toward more efficient model scaling, where deeper reasoning is achieved through architectural loops rather than just adding more data or parameters. For developers, it provides a more capable tool for complex tasks like robotics and 3D scene generation.

A new way to scale intelligence

Z.ai has officially launched GLM-5.4, which marks the company's first flagship model built on a Loop Transformer architecture. This new design is intended to provide higher levels of intelligence by allowing the model to process information more deeply. Z.ai claims that this architecture allows the model to reach performance levels similar to models with 2T- to 3T-parameters.

The company is positioning this release as the beginning of 'Generalized Coding.' This concept suggests that code will serve as a foundation for tasks that go far beyond traditional software development. To demonstrate this, Z.ai showcased a variety of complex outputs, including a 6-axis robotic arm model and a complete game featuring physics and combat assets.

While the model is now available to subscribers of the GLM Coding Plan, it is not yet available via API. Z.ai intends to open API access only after a safety evaluation is finished. Furthermore, the company plans to release the open weights for the model once safety hardening is complete.

How the loop architecture works

In a standard Transformer model, each layer runs exactly once during a forward pass. GLM-5.4 changes this by running 28 layers of the GLM-5 base model for two iterations. This technique allows the neural network to become deeper without the need to add more parameters to the system.

To make this efficient, Z.ai adapted a pre-trained base through continued training. This was necessary because models trained from scratch using loops often trail behind models that share parameters on the same compute budget. By using a pre-trained base, the company can leverage existing knowledge while still benefiting from the looping structure.

The company implemented three specific changes to keep deployment costs under control at the 750B scale. These include per-token gates that decide how much each pass writes back into the residual stream, a hybrid KV cache, and the reuse of sparse attention indices from the first pass. These optimizations help manage the extra costs associated with the looping mechanism.

Performance and testing results

Z.ai conducted testing on a 30B model to see how looping affected different types of tasks. The results showed that looping provided the largest improvements in math, scientific reasoning, and long-context tasks. It also helped reduce the average output length by 10 to 14% on specific benchmarks like GPQA-Diamond and MMLU-Pro.

The model is designed to be fast, reaching speeds of up to 200 tokens per second during off-peak times. At peak load, the speed holds steady between 70 and 80 tokens per second. These speeds ensure that the model remains responsive for users who need real-time feedback during complex coding sessions.

One limitation noted by the company is that the model can sometimes get caught in very long 'marathon thinking' loops. However, Z.ai notes that this extra self-correction process still helps to improve the overall accuracy of the final output. While specific benchmark scores for GLM-5.4 have not been released yet, the company plans to publish them in the future.

Impact on developers and users

Users who are already on the GLM Coding Plan will see immediate changes to their workflow. Zixuan Li of Z.ai confirmed that these users will receive 50% more GLM-5.4 quota than they had with the previous GLM-5.3 model. The model is being integrated into existing tools like ZCode and Z.ai Chat to provide early access to the new architecture.

For developers using specific tools, the model will appear under different names depending on the platform. It will be listed as glm-5.4[1m] in Claude Code and simply as glm-5.4 in other supported tools. This ensures that the new capabilities are accessible within the environments where developers already spend their time.

The inclusion of vision capabilities is a significant addition for those working on visual coding tasks. This allows the model to understand and interact with visual data more effectively than previous versions. By combining these vision features with the looped reasoning, Z.ai aims to provide a more versatile tool for complex engineering problems.

The roadmap for Z.ai

Z.ai has spent much of early 2025 focusing on coding, moving through agentic engineering and cybersecurity. GLM-5.3 was the previous flagship that focused on these areas before the company moved toward the Loop Transformer work seen in GLM-5.4. The company is now looking toward even larger scales for its next iteration.

Z.ai stated that they plan to continue scaling both the model size and the depth of the loops together. This suggests that the Loop Transformer is not a one-time experiment but a core part of their future scaling strategy. They have indicated that a much larger next model is coming soon to the market.

Early feedback from testers on X has already shown one-shot results comparing GLM-5.4 to much larger models. These comparisons provide a preliminary look at how the looping architecture holds up against industry giants. As the company completes its safety hardening, the broader AI community will get a chance to test the model's full capabilities.

What to watch

  • The release of the open weights once safety hardening is complete.
  • The publication of official benchmark scores for GLM-5.4.
  • The release of the 'much larger' next model mentioned by Z.ai.

Try it

If you use the GLM Coding Plan, check your weekly quota to see the 50% increase for GLM-5.4.

Sources and links

Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

More AI news