Skip to content
Live
Simon Willison·· 10 days ago66

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

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

Brief overview

Zhipu (Z.ai) has released GLM-5.4, its first model using a cyclic Transformer architecture. By allowing a set of weight-sharing layers to iterate multiple times, the model deepens the network without increasing the parameter count. The model is currently not open-sourced, and access via Z.ai's OpenAI-compatible Responses API requires a subscription to the Coding Plan.

Same story5 other outlets also reported this

How the accounts differ:The Decoder states the model's performance is claimed to reach 2-3 trillion parameter model level; while MarkTechPost mentions the model is the first flagship model based on Loop Transformer architecture and claims to reach the intelligence level of 2T-3T parameter models.

  1. Synced··First

    GLM-5.4 launched! The brand new Loop Transformer architecture debuts

    Adds:Mentions the model is now available to GLM Coding Plan users.

  2. MarkTechPost··+31 min

    Z AI has released the 750B parameter Loop Transformer model GLM-5.4.

    Adds:Mentions the model runs 28 layers of the GLM-5 base model 2 times.

  3. Simon Willison··+5 h 0 min·Reading now

    Zhipu has released GLM-5.4, the first to adopt a cyclic Transformer architecture

    Adds:Mentions the model requires a subscription to the Coding Plan to access via Z.ai's OpenAI compatible Responses API.

  4. QbitAI··+14 h 41 min

    Zhipu AI releases GLM-5.4, the first to adopt the Loop Transformer architecture.

    Adds:Mentions the structure has been validated up to 750B parameter models.

  5. ITHome · AI··+8 d

    GLM-5.4 API is launched on Zhipu Open Platform, with the same price as the previous model

    Adds:Mentions the model has native multimodal capabilities and performs well in video creation and game development.

In order of publication · later reports are added as they appear · Compared by AI from each outlet’s title and summary

Article

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. 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. In a Loop Transformer, a group of weight-shared layers runs for multiple iterations, refining the hidden states from the previous pass. This gives us a deeper network without increasing the parameter count.

This is the second mention of looped transformers I've seen in the past week - the first was Inkling 2 Mini from Thinking Machines Lab on November 20th, who said:

Inkling 2 Mini is a looped transformer, running the middle layers of the model three times for every token. This allows the model to apply more reasoning and reach the right answer with fewer tokens, especially on tasks such as agentic coding that depend on reasoning quality.

GLM 5.4 is not (yet?) available as open weights. 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.

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 built a llm-glm plugin, then realized that llm-zai by Tommy Hughes already exists! I've shipped mine purely because llm-zai doesn't yet support the new model, but I'll likely retire mine once that plugin catches up.

Here are pelicans for GLM-5.4 on low, high, and max. This is the max one:

It's not great to be honest - the pelican is recognizable, but the bicycle frame has a funny front bar connection post and doesn't look like it would steer.

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.

It's interesting how GLM 5.1 and GLM 5.2 produced radically different pelicans from other models. The pelicans for 5.3 and 5.4 are much more comparable to those I get from OpenAI or Anthropic models - the previous generations had their own distinctive look.

I made a comparison grid showing the four generations of GLM pelicans all in one place. The style transition between 5.2 and 5.3 is pretty stark.

The 5.4 and 5.3 pelicans look similar at all three levels. The 5.2 one is on a cyberpunk bicycle. The 5.1 is much more colorful and animated.

Source: Simon Willison · simonwillison.net