Loading...

Z.ai just dropped GLM-5.4, a 750‑billion‑parameter model that runs a block of layers twice in a loop‑transformer design. The company says the architecture lets a 750B model punch above its weight, delivering performance comparable to 2‑3 trillion‑parameter rivals while keeping memory and compute in check.
According to The Decoder, GLM-5.4 is Z.ai’s first large model built on a loop transformer, a design OpenAI has been using since its GPT‑6 Astra release. Instead of feeding each token through a stack of unique layers once, GLM-5.4 runs a shared block of 28 layers twice, refining the intermediate representation on the second pass. To avoid the dreaded activation blow‑up that can happen when a model overwrites its own states, Z.ai added dedicated gates per token and pass, letting the first pass build context cautiously and the second pass write changes back in full. The two passes also share the KV cache, so memory usage only climbs modestly even with a 1‑million‑token context window.
The model leans on sparse attention to prune irrelevant tokens early, re‑using the same selection on the second pass. Z.ai reports that this yields “nearly the same results” as recomputing attention each round, while keeping throughput at about 200 tokens per second off‑peak and 70‑80 tokens per second under load.
Z.ai tested the loop design on 1B, 4B, 30B and the flagship 750B models. The most detailed numbers come from a 30B comparison where the loop version got roughly 10 % more training compute. On the AIME25 math benchmark scores jumped from 19.2 to 30.4 points; on the expert‑level GPQA‑Diamond science test they rose from 47.6 to 56.3; and on the AA‑LCR long‑context test they climbed from 40.3 to 47.7. Knowledge‑heavy MMLU‑Pro and instruction‑following IFBench saw modest gains of just over three points. Interestingly, output tokens got shorter—down 14.9 % on MMLU‑Pro, 11.7 % on GPQA‑Diamond, and 2 % on AIME25—suggesting the extra reasoning depth is being absorbed in the loop passes.
The company admits the model still gets stuck in “overly long reasoning phases,” though it claims the double‑check improves accuracy. GLM-5.4 is being rolled out through the GLM Coding Plan, ZCode coding environment, and Z.ai Chat, with an API promised soon (pricing not announced). Weights will be released after further safety testing, and a larger model is slated for the near future.
If you’re a founder or team lead who already leans on AI for code generation, content creation, or prototype design, GLM-5.4 could be the next “big‑boy” model you can tap without blowing your cloud budget. The loop architecture promises near‑trillion‑scale performance with a 750B footprint, meaning you might get comparable results to Qwen3.8‑Max or Kimi K3.1 Pro without needing the same hardware heft. That’s a win for small teams that can’t afford multi‑trillion‑parameter inference rigs.
But the devil is in the details. The model’s token throughput—200 tps off‑peak, 70‑80 tps under load—means you’ll still need to batch work or accept latency for heavy‑duty prompts. The lack of independent benchmark data for the 750B version also makes it hard to gauge real‑world ROI. And with pricing still under wraps, you could end up paying premium rates for a model that, at best, offers marginal gains on knowledge tests (just a three‑point bump on MMLU‑Pro). On the upside, the “Generalized Coding” narrative—code that can spin up videos, games, and CAD models—might let you prototype multi‑modal assets in‑house, cutting out expensive third‑party services.
Bottom line: GLM-5.4 is a technically intriguing step that could democratize higher‑end AI performance, but you’ll need to test it against your specific workloads before committing.
Comments1
I'm curious, how do you think the 10% increase in training compute for the 30B loop model translates to actual performance gains in real-world applications, especially for small teams with limited resources?