glm-5.1

deprecatedmit

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
205K
Max output
128K
Input price
$1.38/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 IDzai/glm-5.1
Familyglm-5.1
Licensemit
Statusdeprecated
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window205K tokens
Max input—
Max output128K tokens
Reasoning tokens—
Knowledge cutoff—
Release date—
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$1.38
Output
$4.4
Cache write
—
Cache read
—
Batch in
—
Batch out
—

API

GET/v1/models/vercel/zai/glm-5.1

glm-5.1

deprecated
zai/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 · 8 entries
zai/glm-5.1updateca7a400Nov 2, 2026, 03:02 AM
created_byzhipu→zai
pricinginput$1.4→$1.38
zai/glm-5.1updateda0e420Oct 8, 2026, 06:41 AM
pricinginput$1.05→$1.38output$3.5→$4.4
zai/glm-5.1updatea6d63d7Sep 15, 2026, 06:39 AM
pricinginput$1.4→$1.05output$4.4→$3.5
zai/glm-5.1update0ed066aJul 31, 2026, 11:38 AM
created_byzhipu→zai
zai/glm-5.1updatedbe2d73Jul 31, 2026, 06:07 AM
pricinginput$1.3→$1.4output$4.3→$4.4
zai/glm-5.1updated657a45Jun 3, 2026, 03:19 AM
pricinginput$1.4→$1.3output$4.4→$4.3
zai/glm-5.1updatebc0fb7dMay 2, 2026, 02:14 AM
context_window202800→204800
zai/glm-5.1create5c578c7Apr 8, 2026, 03:30 PM