Urgent.News

What's breaking now, across hundreds of outlets.

AI

Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3-trillion-parameter one

Z.ai released GLM-5.4 on Monday, introducing a Loop Transformer architecture that executes the same layers multiple times to increase computational The post Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3-trillion-parameter one appeared first on The New Stack .

Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3-trillion-parameter one

Z.ai unveiled GLM-5.4 on Monday, unveiling an innovative Loop Transformer architecture that repeats layers multiple times to boost computational depth without increasing parameters. The company asserts that its 750-billion-parameter model can rival models with 2 trillion to 3 trillion parameters in reasoning performance, although it hasn't published full-scale benchmarks to substantiate this claim.

Developed by refining the pretrained GLM-5 model, GLM-5.4 executes a shared block of 28 layers twice during inference. The company developed the architecture for complex coding and agentic tasks.

To ensure stable activations and efficient attention caching, Z.ai incorporated per-token gates to control updates to the residual stream. The model reuses KV cache and maintains a separate sliding window for the second pass, sidestepping the memory cost of duplicating the whole attention history. Additionally, GLM-5.4 leverages sparse attention indices between iterations, with negligible impact on performance according to Z.ai's testing.

Fused inference kernels reduce intermediate memory reads and writes during repeated layer execution.

Benchmarks were conducted on 1 billion, 4 billion, 30 billion, and 750 billion parameters; however, detailed results are drawn from the 30-billion-parameter model. The looped model outperformed a conventional Transformer of the same size in math, scientific reasoning, and long-context tasks, despite needing about 10% more training compute. The looped model also produced 10% to 14% fewer output tokens on benchmarks like MMLU-Pro and GPQA-Diamond, attributed to reasoning occurring within the repeated layers.

Z.ai's approach, termed Generalized Coding, showcases the model's capabilities, such as creating games with physics and combat systems, developing 3D environments with GLSL shaders, and designing a six-axis robotic arm in FreeCAD. A post on X hinted at improvements over GLM-5.3 in test writing, code QA, feature development, bug fixes, and terminal-based tasks.

Inference throughput is reported at up to 200 tokens per second during off-peak hours, fluctuating between 70 to 80 tokens per second at peak traffic. Controlled comparisons of latency and cost remain unavailable.

Rewritten by urgent.news; may contain errors — check the original.

Source: thenewstack.io

Read the original at thenewstack.io →

Report a problem with this story

More in AI

The AI gains that gdp misses

That is a recent essay of mine, published in The Humanist Review of AI. Excerpt: One way to think of these matching gains is to say that AI helps consumers get hold of more customized products.

  • AI allows consumers access to customized, diverse products
  • Traditional GDP calculations miss these "matching gains"
  • Custom products often lead to greater consumer welfare

More from Monday 23 November →