GLM-5.4 Multimodal coding and reasoning language model developed by Z.ai using a Loop Transformer architecture https://mimirwiki.com/wiki/glm-5-4 Version 33bb19743be2e2a9e5c7a37a13dd42ff92f0be6b8a1b0d863937ae0ed365fa14 Updated 2026-12-03 auto-written from public primary sources; not yet reviewed by a credentialed expert; not claimed by its subject 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. 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. KEY FACTS ========= Developer: Z.ai [1] Architecture: Loop Transformer (28 reused layers x 2) [1] Context window: 1M tokens (128K max output) (as of 2026-12-03) [1] Vercel Gateway price: From $1.40 input / $4.40 output per 1M (as of 2026-12-03) [4] BASIC FACTS =========== Developer: Z.ai [1] Model code: glm-5.4 [1] Architecture: Loop Transformer [1] Input modalities: Text, image, video, file [1] Output modality: Text [1] Context length: 1M tokens (as of 2026-12-03) [1] Max output tokens: 128K tokens (as of 2026-12-03) [1] Partner availability: Vercel AI Gateway, Mistral Cloud (as of 2026-12-03) [2] GLM-5.4 LOOP TRANSFORMER ARCHITECTURE AND SPECIFICATIONS ======================================================== 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. [1] [3] 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. [1] [3] 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. [1] [6] 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. [1] [3] Z.ai recommends API settings of temperature: 1, top_p: 0.95, reasoning_effort: max, thinking.type: enabled, and thinking.clear_thinking: false. [1] 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] THIRD-PARTY AVAILABILITY AND UNCONFIRMED ITEMS ============================================== Third-party cloud and gateway providers announced GLM-5.4 access in early December 2026. [2] [3] 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. [3] [4] 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. [1] [2] FREQUENTLY ASKED QUESTIONS ========================== Q: What is the Loop Transformer architecture used in GLM-5.4? A: 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. [1][3] Q: What are GLM-5.4's context window and modality specifications? A: 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] Q: Where can developers access GLM-5.4 as of December 3, 2026? A: 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. [1][2][4][5][6] Q: Are GLM-5.4 downloadable weights publicly released as of December 3, 2026? A: 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. [1][2] QUOTABLE SENTENCES ================== - 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] - GLM-5.4 supports a 1 million-token context window, up to 128K output tokens, and text, image, video, and file inputs. [1] - 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. [3][4] - Mistral announced day-zero availability of GLM-5.4 on Mistral Cloud on European infrastructure on December 2, 2026. [2] - 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] - 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] TIMELINE ======== 2026-12-01 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. [3][5] 2026-12-02 Mistral announces day-zero availability of GLM-5.4 on Mistral Cloud over European infrastructure. [2] 2026-12-03 AutoClaw Team announces GLM-5.4 launch in AutoClaw with native vision and 1M-token context support. [6] SOURCES ======= [1] GLM-5.4 - Overview - Z.AI DEVELOPER DOCUMENT. Z.ai. https://docs.z.ai/guides/llm/glm-5.4 (checked 2026-12-03; tier 3: official site) [2] GLM-5.4 is now available on Mistral Cloud, on day zero.. Mistral AI. https://mistral.ai/news/glm-5-4/ (checked 2026-12-03; tier 3: official site) [3] GLM 5.4 now available on AI Gateway. Vercel. https://vercel.com/changelog/glm-5-4-now-available-on-ai-gateway (checked 2026-12-03; tier 3: official site) [4] GLM 5.4 API, Pricing & Playground | Vercel AI Gateway. Vercel. https://vercel.com/ai-gateway/models/zai/glm-5.4 (checked 2026-12-03; tier 3: official site) [5] ZCode Releases & Updates | GLM-5.4 Coding Agent. Z.ai. https://zcode.z.ai/en/changelog (checked 2026-12-03; tier 3: official site) [6] GLM-5.4 Is Live in AutoClaw: Z.ai's Flagship That Sees, Reads More and Thinks Deeper. AutoClaw Team (Z.ai). https://autoclaw.z.ai/en/blog/model/GLM-5.4/ (checked 2026-12-03; tier 3: official site)