Zhipu Ran the Same 28 Layers Twice. That's China's Chip Strategy.
Zhipu's GLM-5.4 runs the same 28 layers twice. That saves no compute, only memory, which is what an embargo rations: China swaps parameters it can't buy for time it can spend.
OPC Community
OPC Community

Looping a model doesn't save compute. It saves the one thing an embargo can take away.
Every token that goes into Zhipu's new model, GLM-5.4, climbs through 28 layers and then gets sent back to the bottom to climb the same 28 again. Same weights, second pass. Zhipu calls this a Loop Transformer and says it performs like a 2–3 trillion parameter model without a single parameter added.
It shipped the same week chip shipments to China stopped.
You could write the take in your sleep. No silicon, so squeeze the silicon you've got. Necessity, invention, clever underdog. I had a few hundred words of that piece down before I gave up on it, because one fact kept breaking it.
The Embargo Story Has an American Hole in It
Thinking Machines released Inkling 2 Mini with the same trick. Its middle 12 layers run three times per token. The whole model holds 26.4 billion parameters, and any given token only puts 3.4 billion of them to work.
Thinking Machines is not short of GPUs. Nobody embargoed San Francisco.
So the same idea turned up on both sides of the Pacific at once, from a lab that can't buy chips and a lab that can buy almost anything it likes. If looping were purely a child of scarcity, only one of them would have shipped it.
Here's the version I'm willing to defend. Looping is a correct idea that the rich labs got to ignore for eight years, and that Zhipu couldn't afford to ignore for one more quarter. The architecture was already sitting on the shelf when the embargo arrived. All the embargo did was take away the option of leaving it there.
To see why, you need to be clear about what looping buys you, and most of the coverage has this backwards.
Looping Saves Nothing on Compute
Run 28 layers twice and you've done the arithmetic of 56 layers. Every matrix multiply happens again, and the second pass costs exactly as many GPU-seconds as the first.
We've run this experiment before. In 2019 Google published ALBERT, which shared one set of weights across all twelve of BERT's layers and shrank the model from 108 million parameters to 12 million. People assumed a model nine times smaller would be nine times faster. It wasn't faster at all. Same depth, same multiplications, same latency, and the big ALBERT variants actually ran slower than the BERT models they beat.
Training gets no cheaper either. Gradients flow back through both passes, so you pay for the full unrolled depth on every step.
Even at inference the saving is narrower than it looks. The KV cache, the memory a model keeps for every token in your context, grows with the number of layer applications, not the number of parameters. Loop twice and that cache doubles for those layers. If you run long contexts, you'll feel it.
So what do you save? One thing: the weights take up half the room. A looped model gets the depth of a big model and keeps the memory footprint of a small one.
"Efficient architecture" makes you think of doing more with less. Looping does more with different. You swap a memory bill for a time bill.
What an Embargo Actually Rations
Now ask which of those two bills a Chinese lab can pay.
Export controls don't ration arithmetic. China has fabs turning out accelerators in large numbers, each one slower than the Nvidia part it replaces. It has cheap power and plenty of land to build on. What the controls hit hardest is the dense, fast, memory-rich top of the stack. Washington put high-bandwidth memory itself on the control list in December 2024, and HBM is the component that decides how many parameters you can keep close to the compute.
A two-trillion-parameter model is a memory problem before it's anything else. You need somewhere to put it, and Zhipu can't buy the somewhere.
Time, it can buy. A second pass through 28 layers gets paid for in seconds and kilowatt-hours, on whatever chips are already sitting in the rack.
“An embargo can stop you from buying memory. It cannot stop you from spending time.”
That's the strategy in the title, and it's sharper than "do more with less." Take every cost you can and move it out of the currency you're denied and into the currency you hold. Parameters are bought. Passes are waited for. A country with slow chips and cheap power should want models that are small and patient.
Thinking Machines fits this too. A lab with unlimited hardware still has customers with limited hardware, and a 26.4B model with a looped core fits on machines that a wider, unlooped equivalent never will. The trade that helps Zhipu survive an embargo is the same one that gets an American lab onto your laptop.
"2–3 Trillion Class" Is a Unit Nobody Can Check
One of Zhipu's claims deserves a much harder look.
Zhipu says the looped model performs like a 2, 3T parameter model at unchanged parameter count. I don't doubt the second pass helps. I doubt the unit.
No one has released a dense 2, 3T model to compare against. So the claim measures GLM-5.4 against something that doesn't publicly exist, in a quantity (parameter-equivalents) no third party can audit. It's like quoting a horsepower figure for a car when no engine that size exists on any road.
It gets worse. Holding parameters constant is the one comparison a looped model is guaranteed to win. Of course a model that computes twice as long beats a same-sized model that computes once! You handed it double the work budget and tucked the difference into a column nobody prints.
The honest test is equal compute. Put GLM-5.4 next to a conventional model that burns the same FLOPs per token, or costs the same per million tokens at the same speed, and see who wins. If the looped model wins there, Zhipu has a real result, and a big one. The headline claim can't tell us either way.
I'll say what I expect, since hedging here would be cowardly. I expect looping wins by a wide margin at equal memory and roughly ties at equal compute. That's still a good result if memory is your constraint. But it's no free lunch, and the "2, 3T" framing is selling it as one.
I do think the idea underneath is sound, and there's evidence for it. A 2024 paper called "Transformer Layers as Painters" tested what happens when you skip, reorder, or repeat the middle layers of a trained model. The middle turned out to be strangely forgiving. Those layers behave less like a fixed assembly line and more like painters taking turns at one canvas, each able to pick up where another left off. Now look at which layers Thinking Machines chose to loop. The middle twelve.
The Hobbyists Got There First, and So Did Honda
The people who found this earliest didn't work at a lab at all.
In late 2023 a hobbyist released Goliath-120B. They built it by taking the layer stacks of two fine-tuned 70B Llama models and interleaving them, repeats included, into one taller model. No retraining. Every textbook intuition says that should have produced garbage. It became a favorite of the local-model crowd instead, and a small scene of "frankenmerges" grew up around stacking and duplicating layers.
Those people had no training budget. They had a downloaded checkpoint, a couple of consumer GPUs, and free evenings. They were poor in the thing that costs money and rich in time, which means they were running Zhipu's strategy two years early, and for the same reason.
Designs born from a constraint have a habit of outliving it. My favorite case is fifty years old.
In 1970 the US Clean Air Act set emissions limits that Detroit declared impossible without catalytic converters. Honda, then a motorcycle company with a small car sideline, couldn't afford to lose that argument, so it built an engine called the CVCC that met the 1975 standard with no converter. The story goes that GM's chief executive waved it off as fine for a toy motorcycle engine. Soichiro Honda had a Chevy Impala V8 flown to Japan, fitted CVCC heads on it, and passed the test with GM's own car.
Then the oil crisis hit, and the engine designed to dodge a regulation turned out to sip fuel. The Civic took the top of the EPA mileage list. The rule that produced the CVCC has been rewritten many times over since, and the reputation it built for Honda never went away.
Zhipu's second pass is a CVCC. It was built to get around a wall, and I'd bet it matters long after the wall moves.
Why would it stick? Because once the same layers can run twice, the number of passes stops being a fact about the model and turns into a dial. One pass for "what's the capital of France." Four for a proof. The Universal Transformer paper proposed exactly this in 2018, and the industry shelved it because buying more parameters was easier than making depth adjustable. Now two labs have production reasons to finish the job. Reasoning effort becomes something you set per request, inside the forward pass itself, and you no longer have to generate thousands of extra thinking tokens to get it.
You're Under an Embargo Too
If you build on these models, change one habit this week: stop reading parameter count as a proxy for cost or speed. For a looped model it tells you how much memory to rent and nothing else. Ask for tokens per second and price per million tokens at the quality you need. And when a vendor quotes you a "class," ask what it costs to run.
If you run models locally, this trend is aimed straight at you. A 24GB card is a memory embargo with a nicer name. Looped models are the first architecture in years designed for people who can wait an extra second but can't add another GPU.
And if you watch the chip war, retire the scoreboard that counts who has more H-class accelerators. Export controls assumed intelligence scales with what you can buy. Zhipu is betting it scales with how long you're willing to think using what you already own.
The same 28 layers, run again. Washington can count chips. It has no way to count passes.
Frequently Asked Questions
What is a Loop Transformer, and how does GLM-5.4 use it?
A Loop Transformer sends each token through the same stack of layers more than once, reusing the same weights on every pass. In GLM-5.4, every token climbs 28 layers and then climbs the same 28 again. Zhipu says this performs like a 2–3 trillion parameter model without adding a single parameter.
Does looping a model's layers make it cheaper or faster to run?
No. Running 28 layers twice costs the arithmetic of 56 layers, training still pays for the full unrolled depth, and the KV cache doubles for the looped layers. The only saving is that the weights take up half the room, so you swap a memory bill for a time bill.
Why does a looped architecture help Chinese labs under chip export controls?
Export controls hit hardest at the dense, fast, memory-rich top of the stack, including high-bandwidth memory, which decides how many parameters you can keep close to the compute. Looping moves cost out of memory, which Zhipu can't buy, and into seconds and kilowatt-hours on the chips it already has. The same trade is why a lab with no hardware shortage, like Thinking Machines, uses looping to fit models onto smaller machines.
Explore OPC City Chapters
Join the OPC Community
Connect with solo founders worldwide. Get daily insights, curated opportunities, and peer support.
Join free