What Is GLM 5.4? Z.ai Loop Transformer Model Explained
Nov 24, 2026

What Is GLM 5.4? Z.ai Loop Transformer Model Explained

GLM-5.4 is Z.ai's first Loop Transformer flagship: 750B scale, two passes over 28 GLM-5 layers, vision input, 1M context. Specs, access, limits and what is still missing.

Quick answer: GLM 5.4 (written GLM-5.4 by Z.ai) is Z.ai's newest flagship model, released on November 23, 2026. It is the company's first Loop Transformer: it runs a shared block of 28 GLM-5 base layers twice per token, at about 750B scale, and Z.ai says that reaches the level of 2T–3T parameter models. It adds vision (video, image, text and file input), keeps a 1M-token context with 128K output, and is aimed at what Z.ai calls "Generalized Coding." You can use it in Z.ai Chat, ZCode and partner coding tools. The API, open weights and benchmark scores are not out yet.

Most launch coverage repeats the "2T–3T" line and stops. This guide separates what Z.ai has actually published from what it has only claimed, so you can decide whether GLM 5.4 is worth testing now or worth waiting for.

All facts below come from Z.ai's official docs and blog, checked on November 24, 2026. If you only need the quick spec sheet and release status, our GLM 5.4 model page has it on one screen.

TL;DR

  • What it is: Z.ai's first Loop Transformer flagship, built by converting the GLM-5 base model rather than training from scratch.
  • What is new: looped depth (2 passes), vision input, faster serving (up to 200 tokens/s off-peak).
  • What is missing: public API, price, open weights, and any GLM 5.4 benchmark table.
  • Known weakness: long "marathon thinking" on hard problems, which Z.ai itself flags.
  • Where to use it: chat.z.ai, ZCode, and coding tools such as Trae, Qoder, WorkBuddy and OpenCode.

GLM 5.4 Specs at a Glance

SpecGLM 5.4
DeveloperZ.ai (Zhipu AI)
Release dateNovember 23, 2026
ArchitectureLoop Transformer: 28 weight-shared GLM-5 layers, 2 iterations
Scale~750B (active parameters not published)
Claimed levelComparable to 2T–3T parameter models
InputVideo, image, text, file
OutputText
Context length1M tokens
Max output128K tokens
Speed on Z.aiUp to 200 tokens/s off-peak, 70–80 tokens/s at peak
FeaturesThinking mode, streaming, function calling, context caching, structured output (JSON)
APIComing soon, after a security assessment
Open weightsPlanned, no date

What Makes GLM 5.4 Different?

1. It loops layers instead of adding them

A normal Transformer runs each layer once per token. GLM 5.4 takes 28 layers from the GLM-5 base and runs them two times, refining the hidden state on the second pass. That makes the network deeper without adding parameters.

Z.ai's argument is that some tasks are limited by memory (they need more parameters to store facts) and others are limited by reasoning (they need more compute per step). Large software projects, security work, 3D modeling and physical control are in the second group. Looping spends more compute on each token without growing the model.

The idea is old. The 2018 Universal Transformer used shared-weight depth. What is new is doing it on a 750B production model, and doing it by continued training of an existing base instead of pretraining a looped model from scratch, which Z.ai says still lags at equal compute. Our Loop Transformer section in GLM 5.4 vs GLM 5.3 covers the three engineering changes that make it practical.

2. It can see

GLM 5.3 was text-only; only GLM 5.3 Flash read images. GLM 5.4 brings vision to the flagship, with video, image, text and file input. Z.ai pairs this with coding: the model reads a screenshot, a video frame or a CAD view, and then writes code against it.

3. "Generalized Coding"

This is Z.ai's label for using code as a general tool, not only for software. Its launch demos:

  • Video: GLM 5.4 wrote code to produce and edit "Hello World," a self-narrated music video.
  • Engineering: it built a 6-axis robotic arm in FreeCAD through CAD scripting.
  • 3D: it generated an interactive macro bird-watching scene using math geometry and custom GLSL shaders.

These are demos picked by Z.ai, not measured results. They show the target use cases, not how often the model succeeds at them.

4. Shorter answers for the same reasoning

On a 30B test model with the same architecture, Z.ai reports that looping cut average output length by 10–14% on benchmarks such as GPQA-Diamond and MMLU-Pro. Its explanation: part of the reasoning moves from visible thinking tokens into the extra loop depth. If that holds at 750B, GLM 5.4 could be cheaper per answer once it has an API price.

What Z.ai Has Not Published

This is the part most "GLM 5.4 explained" pages skip.

Claim you may seeWhat Z.ai actually released
"GLM 5.4 benchmark scores"No public benchmark table, only an internal win-rate chart. A team member said scores will come later
"Beats 2T–3T models"A claim in the blog, with no named comparison models or numbers
"GLM 5.4 API price"No price. API waits on a security assessment
"GLM 5.4 on Hugging Face"No weights yet. Newest is GLM-5.3
"GLM 5.4 Flash"Not announced

The docs do include a win-rate chart from Z.ai's own testing and an iso-parameter ablation at 30B. The win-rate chart is the closest thing to a head-to-head result:

GLM 5.4 vs…WinTieLose
GLM 5.351.1%25.7%23.1%
Kimi K3.1 Pro41.8%26.9%31.3%
DeepSeek V4.1 Flash 101736.6%30.2%33.2%

Z.ai does not say how many tasks were used, what kind they were, or how wins were judged. So read it as "clearly ahead of GLM 5.3, modestly ahead of Kimi K3.1 Pro, roughly even with DeepSeek V4.1 Flash," not as a benchmark score. For a baseline with real numbers, see GLM 5.3 benchmarks.

Tip for testers: with no scores to compare, the most reliable signal is your own work. Run two or three real tasks you already know the answer to, and time them. Hard prompts may take noticeably longer because of the marathon-thinking issue.

The Known Weakness: Marathon Thinking

Z.ai's own docs say GLM 5.4 "tends to get caught in overly long 'marathon thinking' loops." It also says the extra reflection "does consistently improve accuracy." In practice that means:

  • simple prompts should be fine;
  • hard coding or math prompts may think for a long time before answering;
  • in agent tools with time or token limits, long thinking can hit those limits.

If a tool lets you lower reasoning effort, try that first on routine tasks.

How to Use GLM 5.4 Today

  1. Z.ai Chat: open chat.z.ai, sign in, and pick GLM-5.4.
  2. ZCode: Z.ai's coding app at zcode.z.ai, for multi-step coding work.
  3. Partner coding tools: Trae, WorkBuddy, Qoder and OpenCode added GLM-5.4 on launch day. Pick glm-5.4 in the model menu.

It is not on OpenRouter, Ollama, Hugging Face or glm5.app yet. Our GLM 5.4 API guide explains what to do if you need programmatic access now.

GLM 5.4 on glm5.app

glm5.app is an independent site and is not run by Z.ai. GLM 5.4 is not in our catalog yet. The flagship you can use here today is GLM 5.3, and GLM 5.3 Flash handles image input with free daily messages.

Try GLM 5.3 on glm5.app →

We will add GLM 5.4 once Z.ai opens its API. Check the GLM 5.4 page for status.

Who Should Care About GLM 5.4?

  • Coding agent users: the main target. Visual coding and long tasks are where Z.ai says it gained most.
  • People who need vision in a GLM flagship: this is the first one.
  • API builders: wait. There is no endpoint or price yet.
  • Local and self-hosting users: wait for the weights, and expect hardware needs similar to other ~750B models.

My Final Take

GLM 5.4 is an interesting architecture bet more than a proven upgrade. The design is published in unusual detail, the speed numbers are concrete, and vision closes a real gap in the GLM flagship line. But with no benchmark table, no API and no weights, the "2T–3T level" claim is still a claim. Use it in Z.ai Chat or ZCode if you are curious, and judge it on your own tasks.

Sources

Specs are from Z.ai's model page as of November 24, 2026. Demo descriptions summarize Z.ai's launch videos and are not independent tests.

Start Using GLM 5 Today

Try GLM 5 free — reasoning, coding, agents, and image generation in one platform.