glm-5

deprecatedmit355B / 32B

GLM-5 is Z.AI's new-generation foundation model, designed for Agentic Engineering, capable of providing reliable productivity in complex system engineering and long-range Agent tasks. In terms of Coding and Agent capabilities, GLM-5 has achieved state-of-the-art (SOTA) performance in open source, with its usability in real programming scenarios approaching that of Claude Opus 4.5.

Context
203K
Max output
128K
Input price
$1/1M tokens
Output price
$3.2/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
Familyglm-5
Licensemit
Statusdeprecated
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters355B / 32B
Architecture—
Context window203K 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
Output
$3.2
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: glm-5

ModelContextMax outPricing
glm-5203K128K$1$3.2
glm-5-turbo203K128K$1.2$4
glm-5v-turbo200K128K$1.2$4

API

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

glm-5

deprecated
zai/glm-5

GLM-5 is Z.AI's new-generation foundation model, designed for Agentic Engineering, capable of providing reliable productivity in complex system engineering and long-range Agent tasks. In terms of Coding and Agent capabilities, GLM-5 has achieved state-of-the-art (SOTA) performance in open source, with its usability in real programming scenarios approaching that of Claude Opus 4.5.

Changes · 6 entries
zai/glm-5updateca7a400Nov 2, 2026, 03:02 AM
created_byzhipu→zai
pricinginput$0.8→$1output$2.56→$3.2
zai/glm-5update5cd8ca9Sep 6, 2026, 06:34 AM
pricinginput$0.8→$1output$2.56→$3.2
zai/glm-5update0ed066aJul 31, 2026, 11:38 AM
created_byzhipu→zai
zai/glm-5updateb301ebeMar 23, 2026, 11:47 PM
modalitiesinput["text"]output["text"]
zai/glm-5update2b100acMar 23, 2026, 05:30 AM
familyglm-5
model_typechat
tools["function_calling"]
zai/glm-5create7f5c66fMar 21, 2026, 05:16 AM