GLM 5.1

mit

GLM-5.1 is Z.AI’s latest flagship model, designed for long-horizon tasks. 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 delivering production-grade results. \ \ In both general capability and coding performance, GLM-5.1 is overall aligned with Claude Opus 4.6. It demonstrates stronger sustained execution in long-horizon autonomous tasks, complex engineering optimization, and real...

Context
200K
Max output
128K
Input price
$1.4/1M tokens
Output price
$4.4/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Prompt Caching
Fine-tuning

Details

Model IDglm-5.1
Familyglm-5.1
Licensemit
Statusactive
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window200K tokens
Max input—
Max output128K tokens
Reasoning tokens—
Knowledge cutoff—
Release date—
Sourceofficial

Pricing

Input
$1.4
Output
$4.4
Cache write
—
Cache read
$0.26
Batch in
—
Batch out
—

API

GET/v1/models/opencode/glm-5.1

GLM 5.1

glm-5.1

GLM-5.1 is Z.AI’s latest flagship model, designed for long-horizon tasks. 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 delivering production-grade results. \ \ In both general capability and coding performance, GLM-5.1 is overall aligned with Claude Opus 4.6. It demonstrates stronger sustained execution in long-horizon autonomous tasks, complex engineering optimization, and real...

Changes · 3 entries
glm-5.1updateca7a400Nov 2, 2026, 03:02 AM
created_byzhipu→zai
glm-5.1update0ed066aJul 31, 2026, 11:38 AM
created_byzhipu→zai
glm-5.1create5c578c7Apr 8, 2026, 03:30 PM