Zhipu AI logo

GLM-5.1

Strong GLM coding model for agentic engineering, terminals, and repository generation

Source-linked glm Open weights Released 2026-04-07
API data Report
Input modalitiesT
Output modalitiesT
Input price$1.4/1M tokens
Output price$4.4/1M tokens
Context window200K
Max output131.072K
Overview

Capabilities and specifications

Reasoning Yes
Tool calling Yes
Structured output Yes
× Attachments No
× Vision input No
Open weights Yes
Creator
Zhipu AI
Model family
glm
Knowledge cutoff
Not documented
License
Not documented
Release date
2026-04-07
Model ID
zhipuai/glm-5.1
Inference availability

Provider pricing and availability

Provider-specific identifiers, limits, and prices per million tokens.

Report a price
Providers offering GLM-5.1
ProviderProvider model IDContextInputOutputCache readCapabilitiesSource
Alibaba Token Plan (China) glm-5.1 202.752K Not listed Not listed - ReasoningToolsJSON Docs
Kenari glm-5-1 200K Not listed Not listed - ReasoningToolsJSON Docs
Z.AI Coding Plan glm-5.1 200K Not listed Not listed - ReasoningToolsJSON Docs
Alibaba Token Plan glm-5.1 202.752K Not listed Not listed - ReasoningToolsJSON Docs
Zhipu AI Coding Plan glm-5.1 200K Not listed Not listed - ReasoningToolsJSON Docs
CrofAI glm-5.1 202.752K $0.45 $2.15 $0.08 ReasoningToolsJSON Docs
EBCloud GLM-5.1 200K $0.857 $3.429 - ReasoningToolsJSON Docs
Alibaba (China) glm-5.1 202.752K $0.87 $3.48 $0.17 ReasoningToolsJSON Docs
LLM Gateway glm-5.1 204.8K $0.931 $2.93 $0.173 ReasoningToolsJSON Docs
OpenRouter z-ai/glm-5.1 204.8K $0.966 $3.036 $0.179 ReasoningToolsJSON Docs
DigitalOcean glm-5.1 200K $0.975 $4.3 $0.26 ReasoningToolsJSON Docs
Pioneer zai-org/GLM-5.1 202.752K $0.98 $3.08 $0.182 ReasoningToolsJSON Docs
GMI Cloud zai-org/GLM-5.1-FP8 202.752K $0.98 $3.08 $0.182 ReasoningToolsJSON Docs
Hugging Face zai-org/GLM-5.1 202.752K $1 $3.2 $0.2 ReasoningTools Docs
CrossModel z-ai/glm-5.1 200K $1 $3.8 $0.2 ReasoningToolsJSON Docs
Wafer GLM-5.1 202.752K $1 $3.2 $0.1 ReasoningToolsJSON Docs
Deep Infra zai-org/GLM-5.1 202.752K $1.05 $3.5 $0.205 ReasoningToolsJSON Docs
FastRouter z-ai/glm-5.1 200K $1.05 $3.5 - ReasoningToolsJSON Docs
DInference glm-5.1 200K $1.25 $3.89 - ReasoningToolsJSON Docs
Cortecs glm-5.1 204.8K $1.31 $4.1 $0.24 ReasoningToolsJSON Docs
NovitaAI zai-org/glm-5.1 204.8K $1.38 $4.4 $0.26 ReasoningToolsJSON Docs
Zhipu AI glm-5.1 200K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Auriko glm-5.1 200K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
OpenCode Go glm-5.1 202.752K $1.4 $4.4 $0.26 ReasoningTools Docs
Merge Gateway zai/glm-5.1 200K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
OrcaRouter z-ai/glm-5.1 200K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Z.AI glm-5.1 200K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Abacus zai-org/GLM-5.1 204.8K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
OpenCode Zen glm-5.1 204.8K $1.4 $4.4 $0.26 ReasoningTools Docs
Friendli zai-org/GLM-5.1 202.752K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Together AI zai-org/GLM-5.1 202.752K $1.4 $4.4 - ReasoningToolsJSON Docs
ai& zai-org/glm-5.1 200K $1.4 $4.4 - ReasoningToolsJSON Docs
Charm Hyper glm-5.1 202.8K $1.524 $4.791 $0.283 ReasoningToolsJSON Docs
GreenPT glm-5.1 200K $1.756 $5.518 - ReasoningToolsJSON Docs

Capability badges appear only when the provider catalog explicitly lists support.

Serving quality

Performance and reliability

Observed serving measurements stay separate from model specifications and are never estimated from price or model size.

Throughput Not reported

Generation speed; higher is faster.

Latency / TTFT Not reported

Time until the first output token arrives.

Uptime Not reported

Successful requests over a measured period.

Performance varies by inference provider, region, and load. Provider-level measurements appear only when a source reports them.

Published evaluations

Benchmarks

Raw results remain attached to their original source and version.

Benchmark registry
Artificial Analysis Coding Agent Index - Unversioned - average pass@1 - Claude CodeTop 6 reported models
Claude Opus 4.7
59.9
GLM-5.1
52.7
Claude Opus 4.6
51.3
Kimi K2.6
50.5
DeepSeek V4 Pro
50.1
Claude Sonnet 4.6
49.4
SWE-Atlas Codebase QnA - Unversioned - pass@1 - Claude CodeTop 6 reported models
GLM-5.1
73.2
Claude Opus 4.6
71.9
Claude Opus 4.7
71.7
Claude Sonnet 4.6
70.3
DeepSeek V4 Pro
67.8
Kimi K2.6
59.8
SWE-Bench Pro - Unversioned - pass@1 - Claude CodeTop 6 reported models
Claude Opus 4.7
36.4
Kimi K2.6
27.3
GLM-5.1
19.8
DeepSeek V4 Pro
18.0
Claude Sonnet 4.6
14.9
Claude Opus 4.6
11.8
Terminal-Bench - 2.1 - pass@1 - Claude CodeTop 6 reported models
Claude Opus 4.7
71.4
Claude Opus 4.6
70.2
GLM-5.1
65.1
DeepSeek V4 Pro
64.7
Kimi K2.6
64.3
Claude Sonnet 4.6
63.1
Catalog activity

Recent record changes

Detected changes from successful source imports.

Full change log
No recent changes detected

This record has not changed in the retained import history.

Public API

Use this record

Fetch the complete source-linked model record without an API key.

API documentation
Endpoint
GET https://www.modelbench.lol/api/v1/models/zhipuai/glm-5.1
curl
curl "https://www.modelbench.lol/api/v1/models/zhipuai/glm-5.1"