Z.ai's flagship foundation model designed for Agentic Engineering. 744B/40B MoE, 28.5T tokens, DeepSeek Sparse Attention. SOTA open-weight on SWE-bench Verified 77.8 - coding comparable to Claude Opus 4.5.
Context window
200K
tokens
Parameters
744B total / 40B activated (MoE)
parameters
Max output
128,000
tokens
Release date
11 February 2026
Access:APIDownloadHostedDeployment:☁ Cloud💻 Local
Overview
Access & deployment
APIDownloadHosted
CloudLocal
Weights: Open weights
Key parameters
📏 Context: 200K
🧩 Parameters: 744B total / 40B activated (MoE)
✓ Tools · ✓ Fine-tuning
📥 Input: text, structured data, documents
Technical specification
Context window
200K
tokens
Parameters
744B total / 40B activated (MoE)
parameters
Max output tokens
128,000
tokens per response
Knowledge cutoff
1 Dec 2025
Knowledge boundary
License
Open weights (MIT-style, patrz repozytorium Z.ai / GitHub THUDM/ZhipuAI - GLM Coding Plan Pro/Max wymagany do dostępu przez api.z.ai)
Hardware requirements
Open-weight model - can be self-hosted on multi-GPU infrastructure (recommended min. 8x H100/H200 for the 744B MoE, ~120GB VRAM at 40B activated with INT8 quantisation). Alibaba/Z.ai also serve the model commercially via api.z.ai and integrations with ModelScope/HuggingFace.
Features:✓ Tool use✓ Fine-tuning
Modalities
⬇ Input
textstructured_datadocuments
⬆ Output
textcodestructured_data
Capabilities and applications
Native model capabilities
Advanced reasoning
The ability to perform multi-step, structured reasoning: analysing problems, planning steps, and drawing conclusions from hypotheses. Reasoning-first models (e.g. GPT-5.1 Thinking) dedicate a portion of inference to chains of thought before responding.
Category: reasoning
Extended thinking mode
A reasoning-model variant with a larger inference budget: more thinking cycles, higher answer precision at the cost of response time. Choice between 'standard' and 'extended' thinking is left to the user (e.g. the selector in GPT-5.2 Pro).
Category: reasoning
Adaptive reasoning effort
The model decides how much 'thinking' to allocate to a given query: simple questions are answered quickly, complex problems receive more inference cycles. A GPT-5.1 feature (both Instant and Thinking) that shortens time on easy tasks and extends it for hard ones.
Category: reasoning
Multi-step reasoning
Carrying out multi-step chains of reasoning across long, complex tasks.
Category: reasoning
Mathematical reasoning
The model's ability to solve mathematical tasks requiring multi-step reasoning — equations, proofs, combinatorics, geometry, calculus and competition-level problems.
Category: reasoning
Coding
Generating, analysing and modifying code in many programming languages. Covers writing functions, debugging, refactoring, code review, and creating tests. Measured by benchmarks such as HumanEval and SWE-bench.
Category: coding
Agentic coding
Multi-hour, multi-step programming tasks performed autonomously by the model: cloning a repository, running tests, iterating on fixes, integrating with CLI tools. Characteristic of Codex variants (GPT-5.1-Codex-Mini, Codex-Max).
Category: coding
Agentic capability
The model's ability to autonomously plan and execute multi-step tasks by sequentially using tools, maintaining context, and adapting to intermediate results.
Category: planning
Tool use
The model's ability to call external functions, APIs and tools during a conversation: calculator, search engine, code editor, database. The model decides when and how to use a tool and interprets its result.
Category: planning
Long context
Support for large context windows — tens to hundreds of thousands (or millions) of input tokens. Enables analysis of entire codebases, long documents, and many parallel conversations without losing earlier information. GPT-5.1 supports 400,000 tokens.
Category: language
Prompt caching
Cost-performance optimisation: repeated prompt fragments (e.g. system prompt, long documentation) are cached server-side and cheaper in subsequent calls. Significantly reduces cost for applications with long contexts.
Category: other
Multilingual
Competence in many natural languages (from a few to over a hundred): understanding, generation, translation, and code-switching within a single conversation. Frontier models support a wide range of languages with comparable quality.
Category: language
Benchmark results
5 benchmarks
SWE-bench Verified
resolved rate · Leading open-model score, agentic real-world GitHub issue fixing
77.8%
📅 11 Feb 2026📄 Z.ai GLM-5 blog (docs.z.ai/guides/llm/glm-5)
Terminal Bench 2.0
success rate · Terminal-based multi-step tasks, surpasses Gemini 3.0 Pro
56.2%
📅 11 Feb 2026📄 Z.ai GLM-5 blog (docs.z.ai/guides/llm/glm-5)
BrowseComp
task completion · Web-scale retrieval and information synthesis
SOTA open-model%
📅 11 Feb 2026📄 Z.ai GLM-5 blog
MCP-Atlas
task completion · Tool invocation and multi-step task execution via MCP
SOTA open-model%
📅 11 Feb 2026📄 Z.ai GLM-5 blog
τ²-Bench (Tau-Bench 2)
success rate · Complex multi-tool planning and orchestration
SOTA open-model%
📅 11 Feb 2026📄 Z.ai GLM-5 blog
Pricing
Technical architecture
Core Architecture
Deployment and security
🔒 Security / Enterprise
✓ Verified enterprise information
The model is hosted on Z.ai's infrastructure in China. Due to its PRC headquarters, the model is subject to Cyberspace Administration of China AI regulations. Customers requiring data residency outside China have an alternative: self-hosting the open-weights on their own infrastructure (private cloud, on-premise, air-gapped). Open-source SDK code allows full integration audit.
