---
type: "post"
id: "glm-5-4-toward-generalized-coding-with-our-c8bded"
slug: "glm-5-4-toward-generalized-coding-with-our-c8bded"
title: "GLM-5.4: Toward Generalized Coding with Our First Loop Transformer"
description: "Z.ai has made GLM-5.4 available, its first model to use a looped transformer architecture."
retrieval_nugget: "Z.ai has made GLM-5.4 available, its first model to use a looped transformer architecture."
published_at: "2026-12-01"
updated_at: "2026-12-01"
record_date: "2026-12-01"
date_kind: "published_at"
topics: ["models","coding-agents"]
entities: ["Z.ai","GLM-5.4"]
related_patterns: []
novelty_label: "new_fact"
source_url: "https://simonwillison.net/2026/Nov/23/glm-54"
source_urls: ["https://simonwillison.net/2026/Nov/23/glm-54"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-01T07:02:23.155Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"medium","human_review":"selective"}
citations: [{"claim":"","quotes":["Try it for free 23rd November 2026 - Link Blog GLM-5.4: Toward Generalized Coding with Our First Loop Transformer . GLM 5.4 is now available from Chinese AI lab Z.ai.","GLM 5.4 is now available from Chinese AI lab Z.ai. It's their first model to use a looped transformer architecture, which they describe like this: In a standard Transformer, each layer runs once per forward pass."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=Try%20it%20for%20free%2023rd%20November%202026%20%2D%20Link%20Blog%20GLM%2D5.4%3A%20Toward%20Generalized%20Coding%20with%20Our%20First%20Loop%20Transformer%20.%20GLM%205.4%20is%20now%20available%20from%20Chinese%20AI%20lab%20Z.ai.&text=GLM%205.4%20is%20now%20available%20from%20Chinese%20AI%20lab%20Z.ai.%20It%27s%20their%20first%20model%20to%20use%20a%20looped%20transformer%20architecture%2C%20which%20they%20describe%20like%20this%3A%20In%20a%20standard%20Transformer%2C%20each%20layer%20runs%20once%20per%20forward%20pass.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"},{"claim":"","quotes":["In a Loop Transformer, a group of weight-shared layers runs for multiple iterations, refining the hidden states from the previous pass."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=In%20a%20Loop%20Transformer%2C%20a%20group%20of%20weight%2Dshared%20layers%20runs%20for%20multiple%20iterations%2C%20refining%20the%20hidden%20states%20from%20the%20previous%20pass.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"},{"claim":"The author reports that access currently requires a Coding Plan subscription rather than Z.ai’s regular API.","quotes":["GLM 5.4 is not yet available as open weights: We plan to open-source the model weights responsibly after completing necessary safety hardening."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=GLM%205.4%20is%20not%20yet%20available%20as%20open%20weights%3A%20We%20plan%20to%20open%2Dsource%20the%20model%20weights%20responsibly%20after%20completing%20necessary%20safety%20hardening.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"},{"claim":"Both services use the OpenAI-compatible Responses API, and the author says a Coding Plan key worked with it to access GLM-5.4.","quotes":["I tried it out using the Z.ai API, for which I had to sign up for their Coding Plan subscription because 5.4 cannot currently be accessed through the regular API."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=I%20tried%20it%20out%20using%20the%20Z.ai%20API%2C%20for%20which%20I%20had%20to%20sign%20up%20for%20their%20Coding%20Plan%20subscription%20because%205.4%20cannot%20currently%20be%20accessed%20through%20the%20regular%20API.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"},{"claim":"","quotes":["It turns out both coding plan and regular API share the same OpenAI-compatible Responses API (at https://api.z.ai/api/v1 ), and the API key for the coding plan worked with that and gave me access to the new model.","I tried it out using … access to the new model."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=It%20turns%20out%20both%20coding%20plan%20and%20regular%20API%20share%20the%20same%20OpenAI%2Dcompatible%20Responses%20API%20%28at%20https%3A%2F%2Fapi.z.ai%2Fapi%2Fv1%20%29%2C%20and%20the%20API%20key%20for%20the%20coding%20plan%20worked%20with%20that%20and%20gave%20me%20access%20to%20the%20new%20model.&text=I%20tried%20it%20out%20using,access%20to%20the%20new%20model.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"},{"claim":"The account says GLM-5.3 and GLM-5.4 produced similarly qualified pelican illustrations at matching reasoning-effort levels, but provides no benchmark evidence that GLM-5.4 improves coding results.","quotes":["GLM 5.4 is not yet available as open weights: We plan to open-source the model weights responsibly after completing necessary safety hardening."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=GLM%205.4%20is%20not%20yet%20available%20as%20open%20weights%3A%20We%20plan%20to%20open%2Dsource%20the%20model%20weights%20responsibly%20after%20completing%20necessary%20safety%20hardening.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"},{"claim":"","quotes":["This is the max one: I realized I never ran pelicans for GLM-5.3, so here those are for the same effort levels. They look similar in quality to 5.4."],"cite_url":"https://simonwillison.net/2026/Nov/23/glm-54#:~:text=This%20is%20the%20max%20one%3A%20I%20realized%20I%20never%20ran%20pelicans%20for%20GLM%2D5.3%2C%20so%20here%20those%20are%20for%20the%20same%20effort%20levels.%20They%20look%20similar%20in%20quality%20to%205.4.","source_url":"https://simonwillison.net/2026/Nov/23/glm-54","publisher":"simonwillison.net"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:glm-5-4-toward-generalized-coding-with-our-c8bded"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/glm-5-4-toward-generalized-coding-with-our-c8bded/","markdown":"https://newruntime.com/posts/glm-5-4-toward-generalized-coding-with-our-c8bded.md","json":"https://newruntime.com/posts/glm-5-4-toward-generalized-coding-with-our-c8bded.json"}
markdown_url: "https://newruntime.com/posts/glm-5-4-toward-generalized-coding-with-our-c8bded.md"
---

# GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

## Retrieval answer

Z.ai has made GLM-5.4 available, its first model to use a looped transformer architecture.

## Summary

Z.ai has made GLM-5.4 available, its first model to use a looped transformer architecture. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=Try%20it%20for%20free%2023rd%20November%202026%20%2D%20Link%20Blog%20GLM%2D5.4%3A%20Toward%20Generalized%20Coding%20with%20Our%20First%20Loop%20Transformer%20.%20GLM%205.4%20is%20now%20available%20from%20Chinese%20AI%20lab%20Z.ai.&text=GLM%205.4%20is%20now%20available%20from%20Chinese%20AI%20lab%20Z.ai.%20It%27s%20their%20first%20model%20to%20use%20a%20looped%20transformer%20architecture%2C%20which%20they%20describe%20like%20this%3A%20In%20a%20standard%20Transformer%2C%20each%20layer%20runs%20once%20per%20forward%20pass.))

## What happened

In Z.ai’s description, a group of shared-weight layers runs through multiple iterations, refining hidden states from the previous pass. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=In%20a%20Loop%20Transformer%2C%20a%20group%20of%20weight%2Dshared%20layers%20runs%20for%20multiple%20iterations%2C%20refining%20the%20hidden%20states%20from%20the%20previous%20pass.))

GLM-5.4 is not yet available as open weights; Z.ai says it plans to release them after safety hardening. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=GLM%205.4%20is%20not%20yet%20available%20as%20open%20weights%3A%20We%20plan%20to%20open%2Dsource%20the%20model%20weights%20responsibly%20after%20completing%20necessary%20safety%20hardening.)) The author reports that access currently requires a Coding Plan subscription rather than Z.ai’s regular API. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=I%20tried%20it%20out%20using%20the%20Z.ai%20API%2C%20for%20which%20I%20had%20to%20sign%20up%20for%20their%20Coding%20Plan%20subscription%20because%205.4%20cannot%20currently%20be%20accessed%20through%20the%20regular%20API.)) Both services use the OpenAI-compatible Responses API, and the author says a Coding Plan key worked with it to access GLM-5.4. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=It%20turns%20out%20both%20coding%20plan%20and%20regular%20API%20share%20the%20same%20OpenAI%2Dcompatible%20Responses%20API%20%28at%20https%3A%2F%2Fapi.z.ai%2Fapi%2Fv1%20%29%2C%20and%20the%20API%20key%20for%20the%20coding%20plan%20worked%20with%20that%20and%20gave%20me%20access%20to%20the%20new%20model.&text=I%20tried%20it%20out%20using,access%20to%20the%20new%20model.))

## What the archive adds

This extends Z.ai’s GLM-5 series with a first loop-transformer model, as described in our earlier GLM-5.4 coverage. ([earlier New Runtime note](https://newruntime.com/posts/glm-5-4-toward-generalized-coding-with-our-e5b0e1/))

## Trend signal

The architectural signal is repeated computation through shared layers; without comparative measurements, that is a design change, not evidence of better coding results.

## Why it matters

For practitioners who want to test GLM-5.4 now, the reported route is a Coding Plan subscription. Its key can be used with the shared Responses API, but regular API access is not currently reported.

## Limits and uncertainty

The weights remain closed pending safety hardening. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=GLM%205.4%20is%20not%20yet%20available%20as%20open%20weights%3A%20We%20plan%20to%20open%2Dsource%20the%20model%20weights%20responsibly%20after%20completing%20necessary%20safety%20hardening.)) The account says GLM-5.3 and GLM-5.4 produced similarly qualified pelican illustrations at matching reasoning-effort levels, but provides no benchmark evidence that GLM-5.4 improves coding results. ([simonwillison.net](https://simonwillison.net/2026/Nov/23/glm-54#:~:text=This%20is%20the%20max%20one%3A%20I%20realized%20I%20never%20ran%20pelicans%20for%20GLM%2D5.3%2C%20so%20here%20those%20are%20for%20the%20same%20effort%20levels.%20They%20look%20similar%20in%20quality%20to%205.4.))

## Reader takeaway

GLM-5.4 is Z.ai’s first model with a looped transformer: shared layers run repeatedly over hidden states. It is not yet open-weight, and the reported access route is the Coding Plan; a compatible Responses API key worked for one author. The evidence here describes the architecture, not a measured coding-performance gain.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Models](https://newruntime.com/topics/models.md): Explore the models topic hub.
- topic hub: [Coding Agents](https://newruntime.com/topics/coding-agents.md): Explore the coding-agents topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
