Z.ai has launched GLM-5.4, an artificial intelligence model capable of generating up to 200 tokens per second during off-peak hours. However, the company admits that the model sometimes spends too long reasoning through tasks before producing a final result.

The new model uses a Loop Transformer architecture intended to improve complex reasoning without substantially increasing its parameter count.

While Z.ai says this approach strengthens accuracy, it can also cause the model to enter unusually long thinking cycles.

Why GLM-5.4 Sometimes Takes Too Long

According to Z.ai, GLM-5.4 processes information through a shared group of neural network layers multiple times. The system runs 28 layers of its GLM-5 foundation for two iterations, allowing the model to refine information before producing an answer. Z.ai says this gives the model deeper reasoning capabilities, particularly for mathematical problems, scientific research, and complex software development.

However, the company acknowledged that GLM-5.4 can become caught in prolonged reasoning cycles, which it describes as marathon thinking. Although this additional reflection may improve accuracy, it can also increase the time needed to complete certain tasks. This means high token-generation speeds do not necessarily guarantee fast end-to-end responses.

What the Performance Tests Reveal

Z.ai reports that GLM-5.4 can generate up to 200 tokens per second when server demand is low. During peak usage, the company says output speeds generally remain between 70 and 80 tokens per second. The company also tested its Loop Transformer architecture using a smaller 30-billion-parameter model. In that experiment, the new design improved performance on several reasoning benchmarks while reducing average output length by approximately 10% to 14% on certain tests.

Z.ai believes some reasoning can take place within repeated processing layers rather than through longer written reasoning sequences. However, these experimental findings do not establish that the released GLM-5.4 model always produces shorter or faster answers.

Users Can Adjust Thinking Levels

Z.ai's official documentation confirms that GLM-5.4 offers three reasoning settings: Low, High, and Max. The model uses Max by default, which can increase the time and tokens spent on complex reasoning. Users can select lower settings for simpler questions and smaller coding tasks, while keeping the highest setting for demanding work.

The model also supports a one-million-token context window, with automatic context compaction near 966,000 tokens in ZCode. Z.ai says eligible GLM Coding Plan subscribers receive 1.5 times as many usable tokens with GLM-5.4 as with GLM-5.3 under the same plan quota.

Availability and Other Limitations

GLM-5.4 is available through Z.ai Chat, ZCode, and supported coding tools connected to the GLM Coding Plan. General API access remains pending, while Z.ai plans to release downloadable model weights after completing additional safety work. The company has not announced a release date for either.

Z.ai also claims GLM-5.4 can deliver intelligence comparable to models with 2 trillion to 3 trillion parameters. However, comprehensive benchmark results for the flagship model have not yet been published to verify that comparison.

For now, GLM-5.4's main trade-off is clear: its architecture allows additional reasoning without a proportional increase in model size, but that deeper reasoning can sometimes delay the completion of tasks despite fast text generation.

Background: Why Loop Transformers Matter

Loop Transformers are a recent evolution of the classic transformer design that recycle a core set of layers instead of stacking ever-larger numbers of unique layers. By re-using the same 28 layers of the GLM-5 foundation, Z.ai can keep the total parameter count close to earlier versions while still granting the model multiple passes over the data. This approach emerged from research showing that repeated processing can mimic the effect of deeper networks without the memory and compute penalties of adding new parameters.

Industry analysts have noted that many leading AI labs are experimenting with loop-style architectures to squeeze more reasoning power out of mid-size models. The promise is to achieve near-state-of-the-art performance on tasks that require multi-step logic, such as solving equations or debugging code, without the cost of training trillion-parameter systems.

How the Three Reasoning Settings Work

In practice, the Low, High, and Max settings adjust how many times the shared layers are invoked and how much internal "thought" budget the model allocates. Low may run a single pass, High a double pass, and Max a full double-iteration with extra internal sampling. This design lets developers trade latency for depth on a per-request basis. For example, a developer writing a quick comment in an IDE might choose Low to get an instant suggestion, while a researcher probing a complex proof could select Max to let the model spend more cycles on reasoning.

Impact on Developers and Enterprises

Businesses that rely on Z.ai's coding tools stand to gain from the 1.5-times token boost for GLM-5.4 under the GLM Coding Plan. More usable tokens mean longer code snippets, richer documentation, and fewer interruptions to request additional quota. However, teams must also consider the potential latency introduced by Max-level reasoning, especially in real-time collaboration environments.

Enterprises planning to integrate GLM-5.4 via the upcoming API will need to design fallback mechanisms. Since the model can linger in marathon thinking, a timeout policy or a dynamic switch to a lower reasoning level could preserve user experience while still benefiting from the model's higher accuracy on difficult queries.

What to Watch for Next

Z.ai has indicated that safety reviews are still underway before model weights become publicly downloadable. Observers will be looking for third-party benchmark releases that compare GLM-5.4's performance against the claimed 2-trillion-to-3-trillion-parameter peers. Additionally, the timeline for general API access remains unknown, so developers should monitor Z.ai's announcements for any changes to availability.

Finally, the company's own testing on a 30-billion-parameter Loop Transformer showed a 10%-14% reduction in average output length on certain benchmarks. If similar gains translate to the full GLM-5.4 model, users may see more concise answers even when the model spends extra cycles thinking.

Practical Takeaways for Users

  • Choose the reasoning setting that matches your latency tolerance: Low for quick replies, Max for deep problem solving.
  • Take advantage of the one-million-token context window for large codebases, but be aware that automatic compaction starts near 966,000 tokens.
  • Plan for possible longer response times during complex tasks, even though token-per-second rates remain high in low-load periods.
  • Monitor Z.ai's future releases for API access and official benchmark data to validate performance claims.

By understanding these nuances, developers and enterprises can harness GLM-5.4's speed while mitigating the occasional marathon-thinking slowdown.