Z.ai (GLM)

GLM 5.1

z-ai/glm-5.1
Model weightsReleased Apr 7, 2026Open Weights
ThinkingToolsopen weights

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...

Cost / 1M tokens

Medium usage

$0.966

input

$0.179

cached input

$3.04

output

Context Window

205K

Up to 128K max output

Modalities

text → text

Other tokenizer

Quickstart & API

z-ai/glm-5.1
Open the model picker in ChatOSS Desktop (Code, Kanban, or Chat) and select or paste this model ID.

Best for & Strengths

Key Strengths

Open weightsExtended reasoningTool & agent callingLong context window

Recommended Workloads in ChatOSS

  • Coding agents
  • Complex reasoning & debugging
  • Open-source AI workflows
Available in ChatOSS Code, Kanban Orchestrate, and Chat modes via Plus, Max, or BYOK.

Verified Evaluations

Benchmarks & Frontier Comparison

How GLM 5.1 compares against leading open-weight and proprietary frontier models across independent agentic coding and reasoning suites.

View full Top 40 Leaderboard →
Benchmark (Metric)GLM 5.1DeepSeek V4.1 FlashGLM 5.3Kimi K3.1 ProClaude Opus 5.5
Agentic & Software Engineering
ChatOSS Agentic Coding Index (%)—63.2%58.3%65%74.1%
SWE-Bench Verified (%)—91.5%95.4%94.8%97%
DeepSWE v1.1 (Pass@1 %)—77%69%73.5%74.2%
Vibe Code Bench v1.1 (%)—87.7%78.1%88.4%90.3%
Terminal-Bench 4.0 (%)—42.3%42%46.2%65.2%
Code Migration (%)—45.6%44.2%52%66.7%
Intelligence & Token Economics
Artificial Analysis Intelligence Index (0–100)26.139.544.855.157.6
Input Price (/ 1M tokens)$0.966$0.15$1.40$2.00$4.00
Output Price (/ 1M tokens)$3.04$0.60$4.40$10.00$20.00

Artificial Analysis Intelligence Index

Artificial Analysis

26.1

Design Arena: 3D

Design Arena · Rank #12 (62.6% win)

1336 Elo

Design Arena: ASCIIART

Design Arena · Rank #48 (44.6% win)

1139 Elo

Design Arena: Code Generation

Design Arena · Rank #33 (53% win)

1267 Elo

Design Arena: Data Visualization

Design Arena · Rank #3 (67% win)

1366 Elo

Active Provider Endpoints (13)

Upstream inference providers serving GLM 5.1, with per-provider pricing, context limits, quantization, and 24-hour uptime.

ProviderInput / 1MOutput / 1MCache Read / 1MContextMax OutputQuantizationUptime (24h)
Chutescache
chutes/fp8
$0.90$2.90$0.09203K66Kfp899.6%
StreamLakecache
streamlake/fp8
$0.966$3.04$0.179200K128Kfp899.9%
SiliconFlowcache
siliconflow/fp8
$1.19$3.74$0.60205K131Kfp8100.0%
Phalacache
phala
$1.21$4.20$0.60203K128K—100.0%
AtlasCloudcache
atlas-cloud/fp8
$1.26$3.96$0.234203K182Kfp898.6%
Alibabacache
alibaba/fp8
$1.33$4.18$0.247203K131Kfp895.0%
Novitacache
novita/fp8
$1.38$4.40$0.26205K131Kfp8100.0%
Nebiuscache
nebius/fp8
$1.40$4.40$0.26203K182Kfp8100.0%
Baiducache
baidu/fp8
$1.40$4.40$0.26203K131Kfp8100.0%
GMICloudcache
gmicloud/fp8
$1.40$4.40$0.26203K182Kfp8100.0%
Friendlicache
friendli
$1.40$4.40$0.26203K182K—99.8%
Z.AIcache
z-ai/fp8
$1.40$4.40$0.26203K131Kfp899.4%
Venicecache
venice/fp8
$1.40$4.40$0.26200K80Kfp8100.0%

Supported API Parameters

Parameters accepted by this model when called through ChatOSS or OpenRouter.

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Compare Similar Models

Browse all models →

Z.ai (GLM)

GLM 5.3 Prime

1M

GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration. It supports text input and output with a 1M-token...

$2.80 / $8.80Coding 58.3%

Z.ai (GLM)

GLM 5.3 FlashX

1M

GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. Built on the same hybrid sparse and linear attention architecture...

$0.37 / $1.25Coding 36.9%

Z.ai (GLM)

GLM 5.3 Flash

1M

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

$0.15 / $0.50Coding 36.9%

Z.ai (GLM)

GLM 5.3

1M

GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...

$0.07 / $1.40Coding 58.3%

Anthropic

Claude Opus 5.5

1M

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...

$4.00 / $20.00Coding 74.1%

Moonshot AI

Kimi K3.1 Pro

1M

Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model and a post-trained successor to Kimi K3, with a 1M-token context window. It is built for long-horizon coding, 3D...

$2.00 / $10.00Coding 65%