[KongchangAI]
· 2 min read· 1,486 words

GLM 5.4 Recurrent Transformer Explained: How 750B Parameters Surpasses DeepSeek?

GLM 5.4 Recurrent Transformer Explained: How 750B Parameters Surpasses DeepSeek?

Zhipu releases GLM 5.4, the first recurrent Transformer flagship, but superiority still lacks independent verification.

Zhipu AI releases GLM 5.4, the first large model based on recurrent Transformer architecture. It deepens the network without adding parameters by sharing weights and looping 28 layers twice at 750B scale, claiming intelligence comparable to 2-3T models. Three engineering changes—gating, cache reuse, and attention index reuse—address stability and efficiency. Small-scale validation at 30B showed across-the-board wins, with 10-14% fewer answer tokens. However, comparison with DeepSeek V4.1 Flash relies solely on Zhipu's own win-rate chart showing ~3 points lead, with no independent testing on Artificial Analysis, Arena, OpenRouter, or Hugging Face.

Title

GLM 5.4 Recurrent Transformer Explained: How 750B Parameters Surpasses DeepSeek?

Meta Description

Zhipu AI releases GLM 5.4, the first flagship model with a recurrent Transformer architecture, achieving intelligence comparable to 2-3 trillion parameter models with 750 billion parameters. This article analyzes its technical principles, official comparison data with DeepSeekAd V4.1 Flash, and the lack of third-party verification.

Article Content

Zhipu AI (Z.AI) released its new flagship model GLM 5.4 on November 23, the first large model based on a "recurrent Transformer" architecture. Just one day after release, the timeline has already exploded. But a key question remains unanswered: is it really stronger than DeepSeek V4.1 Flash?

The only comparison data currently available comes from a win-rate chart published by Zhipu itself, with no third-party independent testing. This means all discussions about "who is stronger" are built within a vendor self-certification framework.

Recurrent Transformer: Deeper Without Adding Parameters

Each layer of a traditional Transformer runs only once in a single forward pass. The recurrent Transformer adopted by GLM 5.4 is different: it takes a set of layers, shares weights, and runs them multiple times, with each round refining based on the previous round's results.

Recurrent Transformer principle illustration

The advantage is gaining a deeper network without increasing the parameter count. This concept is not new—the Universal Transformer proposed a similar idea back in 2018, and small recurrent models have also shown benefits. But Zhipu points out that recurrent models trained from scratch still lag behind ordinary models under the same training budget.

So they didn't train from scratch. Instead, they took an already-trained base model and converted it into a recurrent Transformer through continued training. GLM 5.4 loops the base model's 28 layers twice, operating at a scale of 750 billion parameters. Zhipu claims its intelligence level is comparable to 2-3 trillion parameter models—this is a claim about intelligence level, not measured scale.

Universal Transformer is a model architecture proposed by Google in 2018 (paper "Universal Transformers"), whose core idea is to replace the Transformer's encoder layers with a weight-sharing recurrent structure: the same set of layers is executed repeatedly for a fixed number of steps (or a dynamic halting mechanism determines the number of steps), with each step's output serving as the next step's input. This contrasts with the standard Transformer where each layer executes only once, and theoretically can achieve greater "computational depth" with fewer parameters. Universal Transformer has demonstrated advantages in tasks such as machine translation and algorithmic reasoning, but also exposed problems like training instability and difficulty optimizing the number of recurrent steps, so it did not become the foundational architecture of mainstream large models. GLM 5.4's recurrent design can be seen as an engineering revival of this idea in the era of large-scale pre-training.

Engineering Challenges and Three Key Changes

To make the recurrence mechanism run stably at the 750 billion parameter scale, Zhipu made three adjustments:

Gating mechanism. Each round of recurrent updates is written back through a gate, with less written in the first round and more in the second. Without gating, the numerical values inside the model would explode.

Gating mechanism illustration

Cache reuse. The second recurrent round reuses the content selected in the first round and retains its own independent region. The extra recurrence only adds the overhead of one window, not the full context.

Attention indexing. The second round reuses the first round's index, so the extra recurrence does not increase indexing cost.

Together, these three changes address the numerical stability and computational efficiency issues of the recurrent architecture at large parameter scales.

Gating mechanism draws on the gating idea from recurrent neural networks (such as LSTM, GRU): a learnable gating coefficient controls the proportion of new information written in each recurrent round, thereby avoiding numerical explosion or gradient loss of control caused by repeated accumulation of activation values across multiple iterations. In deep networks and recurrent structures, the cumulative effect of residual connections amplifies with the number of recurrences, and gating acts as an adjustable "valve" for each round's update. Zhipu having less written in the first round and more in the second is essentially a recurrent scheduling strategy learned during training, keeping the model stable in early recurrences and fully refining representations in later ones.

Small-Scale Validation: Recurrence Indeed Works

Before committing to the large model, Zhipu validated this approach on a 30 billion parameter model. At the same parameter count, with about 10% more training compute, the recurrent version won across the board.

Small-scale validation results

AIME 25 rose from 19.17 to 30.42, GPQA Diamond from 47.58 to 56.26, and MMLU Pro from 71.65 to 75.05. The most obvious improvements were in mathematics, science, and long context. Another notable phenomenon: answers became shorter, with token counts reduced by 10-14%, because part of the reasoning process was moved into the recurrence.

Comparison with DeepSeek V4.1 Flash: Only One Official Chart

This is the only comparison data currently available, and it comes from Zhipu's own chart. GLM 5.4's win rate against DeepSeek V4.1 Flash 1017 is about 36.6%, with ties and roughly 30% losses each accounting for a portion—a lead of about 3 percentage points, with about one-third of responses tied.

Against Kimi K3.1 Pro the win rate exceeds 40%, and against its own predecessor GLM 5.3 the win rate exceeds 50%.

Zhipu did not specify who judged, what prompts were used, or the sample size. Therefore this cannot be called a benchmark score. More critically, no external organization has tested GLM 5.4—there is no page for it on Artificial Analysis, Arena rankings cannot be checked, it cannot be found on OpenRouter, and there is no repository on Hugging Face.

Official comparison chart and missing information

The honest answer is: Zhipu's own chart says it has a slight edge, but there is no independent testing to verify or refute this.

Artificial Analysis is an independent AI model evaluation and analysis organization that conducts standardized tests of various models through a unified interface, publishing horizontal comparison data such as intelligence index, speed, and price, and is regarded by the community as a relatively neutral reference source. LMArena (formerly Chatbot Arena) is a crowdsourced blind testing platform maintained by LMSYS, where users vote on responses from two anonymous models, reflecting human preferences through Elo-like rankings. OpenRouter is a routing platform aggregating APIs from multiple models, and a model's availability there reflects its usability and ecosystem integration; Hugging Face is the main hosting platform for open-source model weights. The article lists these channels to show that GLM 5.4 has no trace across the four dimensions of independent evaluation, crowdsourced ranking, API aggregation, and open-source hosting, thereby supporting the judgment of "lack of third-party verification".

Specifications and Availability

GLM 5.4 supports a 1 million token context and 128,000 token output, can read video, images, text, and files, and outputs text. Zhipu's service processes 70-80 tokens per second during peak hours, with higher throughput possible off-peak. The company also frankly admitted a limitation: the model tends to get stuck in overly long marathon thinking loops, but they say the extra reflection still improves accuracy.

Currently it can be used in common coding tools through the GLM coding plan (all tiers), and also in Z code and Zhipu chat. Plans with weekly quotas can get 1.5 times the GLM 5.3 quota. The model API will open after security evaluation, with pricing not yet announced. As for open-source weights, Zhipu says it plans to open-source after security hardening, but there is no timeline and no license has been released.

28 layers looped twice, 750 billion parameters, 1 million token context, plus a chart from Zhipu itself—that's all the cards GLM 5.4 currently has on the table. Whether it can prove itself in independent testing still needs time to tell.

One-line Summary

Zhipu releases GLM 5.4, the first flagship model with a recurrent Transformer, but superiority still lacks independent verification.

Paragraph Summary

Zhipu AI releases its new flagship model GLM 5.4, the first large model based on a recurrent Transformer architecture. This architecture deepens the network without increasing parameter count by sharing weights and looping the same set of layers multiple times: GLM 5.4 loops the base model's 28 layers twice, operating at 750 billion parameters, and Zhipu claims its intelligence level is comparable to 2-3 trillion parameter models. To address numerical stability and computational efficiency at scale, Zhipu introduced three changes: gating mechanism, cache reuse, and attention index reuse. Small-scale validation with 30 billion parameters showed the recurrent version won across the board, with obvious improvements in mathematics, science, and long-context tasks, and a 10-14% reduction in answer token counts. However, the comparison with DeepSeek V4.1 Flash is only a single win-rate chart from Zhipu, showing a lead of about 3 percentage points, with no third-party independent testing, and the model does not appear on Artificial Analysis, Arena, OpenRouter, or Hugging Face.

#GLM 5.4#recurrent Transformer#Zhipu AI#DeepSeek V4.1 Flash#large language model#AI model comparison
Share:

Related articles