Z.ai launches GLM 5.4, its first model with repeated layers

The Chinese laboratory Z.ai has released GLM 5.4, touted as its first model based on a loop transformer. API access currently requires a Coding Plan subscription; the weights are not open.
Pelicans Generated to Compare Versions
The creator of the llm-glm module used Z.ai's API to request GLM 5.4 to produce pelicans with low, high, or maximum effort. He then subjected GLM 5.3 to the same tests, which he had not yet conducted with this version. In his view, the results from both models exhibit comparable quality.
His grid compiles the outputs from four generations. He assigns a unique aesthetic to versions 5.1 and 5.2, which are quite distinct from the other models, while the results from versions 5.3 and 5.4 seem closer to those of OpenAI or Anthropic. He identifies a particularly clear visual break between versions 5.2 and 5.3.
API Access and Two Modules
The Coding Plan and standard API offerings utilize a common response interface, compatible with OpenAI, at https://api.z.ai/api/v1. The creator of llm-glm was able to call the new model using his Coding Plan key.
Le brief IA que les pros lisent chaque soir
Les 7 actus IA du jour, décryptées en 5 min. Gratuit.
Inclus dès l'inscription : notre sélection des meilleurs guides & comparatifs IA.
Choisissez votre rythme
Gratuit · Pas de spam · Désabonnement en 1 clic
He developed his module before discovering llm-zai, designed by Tommy Hughes. Since the latter does not yet support GLM 5.4, he explains that he published llm-glm for this sole reason. He plans to remove it once llm-zai is updated.
Layers Executed Multiple Times
Z.ai contrasts the typical operation of a transformer, where each layer is engaged only once during the forward pass, with that of its loop architecture. In the latter, a set of layers with shared weights is executed multiple times; each repetition refines the previous hidden states. The laboratory claims this approach achieves greater depth without increasing the number of parameters.
Thinking Machines also claimed this approach for Inkling 2 Mini on November 20. The laboratory indicates that the intermediate layers are executed three times per token. It asserts that this mechanism provides more reasoning and allows for a correct response with fewer tokens, particularly in programming tasks performed by agents.
Brief IA — L'actualité IA en français
L'essentiel de l'actualité de l'intelligence artificielle, décrypté et expliqué chaque jour.