mimirwiki.com/wiki/glm-5-4
rev 33bb1974Updated 2026-12-03EN · KO · JA · ZH · ES · DE · FR · PT · RU · IT · HI · AR
Organization/Technology and AI

GLM-5.4

Multimodal coding and reasoning language model developed by Z.ai using a Loop Transformer architecture

Expert review pending
From public information · owner unconfirmedWritten automatically from public sources6 sources
View the page in the format AI receives
Summary

GLM-5.4 is Z.ai's flagship multimodal language model for software development, reasoning, and agentic tasks. Built on a Loop Transformer architecture that runs 28 shared GLM-5 layers across two passes, it supports a 1M-token context window, 128K output tokens, and native vision input. As of December 3, 2026, it is available via Z.ai's API, ZCode, AutoClaw, Vercel AI Gateway, and Mistral Cloud.

Developer
Z.ai1
Architecture
Loop Transformer (28 reused layers x 2)1
Context window
1M tokens (128K max output)1as of 2026-12-03
Vercel Gateway price
From $1.40 input / $4.40 output per 1M4as of 2026-12-03

GLM-5.4 is a flagship multimodal language model developed by Z.ai for coding, reasoning, and agentic workflows, and the first GLM model built on a Loop Transformer architecture. According to Z.ai developer documentation, GLM-5.4 reuses 28 layers of the GLM-5 base model across two iterations per forward pass, supports a 1 million-token context window and up to 128K output tokens, and accepts text, image, video, and file inputs. In early December 2026, GLM-5.4 rolled out across Z.ai's API, ZCode, and AutoClaw alongside third-party platforms including Vercel AI Gateway and Mistral Cloud.

Also known as GLM 5.4, zai/glm-5.4, Z.ai GLM-5.4

01

GLM-5.4 Loop Transformer architecture and specifications

Government and public records Academic and news Official sites

GLM-5.4 is the first Z.ai model built on a Loop Transformer architecture, which reuses 28 layers of the GLM-5 base model across two iterations during a forward pass to increase reasoning depth without adding parameters.13 Z.ai documentation states that combining this looped layer reuse with optimized key-value (KV) caching and sparse attention keeps deployment costs controlled at a 1 million-token context length, with a maximum output of 128K tokens.1

In Z.ai's API under the model code glm-5.4, GLM-5.4 supports thinking mode, streaming messages, function calling, context caching, and structured output such as JSON.1 Z.ai reports that part of the reasoning shifts from explicit output tokens into the implicit depth of the loop, and lists streaming throughput of up to 200 tokens per second during off-peak hours and 70 to 80 tokens per second at peak load.13

02

Multimodal input and generalized coding in GLM-5.4

Unlike its text-only predecessor GLM-5.3 in AutoClaw, GLM-5.4 introduces native vision support alongside text, video, and file inputs, allowing a single model to read screenshots, charts, or mockups and perform downstream analysis or code generation without switching models.16 Through the Chat Completion API, developers pass images using image_url content blocks with URLs or Base64 Data URLs.1

Z.ai describes GLM-5.4 as the start of generalized coding, in which code generation extends beyond conventional software engineering to generating and editing videos, building games, creating 3D scenes, and handling CAD-style mechanical design.13 Z.ai recommends API settings of temperature: 1, top_p: 0.95, reasoning_effort: max, thinking.type: enabled, and thinking.clear_thinking: false.1

03

Rollout across Z.ai Coding Plan, ZCode, and AutoClaw

Z.ai made GLM-5.4 available through its Model API and GLM Coding Plan subscriptions (Personal and Team plans), increasing available weekly quota for GLM-5.4 to 1.5 times that of GLM-5.3 for users on weekly quota plans.1 On December 1, 2026, Z.ai released ZCode v4.1.2, adding support for pairing GLM-5.4 as the main agent with GLM-5.3-Flash automatically selected for built-in sub-agents set to Default.5

On December 3, 2026, the AutoClaw Team announced that GLM-5.4 went live in AutoClaw, highlighting its ability to process screenshots of web pages or reports directly, load an entire project's documents into its 1M-token context window without batch summarization, and iteratively verify its own outputs.6

04

Third-party availability and unconfirmed items

Third-party cloud and gateway providers announced GLM-5.4 access in early December 2026.23 On December 1, 2026, Vercel added GLM-5.4 to Vercel AI Gateway with Zero Data Retention (ZDR) routing support; as of December 3, 2026, the Vercel AI Gateway model page lists pricing starting from $1.40 per 1 million input tokens and $4.40 per 1 million output tokens.34

On December 2, 2026, Mistral announced day-zero availability of GLM-5.4 on Mistral Cloud on European infrastructure for customers building coding agents and sovereign AI workloads, noting that Mistral Cloud hosts Mistral models and select third-party open-weight models through one API.2 As of December 3, 2026, official public release dates and license terms for downloadable GLM-5.4 model weights, as well as independent third-party benchmark reproductions, have not been confirmed in the reviewed primary documentation.12

05

Frequently asked questions

What is the Loop Transformer architecture used in GLM-5.4?
According to Z.ai documentation, GLM-5.4's Loop Transformer reuses 28 layers of the GLM-5 base model across two iterations per forward pass, adding reasoning depth without increasing parameter count.13
What are GLM-5.4's context window and modality specifications?
GLM-5.4 supports a 1 million-token context window and up to 128K output tokens, accepting text, image, video, and file inputs and producing text output.1
Where can developers access GLM-5.4 as of December 3, 2026?
Developers can access GLM-5.4 via Z.ai's Model API, GLM Coding Plan, ZCode, and AutoClaw, as well as third-party platforms including Vercel AI Gateway (from $1.40 input / $4.40 output per 1M tokens) and Mistral Cloud.12456
Are GLM-5.4 downloadable weights publicly released as of December 3, 2026?
While Mistral Cloud describes its catalog as hosting Mistral models and select third-party open-weight models, official release dates and distribution terms for downloadable GLM-5.4 weight files are not specified in the reviewed Z.ai documentation as of December 3, 2026.12
06

Quotable sentences

Each sentence has a source, so you can quote it as it is.
  1. GLM-5.4 is Z.ai's first flagship model built on a Loop Transformer architecture that reuses 28 layers of the GLM-5 base model across two iterations.1
  2. GLM-5.4 supports a 1 million-token context window, up to 128K output tokens, and text, image, video, and file inputs.1
  3. Vercel added GLM-5.4 to Vercel AI Gateway on December 1, 2026 with Zero Data Retention support and pricing listed from $1.40 per 1M input tokens and $4.40 per 1M output tokens as of December 3, 2026.34
  4. Mistral announced day-zero availability of GLM-5.4 on Mistral Cloud on European infrastructure on December 2, 2026.2
  5. ZCode v4.1.2, released on December 1, 2026, pairs GLM-5.4 as the main agent with GLM-5.3-Flash for default built-in sub-agents.5
  6. On December 3, 2026, the AutoClaw Team announced that GLM-5.4 went live in AutoClaw as its first flagship model with native vision.6
07

Timeline

  1. Vercel announces GLM-5.4 availability on Vercel AI Gateway with Zero Data Retention; Z.ai releases ZCode v4.1.2 integrating GLM-5.4.35
  2. Mistral announces day-zero availability of GLM-5.4 on Mistral Cloud over European infrastructure.2
  3. AutoClaw Team announces GLM-5.4 launch in AutoClaw with native vision and 1M-token context support.6
08

Sources

6 sources

Official sites

  1. 1
    GLM-5.4 - Overview - Z.AI DEVELOPER DOCUMENT · Z.ai · checked 2026-12-03https://docs.z.ai/guides/llm/glm-5.4
  2. 2
    GLM-5.4 is now available on Mistral Cloud, on day zero. · Mistral AI · published 2026-12-02 · checked 2026-12-03https://mistral.ai/news/glm-5-4/
  3. 3
    GLM 5.4 now available on AI Gateway · Vercel · published 2026-12-01 · checked 2026-12-03https://vercel.com/changelog/glm-5-4-now-available-on-ai-gateway
  4. 4
    GLM 5.4 API, Pricing & Playground | Vercel AI Gateway · Vercel · checked 2026-12-03https://vercel.com/ai-gateway/models/zai/glm-5.4
  5. 5
    ZCode Releases & Updates | GLM-5.4 Coding Agent · Z.ai · published 2026-12-01 · checked 2026-12-03https://zcode.z.ai/en/changelog
  6. 6
    GLM-5.4 Is Live in AutoClaw: Z.ai's Flagship That Sees, Reads More and Thinks Deeper · AutoClaw Team (Z.ai) · published 2026-12-03 · checked 2026-12-03https://autoclaw.z.ai/en/blog/model/GLM-5.4/
09

Review and writing

review signature

Expert review pending

When a credentialed expert reviews this page, the reviewer's name and the review date appear here. (Current version 33bb1974)

How this page was written

Written automatically from the public information in the sources above.

10

Version

SHA-256

33bb19743be2e2a9e5c7a37a13dd42ff92f0be6b8a1b0d863937ae0ed365fa14

Each edit gives the page a new version number.

Cite this page

Mimirwiki. "GLM-5.4." Version 33bb1974, 2026-12-03. https://mimirwiki.com/wiki/glm-5-4

Formats for AI
# Markdown
curl https://mimirwiki.com/wiki/glm-5-4.md

# JSON-LD, by content negotiation
curl -H "Accept: application/ld+json" \
  https://mimirwiki.com/wiki/glm-5-4

Add an extension to the address to get the same content in that format.

Related pages