dataqbs

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

· Source: Simon Willison

GLM‑5.4, the latest model from the Chinese company Z.ai, is the first to use a “looped transformer” architecture. Instead of running each layer only once, a set of layers shares weights and is repeated several times, refining internal states without adding more parameters. This technique allows the creation of a deeper network and improves reasoning ability, a concept that was recently explored by Thinking Machines Lab’s Inkling 2 Mini, which also reuses intermediate layers three times per token to optimize agent‑coding tasks.

The model is not yet available with open weights; access is provided through Z.ai’s “Coding Plan” subscription, which uses the same OpenAI‑compatible API as the regular offering. The author developed an llm‑glm plugin to integrate the model, but notes that it will soon be superseded by Tommy Hughes’s llm‑zai plugin, which already supports most features.

Visual comparisons of “pelican” outputs from GLM‑5.4 and earlier versions (5.1‑5.3) show convergence in quality with OpenAI and Anthropic models starting at version 5.3. These images illustrate how the model’s evolution affects the stylistic consistency of generative outputs.

This news matters because the looped architecture could provide a path to enhance large‑model performance without increasing size, easing deployment and cutting computational costs—critical factors for commercial adoption of generative AI.

Read the original article on Simon Willison

This summary is an informational synthesis produced by dataqbs.com. All rights to the original content belong to its author and the cited media outlet. We act solely as curators of technology news and claim no authorship.

Read this in Español · Deutsch · Français · Italiano