GLM-5.4 Loop Transformer Cover
GLM-5.4 Loop Transformer Cover

GLM-5.4 has been live for 72 hours now.

As of November 26, 2026, there is still no pay-as-you-go public API, no open weights on Hugging Face, and no full 750B frontier benchmark card.

The past two weeks have been relentless—Anthropic shipped Claude Fable 5.2, Google dropped Gemini 4 Carbon and Gemini 4 Neon, and OpenAI answered with GPT-6.2 Astra and Sol. While everyone else fought over per-task cost and coding leaderboards, two releases last week touched something almost nobody dares to modify at scale—the core Transformer forward pass: Thinking Machines Lab's open-weight 26.4B Inkling 2 Mini on Nov 20, and Zhipu's Z.ai GLM-5.4 on Nov 23.

Z.ai's pitch is bold: take the existing 750B GLM-5 base model, loop 28 middle layers twice per forward pass without adding a single new parameter, and reach the intelligence tier of 2–3T parameter models—while adding native image/video input, a 1M-token context window, and a touted "50% quota boost" for GLM Coding Plan subscribers.

Now that the day-one hype has cooled, let's break down the architecture, the first independent long-horizon benchmark, and the real subscription math.

1. Deeper Without More Parameters: How Does a 750B Loop Transformer Avoid Blowing Up 1M-Context VRAM?

Weight-sharing across recurrent layers isn't new—Universal Transformer proposed it back in 2018. Why didn't frontier labs ship it at 700B+ scale? Z.ai's technical blog is refreshingly blunt: under equal pretraining compute, training a looped model from scratch loses to a standard Transformer.

Instead, Z.ai took its pretrained 750B GLM-5 base and converted it into a Loop Transformer via continued training. Based on community breakdowns of the 78-layer layout:

  • Layers 1–26 (Prelude) run once;
  • Layers 27–54 (28 shared-weight middle layers) run twice;
  • Layers 55–78 (Coda) run once.

Physical weights remain 78 layers, but every token executes 106 effective layers of compute.

GLM-5.4 Loop Transformer Architecture & Benchmark Comparison
GLM-5.4 Loop Transformer Architecture & Benchmark Comparison

The hard part is serving this across a 1M-token context window without doubling memory or exploding activations. Z.ai shipped three pragmatic engineering fixes (Z.ai blog):

  • Gated Progressive Updates: per-token learned gates let pass 1 write conservatively to build global structure while pass 2 opens wider for fine refinement—dynamically stepping harder on difficult tokens.
  • Hybrid KV Cache: pass 2 reuses the sparse global KV selected in pass 1 and only maintains a tiny local sliding-window cache, keeping extra VRAM bounded.
  • Zero-Recompute Sparse Indexing: pass 2 directly reuses pass 1's sparse attention indices with negligible accuracy loss.

In Z.ai's controlled 30B iso-parameter ablation (after 200K long-context SFT with thinking enabled, costing ~10% extra total training compute, MarkTechPost):

30B Iso-Parameter AblationStandard Baseline+ Loop ArchitectureScore DeltaAvg Output Length Delta
AIME25 (Math)19.1730.42+11.3-635 tokens (-2.0%)
GPQA-Diamond (PhD Science)47.5856.26+8.7-2,473 tokens (-11.7%)
AA-LCR (Long-Context Reasoning)40.3347.67+7.3-539 tokens (-9.7%)
MMLU-Pro (General Knowledge)71.6575.05+3.4-863 tokens (-14.9%)
IFBench (Instruction Following)50.2053.47+3.3-763 tokens (-13.0%)

The most striking column isn't even the +11.3 jump on AIME25—it's the right-hand side. Average output length actually shrank by 11.7% to 14.9% on GPQA-Diamond and MMLU-Pro. By pushing part of the reasoning budget into implicit layer depth, the model needed fewer external chain-of-thought tokens to arrive at a better answer.

72 Hours After GLM-5.4: Does Looping 28 Layers Twice Really Put a 750B Model in the 2–3T League? — Engineering Figure 3
72 Hours After GLM-5.4: Does Looping 28 Layers Twice Really Put a 750B Model in the 2–3T League? — Engineering Figure 3

2. 72 Hours Later, the 750B Flagship Is Still a Black Box

That 30B ablation is clean science—but it is not proof that the 750B flagship rivals 2–3T models.

Look at how peers shipped this month: OpenAI published full frontier benchmarks and API pricing alongside GPT-6.2 Astra; Google and Anthropic launched Gemini 4 and Claude Fable 5.2 with immediate third-party Artificial Analysis evaluations; even Inkling 2 Mini dropped Apache 2.0 weights on Hugging Face with 30+ evals on day one.

Three days after launch, Z.ai still lists pay-as-you-go API and open weights as pending "safety evaluation / hardening" with no dates. The only flagship comparison in Z.ai's docs is an undisclosed head-to-head win-rate graphic (official chart):

  • vs. GLM-5.3: 51.1% Win / 25.7% Tie / 23.1% Loss
  • vs. Kimi K3.1 Pro (~2.8T MoE): 41.8% Win / 26.9% Tie / 31.3% Loss
  • vs. DeepSeek-V4.1-Flash-1017: 36.6% Win / 30.2% Tie / 33.2% Loss

No prompt set, no judge rubric—and even on its own evaluation, GLM-5.4 only edges out lightweight DeepSeek-V4.1-Flash-1017 by a 3.4-point net win margin. That's thin backing for a "2–3T class" claim.

3. First Independent Benchmark: Elite Code Reviewer, 431-Minute "Marathon Thinker" at Default Max

Independent evaluator AICodeKing ran the first unsponsored long-horizon test on KingBench 4—6 large-scale builds spanning emulators, container runtimes, and desktop apps (Fello AI summary, VentureBeat).

The good:

  • Scored 33.2 / 60 (31.8 on unified base prompt)—#7 overall out of 19 models and #1 among broadly open-ecosystem models, jumping sharply over GLM-5.3 (27.5), though still trailing Claude Fable 5.2 (42.0) and Gemini 4 Neon (37.9).
  • Described as the most meticulous, cautious model tested: outstanding at code reviews and security audits, catching subtle bugs that Claude Fable missed.
  • Strong agent resilience: 66% self-recovery rate after tool errors and 96%–99% context cache hit rate.

The catch: When hooked into Claude Code, GLM-5.4 defaults to max effort—and refuses to stop thinking. Across KingBench 4, Gemini 4 Neon finished in 109 minutes (244 steps, ~70K reasoning tokens). GLM-5.4 took 431 minutes—not because token generation was slow (22.9s/step vs. Neon's 26.7s/step), but because it stretched the run to 1,128 steps and burned 1.04 million reasoning tokens (~15x Neon).

On 5 small deterministic coding checks, the effort-tier inversion is stark (Fello AI data):

/effort TierKingBench 4 Score5 Small Tasks Passed5 Small Tasks Total Time
Low25.2 / 6025 / 2566s
Medium24.1 / 6024 / 25175s
High28.8 / 6020 / 25 (thinking timeout)426s
Max (Default)31.8 (33.2 rerun)20 / 25 (thinking timeout)454s

At low, it aced all 25 checks in 66 seconds. At high and max, it second-guessed itself straight into the 180-second timeout wall. Whatever output brevity appeared in the 30B ablation gets overwhelmed at 750B under RL + max effort.

4. Coding Plan Math: How the "50% Extra Quota" Can Backfire

Z.ai announced a 50% quota boost for weekly subscribers, citing 200 tok/s off-peak and 70–80 tok/s peak speeds (self-reported until public APIs open for independent load testing).

Verified pricing (shattered.io, MarkTechPost):

  • Monthly: Lite $18 / Pro $80 / Max $168
  • Annualized: Lite $12.6 / Pro $56 / Max $117.6 per month

The weekly point pools (10,000 / 60,000 / 140,000) didn't actually increase (Fello AI breakdown). Instead, Z.ai cut the point multiplier per 10K tokens by ~33%: from 6.9 (input) / 1.7 (cached) / 24 (output) on GLM-5.3 down to 4.6 / 1.1 / 16 on GLM-5.4—plus another 50% discount outside peak hours (Mon–Fri 14:00–18:00 UTC+8).

Here is the trap: output tokens carry the heaviest multiplier (16 pts / 10K tokens).

  • In a realistic session with 1M input (95% cached) + 100K output at peak hours: GLM-5.3 costs 436 points, while GLM-5.4 drops to 287.5 points—a genuine 34% savings.
  • Leave Claude Code on default max effort and let marathon thinking double output to 200K tokens, and that exact same session jumps to 447.5 points—wiping out the entire discount and costing more than GLM-5.3.

Context against November 2026 public API pricing (per 1M tokens): GPT-6.2 Astra & Claude Fable 5.2 sit at $8/$40; Claude Opus 5.5 at $4/$20; Gemini 4 Neon at $3/$15; GPT-6.2 Sol & promo Gemini 4 Carbon at $2/$10 (Carbon returns to $4/$20 Dec 1); Gemini 4 Hydrogen at $1.50/$7.50; and prior-gen GLM-5.3 API at $1.40/$4.40. If GLM-5.4 lands its pay-as-you-go API around $1.5–$2 input / $4–$6 output and tames runaway thinking, its unit economics will be hard to ignore.

5. Same-Week Collision With Inkling 2 Mini: What Loop Transformers Actually Prove

Three days before GLM-5.4, Thinking Machines Lab released Inkling 2 Mini—a 26.4B total / 3.4B active MoE (5.4B effective active with looping) running 12 middle layers 3 times in native NVFP4 (~20GB VRAM). Their researcher built a playable flight simulator offline on a MacBook Pro mid-flight, topping sub-100B open models on DeepSWE v1.1 (48.2%) and SWE-bench Verified (79.2%).

Their report clarifies two fundamental truths about Loop Transformers:

  1. Inference efficiency is real: on 512K agent trajectories, a non-looped baseline saves 7.5% training compute but burns 140% more inference compute to match the looped model's loss.
  2. Looping does not add memorized knowledge: extra passes lift multi-step reasoning and long-context retrieval, but give zero gain on pure recall benchmarks like AA-Omniscience and SimpleQA—you still need search and tools.

Seeing both a 26B laptop model and a 750B cloud flagship converge on layer looping in the same week confirms a third practical scaling axis alongside parameter count and external CoT—implicit depth inside the weights.

6. Bottom Line: Should You Switch Today?

  • Existing GLM Coding Plan users: Switch now for native vision and lower point burn, and slot GLM-5.4 into your multi-model stack as your Code Reviewer / Security Auditor. Just break the default-max habit: use /effort low or /effort high for routine edits, and stay on monthly billing rather than locking into annual.
  • Automated agent pipelines: Do not run it unguarded. Route fast execution through Gemini 4 Neon or GPT-6.2 Sol, and call GLM-5.4 behind strict timeouts only for hard architecture passes and pre-merge audits.
  • Production API & self-hosted teams: Wait. With zero 750B benchmark card, no public API SLA/pricing, and no open weights 72 hours post-launch, stay on your current production stack until Z.ai puts all three on the table.

FAQ

Why does GLM-5.4 time out so often in Claude Code, and how do I fix it?

It defaults to /effort max, which triggers marathon reasoning loops (1,128 steps / 431 minutes on KingBench 4; 180s timeouts on simple checks). Manually set /effort low (25/25 passed in 66s) or /effort high for everyday work, reserving max strictly for deep audits with timeout guards.

Does the GLM-5.4 Coding Plan actually save money?

Yes—if you keep output tokens under control. Point multipliers dropped ~33% (plus 50% off-peak savings outside 14:00–18:00 UTC+8), cutting a 1M-input/100K-output session from 436 to 287.5 points. But letting max effort double reasoning output pushes the same session to 447.5 points, more expensive than GLM-5.3.

Should production teams migrate to GLM-5.4 as of November 26, 2026?

Not yet. Individual subscribers can adopt it selectively today, but production API and self-hosted teams should wait until Z.ai ships pay-as-you-go API pricing, open weights on Hugging Face, and a complete 750B benchmark card.

(Note: Subscription and API cost calculations are for engineering evaluation only and not financial advice.)