Z.ai: GLM 5.1

Z.ai: GLM 5.1

z-ai · Released Apr 7, 2026
Intelligence #63 / 756
64.6 our score
Speed #207 / 332
71.2 tok/s
Input Price #559 / 772
$0.966 per 1M tokens
Output Price #550 / 772
$3.04 per 1M tokens
Context #344 / 772
204,800 tokens

Analysis Summary

GLM 5.1 is a Z.ai text model with a 204.8K context window, strong coding capability, tool use, and function calling. Its coding results are substantially stronger than its general reasoning profile, while instruction following and long-context performance support structured technical work.

It is well suited to software implementation, technical SEO, code review, extraction, and constrained tool-connected automation. Moderate input and output pricing make it practical for regular workloads, particularly where code quality matters more than nuanced creative writing. Agentic performance is useful but not exceptional, so autonomous processes should use explicit state tracking, tests, and approval points. Adopt it as a coding and automation specialist, with a more capable reasoning model reserved for strategy, ambiguous briefs, and high-stakes client communication.

Assessed September 7, 2026

Editorial notes

GLM 5.1 delivers strong coding, long context, tool use, and function calling at moderate pricing; its general reasoning is less advanced, so it is better as a technical and automation specialist than a flagship writer.

Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?

DFO Verdict

GLM 5.1 delivers strong coding, long context, tool use, and function calling at moderate pricing; its general reasoning is less advanced, so it is better as a technical and automation specialist than a flagship writer.

#63 of 756 overall Down 6 this week

Benchmark scores

GPQA Diamond 86.8%
HLE 28%
SciCode 43.8%
TerminalBench Hard 43.2%
τ²-Bench 97.7%
IFBench 76.3%
LCR 62.3%

Magenta = intelligence · Ink = technical/agentic · Cyan = content & long-context · Grey = community benchmarks. Data: Artificial Analysis, Hugging Face.

26.4 Intelligence Index·55.8 Coding Index·25.2 Agentic Index

How Z.ai: GLM 5.1 compares

Z.ai: GLM 5.1 ranks #87 of 437 AI models we track for overall intelligence, #62 of 209 for coding, #69 of 191 for agentic tasks. Its 205K-token context window is larger than 55% of the models we list. At $0.97 per million input tokens it is cheaper than 28% of comparable models.

Position in the field
Intelligence: smarter than 92% of models #63
Speed: faster than 38% of models #207
Price: cheaper than 28% of models #559
Context: larger than 55% of models #344
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
Z.ai: GLM 5.1 $0.97 in $3.04 out
OpenAI: GPT-6 Astra $10.00 in $50.00 out
Anthropic: Claude Fable 5.1 $10.00 in $50.00 out
Claude Opus 5 $5.00 in $25.00 out

Dark bar = input · light bar = output, scaled to the priciest peer.

Context window vs peers · tokens

1M tokens ≈ 8 full-length novels or ~2,500 pages of business documents in a single request.

Intelligence5.3Technical5.7Value7Content7.8
Performance profile

Strongest on business fit. The pulled-in intelligence corner is the trade-off, and if the shape matters more than the price, this is your model.

Compare shapes side-by-side →

Pricing

Token Type Cost per 1M tokens Cost per 1K tokens
Input $0.97 $0.000966
Output $3.04 $0.003036

What would Z.ai: GLM 5.1 cost your business?

Pick the job that looks most like yours, then fine-tune with the sliders. Estimates update live.

A website chatbot handling around 100 customer conversations a day, a few short messages each.

3,000
One request is one message, email, draft or automation call.
1,200 tokens

Full calculator with 772 models → Price Calculator

DFO AI AUTOMATION

These numbers get smaller with the right architecture.

We route routine calls to cheap models and save Z.ai: GLM 5.1 for the hard ones. Most clients cut their estimate by 60-80%.

Talk to our team

About Z.ai: GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on..

Frequently asked questions about Z.ai: GLM 5.1

How much does Z.ai: GLM 5.1 cost?

Z.ai: GLM 5.1 costs $0.97 per million input tokens and $3.04 per million output tokens.

What is the context window of Z.ai: GLM 5.1?

Z.ai: GLM 5.1 has a context window of 204,800 tokens (205K).

Is Z.ai: GLM 5.1 good for coding?

On our coding benchmark index, Z.ai: GLM 5.1 ranks #62 of 209 models, placing it in the broader range of the field for code generation and debugging.

What can Z.ai: GLM 5.1 do?

Z.ai: GLM 5.1 supports tool use and function calling.

Who created Z.ai: GLM 5.1?

Z.ai: GLM 5.1 is developed by Z.ai and was released on April 7, 2026.

© 2026 Design for Online Ltd. Registered in England and Wales No. 10328553. VAT Registered. Design for Online® and Forerunner® are registered trademarks.