Skip to main content

GLM-5.1 (Reasoning)

Z AIGLMOpen WeightMIT · Commercial OK

Description

GLM-5.1 is Z.AI's next-generation flagship foundation model designed for long-horizon agentic engineering tasks. Built on a 754B MoE architecture (40B active parameters), it can work continuously and autonomously on a single task for up to 8 hours, completing the full loop from planning and execution to iterative optimization and delivery. GLM-5.1 achieves state-of-the-art on SWE-Bench Pro (58.4) and demonstrates strong performance across coding, reasoning, and agentic benchmarks. It supports 200K context length, 128K max output tokens, thinking mode, function calling, structured output, context caching, and MCP integration. Overall performance is aligned with Claude Opus 4.6 with particular strengths in sustained execution and complex engineering optimization.

Release Date
2026-04-07
Parameters
754.0B
Context Length
200K
Modalities
text

Capability Radar

100
general
60
coding
80
reasoning
77
scienceest.
60
agents
0
multimodal

Science is estimated from LLM Stats science scores or reasoning when no dedicated science benchmarks are available.

Rankings

Domain#RankScoreSource
Agentic Capability60
49.0
LS

Benchmark Scores (LLM Stats)

(LLM Stats (zeroeval))

Agents

TAU3-Bench70.6%SR
Finance Agent v244.8%
Toolathlon40.7%SR

Code

CyberGym68.7%SR
NL2Repo42.7%SR
FrontierSWE31.0%

Math

AIME 202695.3%SR
HMMT 202594.0%SR
IMO-AnswerBench83.8%SR
HMMT Feb 2682.6%SR
LiveBench70.2%

Reasoning

Vending-Bench 2563441.0%SR
GPQANYU + Cohere + Anthropic (2023)86.2%SR
BrowseCompOpenAI (2025)79.3%SR
MCP Atlas71.8%SR
Terminal-Bench 2.0Stanford × Laude Institute (2026)69.0%SR
SWE-Bench ProPrinceton NLP (2024)58.4%SR
Humanity's Last Exam52.3%SR

AA Evaluation Indices

(Artificial Analysis)

No AA evaluation data available

LLM Stats Category Scores

(LLM Stats (zeroeval))
Agents
100
Reasoning
100
General
100
Physics
90
Biology
90
Chemistry
90
Math
80
Search
80
Safety
70
Code
60
Tool Calling
60
Vision
50
Finance
40

Pricing

Input Price$1.19 / 1M tokens
Output Price$3.74 / 1M tokens
Blended Price (3:1)$1.6625 / 1M tokens
Cache Read Price$0.26 / 1M tokens
Cache Write PriceFree

Speed

Tokens/sec91.0
Time to First Token1.25s
Time to Answer42.93s

Provider Price Ranking

Provider Price Ranking

5 providers

Cheapest: EmpirioLabs AIMost Expensive: FriendliAI
ProviderInputOutput
1EmpirioLabs AICheapest
$0.825
$3.301
2DeepInfra
$1.05
$3.5
3Z AIPRIMARY
$1.19
$3.74
4ZAI
$1.4
$4.4
5FriendliAI
$1.4
$4.4

Compare pricing across different API providers for this model.

External Sources