AI That Repeats Thoughts Twice? The Secret Behind Z.ai's Groundbreaking New Model 'GLM-5.4'

An illustration visualizing repetitive neural network structures and the generation of diverse digital content through coding
AI Summary

Z.ai has released its flagship AI model, GLM-5.4, featuring a Loop Transformer architecture that repeats layers twice. We examine the world of 'Generalized Coding' extending beyond coding to video, gaming, and 3D design.

Imagine waking up in the morning, opening your smartphone, and telling an AI, “Create a 3D game world I imagined in my head, along with animations for the characters moving inside it.” A moment later, instead of simply replying with text, the AI starts writing code and instantly renders a fully functional 3D game screen and video right before your eyes. A world where ‘code’—previously known only to programmers—becomes the foundation for all digital creations like a magic wand: this is the new paradigm currently taking the AI industry by storm [Source 1, Source 7, Source 13].

Such technological advancement goes beyond mere convenience in our lives, completely dismantling the barriers of creation. At the center of it all appears a protagonist capturing the undivided attention of tech enthusiasts worldwide [Source 1, Source 6]. Z.ai (Zhipu AI), a leading artificial intelligence research lab in China, has officially announced its new flagship AI model, GLM-5.4 [Source 1, Source 6]. Breaking away from traditional AI approaches that merely inflate numbers, this new release introduces an original structure that enables the AI to think deeply through self-iteration [Source 1, Source 6, Source 17]. What exact technology has been applied, and what kinds of changes will it bring to our daily lives? Let’s take a closer look.


Why Does This Matter?

The AI chatbots and generative models we use daily have grown smarter as they grew larger. It was previously necessary to astronomically increase the number of adjustable internal connection networks—parameters (the unit representing the size of an AI model’s neural network connections)—to 2 trillion or 3 trillion to mimic complex human reasoning abilities. However, as models grew massive, server maintenance costs skyrocketed, speeds slowed down for ordinary users, and side effects like exorbitant power consumption emerged. It was akin to paying astronomical heating bills every month just to maintain a giant mansion.

GLM-5.4, released by Z.ai, is drawing attention because it directly breaks through this ‘limit of scale’ [Source 1, Source 7]. Instead of blindly increasing parameter counts physically, it adopts a method where existing brain structures are passed through twice to encourage deep thinking [Source 6, Source 7]. This maintains a relatively modest physical size while unleashing advanced intelligence rivaling colossal monster models of 2T to 3T parameters [Source 1, Source 6].

In addition, stepping away from the previous text-only generation, this model has acquired vision (image input capabilities), opening pathways for both developers and the general public to access everyday creative work much more cheaply and powerfully [Source 10, Source 11]. With reduced cost burdens and drastically improved performance, this upgrade can be called a 21st-century milestone that accelerates the mass adoption of AI services [Source 5, Source 10]. This carries profound significance, rewriting the efficiency standards for the future of AI beyond just a simple model update.


Easy Understanding: ‘Loop Transformer’ and ‘Generalized Coding’

So, what exactly is GLM-5.4’s core technology, the Loop Transformer (an architecture that induces deep thinking by cyclically repeating the model’s neural network layers)? Let us explain with an easy-to-understand analogy.

An Easy Analogy: When an ordinary AI reads a difficult mystery novel, it quickly skims the pages once and tries to guess the culprit right away. If the book is too thick (few parameters), it easily misses contextual nuances and points the finger at the wrong suspect. Therefore, until now, methods tried to solve problems by making a single book 10 times thicker.

On the other hand, GLM-5.4’s ‘Loop Transformer’ reads through the pages once, and then meticulously reviews and revisits the most crucial chapters (Layers, neural network processing stages) from the beginning again. By looping through 28 core layers twice (Loops 28 layers twice at 750B scale), it corrects missed clues and logical errors on its own [Source 5, Source 6]. Without needing to build a physically massive library, it becomes a master detective through clever reading methods.

Another concept to note is Generalized Coding (a concept extending code from a programming language into a universal tool controlling video, games, 3D design, etc.) newly introduced by Z.ai [Source 1, Source 7].

Simply Put: Until now, ‘coding’ was considered the exclusive domain of programmers typing English commands (if, else, print, etc.) on a black screen to build programs. However, to GLM-5.4, coding is not merely a software production tool. After envisioning what should appear on screen, the AI writes sophisticated code to render video files inside the computer, assemble interactive games, and directly draw 3D solid models and mechanical blueprints [Source 7, Source 13]. In other words, code has evolved into an ‘all-purpose digital language’ connecting humans and computers.

Ultimately, these two innovations serve as sturdy wings helping AI think deeper with fewer resources and handle a wider range of creative works.


Current Status: What Has Changed and How?

According to blog specifications and official announcements, GLM-5.4 stands on a technically robust foundation [Source 2].

  • Overwhelmingly Efficient Loop Structure: Adopts a design that executes 28 layers twice based on an approximate 75B (75B/750B) parameter scale [Source 2, Source 5, Source 11]. Thanks to this innovative recurrent structure, it delivers intelligence comparable to massive models reaching 2T to 3T parameters [Source 1, Source 6].
  • Integration of Visual Intelligence: Unlike its predecessor, GLM-5.3, which was a ‘text-in, text-out’ model capable of handling text only, GLM-5.4 introduces visual capabilities fully into its main coding plan model, effortlessly handling image recognition and multimodal tasks (the ability to simultaneously process multiple types of information such as text and images) [Source 10, Source 11].
  • Massive Memory Capacity: Supports an expansive context window (the maximum range of conversation and documents an AI can remember and understand) of up to 1 million tokens (the unit of text and data fragments an AI can process at once), preventing it from losing track even when entire long research papers or massive source code bases are fed in [Source 11].
  • Cost-Effectiveness and Pricing: Already available to users via Z.ai Chat and GLM Coding Plan subscription services, with subscriptions starting at $18/month [Source 5, Source 11]. Notably, coding plan credits consumed during output generation dropped significantly from 24 credits in the previous GLM-5.3 to 16 credits, enabling high-performance AI at a lower cost [Source 5]. Product Lead Zixuan Li spread news of a 50% quota boosting for coding plans via X (formerly Twitter), garnering enthusiastic responses from developers [Source 2, Source 10].

However, the fact that official public benchmarks (performance evaluation metrics) and open weights (an open policy releasing internal model weight files) have not yet been released at launch implies that thorough, real-world user validation is still required [Source 5]. Although servers experienced slight overloads on launch day due to explosive interest [Source 15], market expectations show no signs of cooling down. Users maintain high interest in how much this massive efficiency will be felt in real-world workflows.


What Happens Next?

The emergence of GLM-5.4 delivers an important message to the AI industry. It proves that moving away from brute-force competition—pumping more electricity into servers and inflating parameter counts—‘architectural efficiency that increases the depth of thought’ is establishing itself as a new trend [Source 6, Source 7].

What users should watch moving forward is how much tangible output generalized coding can produce in real everyday life and industrial settings. Beyond simply reading and summarizing text, the scene where web games, YouTube short-form videos, and 3D simulation models pour out under a fully automated pipeline from a single line of natural language instructions is gradually becoming a reality [Source 7, Source 13]. The era where the general public can easily produce professional-grade digital content has rapidly approached.

Observing how the published weights will impact the open-source community moving forward, and how much further upcoming models will develop this loop structure, will remain one of the most exciting viewing points of the latter half of this year.


AI’s Perspective

MindTickleBytes AI Reporter’s Perspective As if proving that growing in size is not the only answer, GLM-5.4 opened a new horizon of AI efficiency through ‘learning how to think twice’. Redefining code not just as a programming language but as an all-purpose digital assembly tool, this endeavor is highly anticipated to further ease our daily lives. This model quietly demonstrates that the essence of technology ultimately lies in ‘delivering more value with fewer resources’. There is little doubt it will act as a catalyst, shaking up hardware-scaling-centric paradigms and ushering in smarter, more practical AI models.


References

  1. Z.ai, GLM-5.4: Toward Generalized Coding with Our First Loop Transformer, https://z.ai/blog/glm-5.4
  2. ExplainX, GLM-5.4 Coding Plan: +50% Quota, Vision (Nov 2026), https://explainx.ai/blog/glm-5-4-coding-plan-vision-50-percent-quota-boost-november-2026
  3. Tech AI Wire, GLM-5.4: Loop Transformer, Coding Plan credits, no weights, https://techaiwire.com/articles/glm-5-4-loop-transformer-no-benchmarks-coding-plan-credits/
  4. The Next Web (TNW), Z.ai’s GLM-5.4 runs its layers twice to rival 2T…, https://thenextweb.com/news/zai-glm-5-4-loop-transformer-coding-model
  5. Unite.AI, Z.ai’s GLM-5.4 Uses Iterative Depth Without Adding Parameters, https://www.unite.ai/z-ais-glm-5-4-uses-iterative-depth-without-adding-parameters/
  6. TeamOrouter, GLM-5.4 Released: Vision, Stronger Coding, and When the API Arrives, https://teamorouter.com/blogs/glm-5-4
  7. OrcaRouter, GLM-5.4 vs GLM-5.3: What the Upgrade Actually Adds, https://www.orcarouter.ai/blog/glm-5-4-vs-glm-5-3
  8. Habr, Z.ai выпустили GLM-5.4 на архитектуре Loop Transformer…, https://habr.com/ru/articles/1111176/
  9. Unisender News, Вышла флагманская нейросеть GLM-5.4, https://neiro.unisender.com/novosti/z-ai-glm-5-4-loop-transformer/
  10. VC.ru, GLM-5.4 оказался Loop Transformer — deksden notes, https://vc.ru/deksden_notes/3273303-glm-5-4-tsiklicheskiy-transformer
AD
Test Your Understanding
Q1. What is the name of the core architecture introduced by GLM-5.4?
  • Loop Transformer
  • Diffusion Transformer (DiT)
  • Recurrent Memory (RNN)
GLM-5.4 is the first to adopt the 'Loop Transformer' architecture, achieving massive model performance by repeating 28 layers twice.
Q2. What is the most appropriate meaning of 'Generalized Coding' as pursued by GLM-5.4?
  • A 10x speedup in pure programming language learning
  • Extending code beyond software development into tools for video, gaming, and 3D design
  • Automated open-source code verification feature
Generalized Coding is a concept where code is utilized as a universal tool to perform various tasks such as video generation, game creation, and 3D modeling, beyond simple software development.
Q3. Which of the following is correct regarding GLM-5.4's architecture and scale?
  • A single-layer model of 10 trillion parameters
  • Approximately 75 billion parameters
  • A structure executing 28 layers twice at approximately 75B scale (750B scale, 28 layers twice)
GLM-5.4 runs 28 layers twice at an approximate 75B (75B/750B) scale to achieve intelligence comparable to 2T–3T parameter models.
AI That Repeats Thoughts Tw...
0:00