GLM-5.4: What It Is, What It Costs, and How to Try It
How Z.ai’s Loop Transformer works, where to try it, which coding tools support it, and what to check before switching your team’s assistant.
Published
- GGLM-5.4
- GGLM Coding Plan
- ZZ.ai Chat

Try GLM-5.4 on a coding task where you can check the answer, especially one your usual assistant gets almost right. Z.ai, formerly Zhipu AI, released the model on November 23, 2026. It gives the same 28 layers a second pass at a problem, but Z.ai also warns that the model can spend too long reconsidering an answer.
How GLM-5.4 uses a second pass
GLM-5.4 is Z.ai’s first flagship model built with what it calls a Loop Transformer. A layer is a stage in the calculation a language model makes as it works out what to write next. In a conventional transformer, information travels through each stage once per pass. GLM-5.4 sends the result of a group of layers back through that same group.
Think of an editor reading a paragraph twice. On the first read she works out who did what. On the second she notices that “she” in the last sentence could refer to either of two people. The same editor brings more context to the second reading. In Z.ai’s design, the second pass similarly starts with what the first pass worked out. Reusing the layers adds a step of computation without needing a second set of parameters, the learned numbers that govern those layers.

Those two passes happen inside the model as it produces each piece of text. The number of pieces it writes while working toward an answer can still vary. That distinction explains how GLM-5.4 can have a fixed internal loop and still get caught in what Z.ai calls “marathon thinking.” For a developer waiting on a fix, the clock runs until there is a patch worth reading. Inkling 2 Mini offers another example of a model that reuses layers.
What Z.ai means by Generalized Coding
Z.ai uses Generalized Coding for tasks where writing a program produces something beyond the program itself. In one of its demos, the lab asked for an interactive bird-watching scene. The model wrote the geometry that defines the shapes and custom shaders, small graphics programs that determine how those shapes appear on screen. The model’s listed output is text. Running the code turns that text into a scene you can explore. Z.ai’s model guide and demos

For a developer building a product configurator, that distinction matters. Suppose a customer wants a shelf preview to keep its brackets aligned when the shelf width changes. A convincing picture answers the question at one width. An editable program lets you change the width and check whether the brackets follow. That second request makes a better audition for the model than asking for a prettier shelf.
GLM Coding Plan
The GLM Coding Plan is a subscription for using Z.ai models inside supported tools. All its tiers include GLM-5.4. Z.ai lists ZCode, Claude Code, Codex, Cline and OpenCode among the options. If you already review code changes in one of those tools, you can keep that review process and change the model doing the work. Usage is subject to both five-hour and weekly limits.
The Coding Plan starts at $18 a month, and Z.ai’s API pricing table listed no separate GLM-5.4 token rate when checked on November 23, 2026.
To connect a coding tool, sign in to Z.ai, subscribe, then create the appropriate key under Personal Coding Plan > Plan Overview or Team Coding Plan > My Plan. Open the instructions for your client in the Coding Plan quick start. Newly created personal, team and standard API keys are separate. A working subscription in your editor therefore tells you little about whether you can call the same model from your application.
How to try GLM-5.4 on a bug you understand
Z.ai Chat is the browser route Z.ai names in the launch post. Start there if you just want to see how the model reasons through a small example.
Pick a bug with a known answer
Use a small, shareable function and a failing example. A cart that treats a quantity of zero as a missing quantity makes a good case. Keep a second example aside so you can check the proposed fix.
Confirm the model and give it the constraint
Check that the session identifies GLM-5.4. Paste the function and ask, “Make zero remove the item. A missing quantity should still default to one. Show the smallest change and a test for each case.”
Compare the time to a usable patch
Run the examples and inspect the change. Give your usual assistant the same inputs and the same time allowance. Record which patch passes both cases, how long you waited and what you had to edit. If the model keeps reconsidering the same fix past your time limit, count that as a missed deadline.
Who should try it, and who should wait?
A developer with a backlog of bugs and tests can try it now. A team lead deciding whether to switch the default assistant should look for a repeated advantage on the team’s own tickets. Count review time as well as generation time. A patch that arrives late can still be valuable on an overnight job, while the same delay can derail a pairing session.
For a product that needs a standard model API, wait for Z.ai to confirm access. At launch the model guide said the API would follow a security assessment. For an offline deployment, the dependency is different. You need the weights, the files containing the trained model. Z.ai said it planned to release them after safety work and gave no date. The open-weight release covered in our GLM-5.2 review was an earlier version.
If you are choosing across providers, our guide to Chinese AI models compares the families. The Qwen 4 explainer and Kimi AI guide cover those products’ access routes.
Common questions
What is GLM AI?
GLM is Z.ai’s family of language models. GLM-5.4 is the November 2026 flagship described here.
What is the most latest AI model?
For Z.ai, the flagship announced on November 23, 2026 was GLM-5.4.
Is GLM cheaper than GPT?
A like-for-like API comparison needs prices for both named models. At launch, Z.ai offered GLM-5.4 through its Coding Plan and had yet to list a standalone token rate.
How do I install GLM?
For GLM-5.4, the launch routes are hosted. You can configure a supported coding client locally while Z.ai runs the model.
What does GLM stand for?
General Language Model, the name used in the original GLM project.
How do I install AI on my computer?
To run a model entirely on your computer, start with released weights and check the hardware requirements. Z.ai described the GLM-5.4 weights as a future release.
How do I download AI for free?
For this release, Z.ai announced a plan to share the weights after safety work. Its launch post supplied no model download.
How much does it cost to install AI?
There was no local GLM-5.4 release to price at launch. The subscription price above covers hosted use in supported tools.
How do I activate AI on my computer?
For GLM-5.4 in a coding client, connect the client with the key for your Coding Plan. For a browser session, open Z.ai Chat and check the model name.
Get the newsletter for more model guides for developers and team leads.
- Published
- Category
- AI







