Chinese AI: GLM-5.4 makes its model think twice, what is this "looped" AI?
An AI that thinks harder without gaining a single gram. That's the promise of GLM-5.4, the new model from Z.ai (formerly Zhipu, one of the most serious Chinese labs), released on November 23 for subscribers to its coding plan. The trick has a name that sounds like a carnival ride: it's a "Loop Transformer", a looped model. And the most interesting thing for me is that it plugs directly into Claude Code. But there's a big "but": for now, Z.ai hasn't published a single score to prove what it's claiming.
The principle behind GLM-5.4: same car, second pass, cleaner when it comes out
How a language model thinks, in two sentences
A language model is a stack of levels, which we call "layers". Your text enters at the bottom, each level reworks it a little, and the next word comes out at the top. Then we start again for the word after that.
A classic model: you climb the stairs once, and don't go back
Each level contains billions of "parameters", those little numbers adjusted during training that make up the model's knowledge. More levels, more parameters, and generally a smarter model. But also more memory to fill, more graphics cards to buy, more electricity bills. That's why big models cost so much to run.
Z.ai's idea: go through the same levels twice
Instead of adding levels, Z.ai reuses the ones it already has. In practice, GLM-5.4 uses GLM-5 as its base, and some of its levels are gone through twice in a row for each word. According to several reports, it's a block of 28 levels that makes two passes, on a model with around 750 billion parameters. Z.ai itself just writes that it "loops existing layers of the GLM-5 base model for deeper reasoning".
Same staircase, two climbs. Your calves get hot, but we haven't made the house bigger
It's a bit like rereading your work before handing it in: you don't become smarter, but you think twice about the same problem, and you miss fewer things. The advantage is huge on paper: the model "thinks" more deeply without gaining a single extra parameter, so without asking for more memory. The price to pay is computation: each word requires more work from the graphics cards, so more time or more energy.
And this isn't a whim. The idea of reusing layers has been circulating in research labs for years. But this is the first time Z.ai has made it the core of its flagship model, and put it in the hands of all its subscribers.
The promise, and the empty table
Z.ai claims that GLM-5.4 reaches a level "comparable to models with 2,000 to 3,000 billion parameters". Three to four times its size. What does this claim rest on? Nothing published. Not a score, not a table, not a comparison with Claude or GPT.
“Like a 3 trillion model.” The proof? It’s coming, promise
And it bothers me, because Z.ai had got us used to better. Its predecessor, GLM-5.3, came out with complete result tables and downloadable weights, that is, the model file itself, which anyone could retrieve and run at home. This time, none of that. The public API, that paid-per-use access used by programs, will open “after a safety evaluation”. The weights will be published “responsibly”. No date for either one.
To see things clearly, here’s what we really know, as of November 30:
Three green lines, two orange ones, two red ones. The light hasn’t turned green yet
On the bright side: GLM-5.4 can now read images, which GLM-5.3 couldn’t do. Handy for showing it a screenshot of an interface and asking it to reproduce it. And subscribers get 50% more weekly quota compared with GLM-5.3, as announced by Zixuan Li, one of the people in charge at Z.ai, on X. At least that’s concrete and verifiable.
Plugging it into Claude Code
This is where it gets interesting for developers. Claude Code, Anthropic’s agent that codes in your terminal, can talk to models other than Claude, provided they imitate Anthropic’s “counter”. Z.ai offers one. I actually talked about GLM-5.3-FlashX in September, and I have GLM plugged into my own tools as a backup.
You need a subscription to Z.ai’s coding offer, the “GLM Coding Plan”: 18, 80 or 168 dollars per month depending on the plan, according to the prices recorded by Trendblog. Then, according to Z.ai’s documentation, you set it up in Claude Code’s configuration file, ~/.claude/settings.json :
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "ta-cle-du-coding-plan",
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
"API_TIMEOUT_MS": "3000000",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.4[1m]",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.4[1m]"
}
}The [1m] at the end of the name asks for a “context” of one million tokens. The context is the amount of text the model keeps in mind at once, and a token is a small piece of a word. A million represents a very large project, or even several books at once.
Two traps to know about. One: make sure you use a Coding Plan key and not a regular API key, otherwise Z.ai charges you by usage and you run into an “insufficient balance” error even though you’ve paid for your subscription. Two: Anthropic does not support this setup. If something breaks, it’s between you and Z.ai.
Concretely, what does this change for you?
If you code, the answer is immediate: you have an alternative to Claude starting at 18 dollars a month, which you can plug into the same tool, for example to finish your day when your Claude quota is empty. But the loop idea goes further than GLM-5.4.
Today, a cutting-edge AI lives in a hangar. The goal is for it to fit under your desk one day
What costs a lot in an AI is the memory it needs to live in: it's what forces you to rent entire server hangars, and it's what prevents you from running the best models at home. A model that thinks more without getting bigger is the path to having a solid AI on your home computer one day, without a subscription and without sending your documents elsewhere. And for businesses, less demanding models mean subscriptions that can come down.
Let's be honest about the timeline: GLM-5.4 itself still weighs hundreds of gigabytes, it won't run on your PC. And if the numbers don't hold up, the idea will remain a lab curiosity. If it lives up to its promises, it'll still take months, more likely a few years, before we see it in a model that fits on a private individual's graphics card. We've already seen this with model compression: reserved for researchers three years ago, today it lets anyone run a decent AI on a gaming PC.
The caveats, simply put
Your code goes to Z.ai's servers, a Chinese company. For a personal or open source project, it doesn't change much. For your employer's or clients' code, ask first, it's the kind of detail contracts don't like you discovering after the fact. And like the other Chinese models, GLM stays silent on certain subjects considered sensitive in China. To write a sorting function or fix a bug, you'll never notice.
My opinion? I really like the idea of the loop: making a model think harder without bulking it up, that's exactly what we need if we want powerful AIs one day that fit on reasonable machines. But an elegant architecture proves nothing until we have the numbers. Z.ai has done one lap. Also, wouldn't doing the lap 2 times, 3 times, 4 times indicate a capitulation, for lack of knowing how to actually improve the model, as we see with Claude Opus 5.5 or Claude Fable 5.2?
Sources
- Cellcog: GLM-5.4 on Z.ai's Coding Plan, what is confirmed (in English)
- Trendblog: Z.ai releases GLM-5.4, its first loop flagship model, API and weights pending (in English)
- Z.ai documentation: using GLM in Claude Code (in English)
Article written with the help of Claude Code, reviewed and corrected by me.






Join the conversation
You need an account to comment on this article. Creating one is free and takes under a minute.
No comments yet.