TLDR
On November 23, 2026, Z.ai (Zhipu AI) quietly released GLM-5.4, its latest flagship model and the first built on a Loop Transformer architecture. The model is now available to all GLM Coding Plan subscribers, bringing native vision (image, video, and file input), a 1-million-token context window, maximum output of 128K tokens, and claims of intelligence comparable to much larger 2T–3T parameter models. Weekly-quota users receive 1.5× the quota of GLM-5.3.
The general Model API remains pending a security assessment, and open weights are planned after safety hardening. GLM-5.4 expands coding into “Generalized Coding” — generating videos, building complete games, 3D modeling, and mechanical design through code. CometAPI is monitoring and preparing unified access for developers seeking multi-model flexibility.
Key Takeaways
GLM-5.4 is Z.ai’s first Loop Transformer flagship: 28 layers of the GLM-5 base are reused across two iterations for deeper reasoning without adding parameters.
Reviewed for clarity, source attribution and current API terminology.
Native multimodal support (Video / Image / Text / File → Text) arrives at the flagship level for the first time.
Available immediately on the GLM Coding Plan (all tiers) with 1.5× weekly quota vs GLM-5.3.
1M context + 128K max output; thinking mode and high streaming speeds (up to 200 tok/s off-peak).
Positions “Generalized Coding” beyond traditional software: video generation/editing, full games, 3D, mechanical design.
Public API and open weights not yet available (API after security review; weights after safety hardening).
Early independent coding tests place it competitively among open models, though full official benchmarks are limited.
What Is GLM-5.4?
GLM-5.4 is Z.ai’s newest flagship large language model, released on November 23, 2026. It continues the GLM-5 series that began earlier in 2026 and is explicitly designed for advanced coding, agentic workflows, and long-horizon tasks. Unlike previous text-focused flagships such as GLM-5.3, GLM-5.4 is the first to bring full vision capabilities to the top-tier model while introducing a novel Loop Transformer architecture.
Z.ai describes it as reaching “intelligence levels comparable to 2T–3T parameter models” while remaining at the roughly 750B scale of the GLM-5 base. The key innovation is the Loop Transformer: instead of stacking additional layers, the model reuses a block of 28 layers from the GLM-5 base across two iterations per forward pass. This increases effective depth and reasoning capacity without increasing the parameter count. Combined with optimized KV caching and sparse attention, the design aims to deliver stronger performance at long contexts while controlling deployment costs.
The company frames the release as the beginning of “Generalized Coding” — using code as the foundation to solve a much wider range of creative and technical problems beyond traditional software development.
GLM-5.4 Technical Specifications known to us
Specification
Details
Model name
GLM-5.4
Developer
Z.ai (Zhipu AI)
Model ID
glm-5.4
Release date
November 23, 2026
Model family
GLM-5
Architecture
Loop Transformer
Base model scale
Approximately 750B parameters, according to Z.ai
Loop mechanism
28 layers, executed twice
Parameter sharing
Shared weights between loop passes
Context window
1 million tokens
Input modalities
Text, images
Primary focus
Generalized Coding, agentic engineering
API availability
Coming soon
Open weights
Planned after safety hardening
Official benchmark scores
Not published for GLM-5.4 itself
Key Features of GLM-5.4
1. Loop Transformer Architecture: More Reasoning Through Repeated Computation
The second pass refines hidden representations generated during the first pass. This approach is designed to increase computational depth while limiting the additional parameters required.
The benefit is particularly relevant to reasoning-intensive tasks such as:
Complex software engineering
Mathematical reasoning
Scientific problem-solving
Long-horizon agent workflows
Engineering design and simulation
Z.ai's rationale is that these tasks require sustained reasoning and logical consistency, not merely more memorized knowledge.
2. Gated Progressive Updates
Repeatedly processing hidden states can cause activation magnitudes to drift, making it difficult to maintain stable representations across iterations.
GLM-5.4 addresses this with independent per-token gates that control how much information each loop pass writes back into the residual stream.
The first pass focuses on establishing context and tends to update representations conservatively. The second pass uses the existing information to refine the result. The gates can also adjust update strength according to token difficulty, allowing more complex tokens to receive more substantial refinement.
This is an architectural feature intended to make iterative reasoning stable and useful at large model scales, rather than simply repeating computation blindly.
3. Hybrid KV Cache for Long-Context Efficiency
Looped computation introduces an inference challenge: storing a separate full key-value cache for every iteration would substantially increase memory requirements.
GLM-5.4 uses a hybrid KV cache strategy that combines shared context information with a sliding window of newly generated representations.
The second loop reuses sparse KV information selected during the first pass while maintaining its own local sliding-window cache for updated information. This allows the model to retain access to earlier context without duplicating the full KV cache for each loop.
Z.ai says this design keeps the additional KV-cache cost of looping relatively low even at a 1-million-token context length.
4. Sparse Attention Index Reuse
GLM-5.4's base architecture uses sparse attention. Rather than recalculating sparse attention indices for the second loop, the model reuses the indices generated during the first pass.
This eliminates additional indexing overhead for the repeated computation.
The design is intended to reduce the serving cost of Loop Transformer inference while preserving the benefits of a second reasoning pass. Z.ai reports that reusing these indices performed nearly identically to recalculating them in its experiments.
5. Generalized Coding: Beyond Traditional Software Development
GLM-5.4 introduces Z.ai's concept of Generalized Coding, where code becomes a foundation for solving problems beyond traditional programming.
Instead of limiting coding ability to generating scripts, applications, or software patches, the model can use code to build and manipulate complex systems.
Examples include:
Creating complete games with movement, physics, maps, and combat systems.
Generating and editing video through code-driven workflows.
Building interactive 3D scenes using geometry and shaders.
Creating mechanical designs and CAD models using engineering software.
Automating complex technical workflows with code and tools.
This approach positions GLM-5.4 as an agentic creation model, where software is a means of accomplishing broader creative and engineering tasks.
6. Vision-Enabled Coding and Visual Interaction
GLM-5.4 adds image input to the main GLM-5 flagship line. This allows it to interpret screenshots, visual references, diagrams, and interface states alongside textual instructions.
For coding agents, vision can improve workflows that require the model to inspect a rendered interface, identify layout problems, understand a screenshot, and make changes based on visual feedback.
The combination of code generation, image understanding, and iterative tool use also supports applications involving UI development, game creation, 3D design, and visual engineering.
GLM-5.4 Benchmark Performance
No official GLM-5.4 benchmark scores published yet: Z.ai's November 23 launch announcement does not include a benchmark table for GLM-5.4 itself. The available numeric benchmark results come from a separate 30B controlled architectural ablation, not from the flagship 750B-scale GLM-5.4 model.
This distinction is important for evaluating the model. GLM-5.4's architectural claims are interesting, but there is not yet a verified public leaderboard establishing its performance against GPT, Claude, Gemini, or other flagship models.
Loop Transformer: 30B Controlled Ablation Results
Z.ai published results comparing a 30B model with and without its loop architecture, using identical parameter counts and approximately 10% additional training compute for the looped version.
Benchmark
Loop architecture gain
AIME 2025
+11.3 points
GPQA Diamond
+8.7 points
AA-LCR
+7.3 points
The test used the 30B model after 200K long-context supervised fine-tuning with thinking enabled. These gains demonstrate the potential of the Loop Transformer approach at the tested scale, but they are not GLM-5.4 flagship benchmark scores.
Independent Agentic Coding Evaluation
An early third-party evaluation using AICodeKing's KingBench 4 harness reports the following:
Metric
GLM-5.4
KingBench 4 ranking
#7 overall
Ranking among open models
#1
Runtime
431 minutes
Reasoning steps
1,128
Total token consumption
Approximately 1.04 million
Tool-call failure rate
1.56%
Failed tool calls recovered on retry
66%
These figures are from one reviewer's own test harness, not an official Z.ai benchmark or a broad consensus leaderboard. The long runtime and high token consumption also suggest that GLM-5.4 may trade efficiency for extended reasoning in certain agentic coding workloads.
What We Can Conclude About GLM-5.4
Area
Evidence available
Confidence
Loop Transformer architecture
Official architecture description
High
Vision capability
Confirmed in launch/access information
High
1M context
Reported in current model information
Medium–high
Coding capability
Vendor claim plus early third-party testing
Medium
General reasoning improvement
Supported by 30B ablation, not flagship score
Medium
2T–3T equivalent intelligence
Z.ai positioning claim
Low as an independent conclusion
Flagship benchmark ranking
Not yet established
Unverified
API price-performance
No public API pricing yet
Unverified
The most defensible interpretation is that GLM-5.4 introduces an interesting architecture for increasing computational depth. Its actual flagship performance, however, still needs broader independent testing.
GLM-5.4 vs. Gemini 4 Neon vs. Claude Opus 5.5
GLM-5.4 is an unusual comparison candidate because it introduces architectural looping rather than competing solely through conventional parameter scaling. However, without a verified flagship benchmark suite, comparisons should focus on architecture, availability, multimodal capability, efficiency, and independently measured task results.
Dimension
GLM-5.4
Gemini 4 Neon
Claude Opus 5.5
Developer
Z.ai
Google DeepMind
Anthropic
Architecture
Loop Transformer
Proprietary transformer architecture
Proprietary architecture
Main focus
Generalized Coding, deep iterative computation
Multimodal agents, coding, efficiency
Complex reasoning, coding, agentic work
Vision input
Yes
Yes
Yes
Context window
Reported 1M
1M
Verify provider specification
API access
Coding Plan currently; API pending
API access
API access
Open weights
Planned, not released
No
No
Public GLM-5.4 flagship benchmarks
Not published
Published evaluations available
Published evaluations available
Token-based API pricing
Not announced
Available
Available
Comparison based on publicly available information as of November 24, 2026. GLM-5.4's API pricing, open weights, and flagship benchmark profile remain unconfirmed.
Which Model Is Better for Different Workloads?
GLM-5.4: Worth experimenting with for coding-heavy workflows, visual coding tasks, engineering creation, and users interested in iterative reasoning architecture. Its current Coding Plan access is a significant constraint.
Gemini 4 Neon: A stronger choice when you need an accessible API for multimodal tasks, long-context processing, coding agents, and workflows supported by an established model/API ecosystem.
Claude Opus 5.5: Worth evaluating for complex coding and professional knowledge work when you want a mature API integration and a model with a more established benchmark profile.
At this stage, it would be premature to declare GLM-5.4 the overall winner. Its architectural innovation is confirmed; its frontier-level performance claims still need validation.
Availability and Access
Current Access (as of late November 2026)
GLM Coding Plan (all tiers: Lite, Pro, Max) — fully available
ZCode desktop application
Z.ai Chat
Model identifiers in supported tools: glm-5.4 (or glm-5.4[1m] in some environments such as Claude Code).
Not Yet Available
General-purpose Model API (will open after completion of the security assessment)
Open weights (planned after necessary safety hardening; no date given)
This “quietly launched” approach prioritizes existing Coding Plan subscribers while the broader infrastructure is prepared.
CometAPI Recommendation
For developers who prefer a unified OpenAI-compatible interface and want to experiment across providers, CometAPI is the practical choice. CometAPI already supports a wide range of GLM-series models and is actively tracking new Z.ai releases. Once the official GLM-5.4 API becomes available, CometAPI is expected to offer it under a single API key alongside GPT, Claude, Gemini, Grok, Qwen, and other frontier models. This allows easy A/B testing, cost comparison, and production routing without managing multiple vendor accounts. Check the CometAPI model catalog and changelog for the latest status and any early access or promotional pricing.
Practical Implications for Developers
Immediate value for Coding Plan users: If you already subscribe, switch to GLM-5.4 for visual workflows and potentially better long-horizon performance. The 50% quota increase is a tangible benefit.
Vision-enabled coding agents: Tools that support image input can now leverage screenshots for UI generation, bug diagnosis from error dialogs, or design-to-code pipelines.
Creative technical work: Teams exploring code-driven video, games, or 3D can begin testing the “Generalized Coding” claims right away inside the Coding Plan environment.
Wait-and-see for API users: Until the general API opens, production systems relying on pay-as-you-go or self-hosted deployments should continue with GLM-5.3 or other available models. Monitor Z.ai’s documentation and CometAPI updates closely.
Safety note: Z.ai has flagged a tendency toward “marathon thinking” (overly long reasoning loops) on hard prompts. Users should monitor latency and set appropriate timeouts or effort controls.
Outlook
GLM-5.4 represents Z.ai’s continued push into efficient high-capability models through architectural innovation (Loop Transformer) rather than pure scale. The quiet rollout to Coding Plan users, combined with the addition of vision and the Generalized Coding narrative, positions it as a serious contender for developers focused on practical coding and creative technical applications.
Frequently Asked Questions
1. What is GLM-5.4?
GLM-5.4 is Z.ai's flagship model and its first model built on a Loop Transformer architecture. It reuses 28 layers of its base model across two iterations to increase computational depth and improve reasoning, coding, and complex task execution.
2. What is the Loop Transformer architecture in GLM-5.4?
The Loop Transformer architecture executes a shared group of model layers multiple times rather than using a separate set of weights for every pass. GLM-5.4 runs 28 layers twice, allowing the second pass to refine representations from the first pass without proportionally increasing the model's parameter count.
3. Does GLM-5.4 support image input?
Yes. GLM-5.4 introduces vision input to the flagship GLM-5 line, allowing it to interpret screenshots, images, diagrams, and other visual information alongside text.
4. What is the context window of GLM-5.4?
GLM-5.4 is reported to support a 1-million-token context window. However, its complete public API specifications, including output limits and context-related parameters, have not yet been released.
5. Is GLM-5.4 open source?
Not currently. Z.ai has stated that it plans to release the model weights after completing safety hardening, but no confirmed release date or license has been announced.
6. Is GLM-5.4 available through an API?
GLM-5.4 is currently available through Z.ai's GLM Coding Plan, ZCode, and Z.ai Chat. General pay-per-token API access has been announced as coming after safety evaluation.