GLM-5.4: Toward generalized coding with our first loop transformer

foohis 1092 points 357 comments November 23, 2026
z.ai · View on Hacker News

Discussion Highlights (20 comments)

saretup

Hard to say how good this is without benchmarks, I'm guessing they're not impressive or else they would have included the scores?

dtj1123

Neuralese, here we come

eurekin

This has come up a few times on r/LocalLLaMa and it's been considered one obvious missing piece for the latent space looped thinking

mihaaly

'Most notably, it tends to get caught in overly long "marathon thinking"' Get out of there, that's my wife's domain!

yewenjie

So no benchmark numbers? Seems like anti-distillation efforts have really thwarted the Chinese models.

lawandjustice

Do these OSS chinese vendors make effrot to align their models and do they have safegurards?

dingaling911

So they're just embedding the "thinking" loops in the LLM architecture itself? Also, it seems like they just loop "twice" so how does it get stuck in marathon thinking? What am I missing? Why not just leave that up to the harness? I guess performance. But no benchmarks.

postalcoder

One thing that puzzles me is that if looping is considered so dangerous, or a slippery slope to non-interpretability, why did someone at OpenAI leak to The Information that they were doing it? I'm guessing it was probably a safety researcher who leaked it, to somehow warn the public about what OAI was doing in spite of management's deaf ear. But that doesn't make sense, assuming that's true, all it did was shift the Overton window and cause looped transformers to proliferate. What other reason would there be to leak it? edit: To be clear, I'm not the one asserting that it's "dangerous", but whoever leaked it probably did

w2seraph

Personally can't get enough of my cyber experiments regarding these somewhat more lax models. Good on you GLM.

egeres

Unfortunately the only insight they provide on "how smart is the model" is that table of the 30B model before full post-training. Still, it's very exciting to see this line of work!

rskeens

Glad they have explained the wait, was starting to wonder about the hold up with successor to glm 5.3.

lnenad

It's becoming reaally hard using chinese models with their "marathon thinking" sessions. It's not a problem when dealing with more complex stuff but constantly second guessing themselves even when working with the simplest of things (conceptually) is very annoying and time to completion is dramatically higher compared to frontier unless you're dealing with ridiculus tps performance. I assume it's how they get close in benchmarks but the difference is staggering when compounding over several days/weeks/months.

lewdwig

“Generalized coding” working effectively beyond domains that would not be traditionally attacked by code to me feels like models working around the limitations of harnesses and the context window. If they externalise their reasoning as code, it will survive compaction and context decay by becoming a durable artifact. It’s cool that models can do this, but I think it also shows harnesses still have significant weaknesses around long term memory and context, necessitating models use what is essentially a code-as-long-term-memory hack.

logicchains

Given how disappointing the GPT 6.1+ series has been, which apparently used loop transformers, I don't have high hopes for this GLM-5.4.

hypfer

I hate to say it, but unless they publish data that proves they're on to something, anthropic cutting off access to reasoning traces might actually be a sensible decision. GLM-5.3 was just GLM-5.2 but with some post-training magic. Is GLM-5.4 just GLM-5.3 with some loop magic? Do they really do stall because Claude access has been cut off? I'd very much like to be wrong on this read.

WhereIsTheTruth

You can tell most people on this website bought into Anthropic IPO early The negativity is revealing

gunalx

This is why the 5.3 quota exhausted so fast

aurareturn

For those wondering what loop transformers are: LLMs have layers of data, called weights. During inference, each layer gets computed once. Moving weights from HBM memory to the chip is a major bottleneck because to generate a token, you need to move an entire layer into the chip, compute once, move it out, move the next layer in. Hence, memory bandwidth has been the #1 bottleneck for inference. A loop transformer optimizes this bottleneck. Instead of one layer being computed once, it will compute the same layer multiple times, increasing the model intelligence without relying memory bandwidth as much. Bandwidth is still important, but not as much anymore. More intelligence is squeezed by using the GPU compute that is typically sitting idle during inference.

lineshogan

I still don't understand the point of loop models. All their benefits seem theoretical, such as passing information beyond language across decoding steps. But all their drawbacks are practical. For example, you essentially need a fixed number of loops; otherwise, serving becomes much more challenging. They don't save training compute or inference compute either. The only real advantage I can see is that they allow continued pretraining. And as for GLM, I'd argue that it's little more than weight sharing rather than looping in the usual sense, since its architecture is tightly coupled to the specific design of the second loop pass.

theanonymousone

Shouldn't we have price and benchmarks as fist things in such announcements? Could there be a reason they omitted?

Semantic search powered by Rivestack pgvector
3,966 stories · 36,002 chunks indexed