← All AI news
AIRelease

Z.ai's GLM-5.4 runs its layers twice to code like a much bigger model; you can use it in Claude Code today, but the API and open weights aren't out yet

· 1 min read

Z.ai released GLM-5.4 on 23 November, its first "Loop Transformer": it runs 28 GLM-5 layers twice with the same weights. It's live in the GLM Coding Plan, ZCode and Z.ai Chat, with a 1M-token context; there's no public API, price or open weights yet, and Z.ai has published no official benchmarks.

GLM-5.4 (Z.ai)

Chinese AI lab Z.ai (Zhipu AI) released GLM-5.4 on 23 November 2026, the first flagship model it has built as a Loop Transformer. Instead of adding layers, it runs 28 layers of its GLM-5 base twice, feeding the first pass into the second with the same learned weights. The second pass costs extra compute; to limit memory, Z.ai reuses saved context from the first pass and keeps an extra cache only for a recent window of tokens. Launch coverage puts the model at about 750 billion parameters; DataCamp notes Z.ai hasn't confirmed that figure itself.

Z.ai claims GLM-5.4 performs like models with 2 to 3 trillion parameters, but it has published no official benchmark figures. Its own chart shows GLM-5.4 winning 51.1% of comparisons against GLM-5.3, with 25.7% ties, without saying which tasks or how they were judged. In a separate test on a 30B model, looping raised the GPQA-Diamond score from 47.58 to 56.26 for about 10% more training compute. The model also adds image input and a 1 million-token context.

Where you can use it: the GLM Coding Plan subscription, ZCode and Z.ai Chat. In Claude Code the model name is glm-5.4[1m] (other tools use glm-5.4), and Coding Plan users get 50% more weekly quota than with GLM-5.3. The standalone API is waiting for a security assessment, there are no API prices yet, and the open weights will come only "after completing necessary safety hardening", with no date and no Hugging Face repo so far.

Early tests are mixed. In AICodeKing's six-task KingBench 4, the GLM-5.4 preview ranked 7th overall and 1st among open models, but took 431 minutes against 109 for Google's Gemini 4 Neon and used about 1.04 million tokens against about 70,000. The tools and settings differed, so it is one rough comparison. Z.ai itself admits the model can get stuck in long "marathon thinking". On Hacker News the launch drew more than 900 points.

More news