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
200K
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

Creator zai
Familyglm-5
Licensemit
Statusdeprecated
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters355B / 32B
Architecture—
Context window200K 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
$0.2
Batch in
—
Batch out
—

Family Comparison: glm-5

ModelContextMax outPricing
GLM-5200K128K$1$3.2
GLM-5-TURBO200K128K$1.2$4
GLM-5V-TURBO200K128K$1.2$4

API

GET/v1/models/zai/glm-5

GLM-5

deprecated

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 · 8 entries
glm-5updateca7a400Nov 2, 2026, 03:02 AM
created_byzhipu→zai
descriptionGLM-5 is Z.AI's new-generation foundation model, designed...
taglineGLM-5 is Z.AI's new-generation foundation model, designed...
statusdeprecated
glm-5updatee3fc6e0Aug 31, 2026, 07:31 AM
statusdeprecated
glm-5update0ed066aJul 31, 2026, 11:38 AM
created_byzhipu→zai
glm-5updateab879c8Jun 18, 2026, 08:32 AM
descriptionGLM-5 is Z.AI's new-generation foundation model, designed...
taglineGLM-5 is Z.AI's new-generation foundation model, designed...
glm-5update1cd659eMar 24, 2026, 04:19 AM
capabilitiesfine tuningyesjson modeyes
glm-5update2b100acMar 23, 2026, 05:30 AM
capabilitiesprompt cachingyes
familyglm-5
licensemit
open_weightyes
tools["function_calling"]
parameters355
active_parameters32
page_urlhttps://docs.z.ai/guides/llm/glm-5
pricinginput$1output$3.2cached input$0.2
glm-5update7a4f1f6Mar 22, 2026, 05:43 AM
model_typechat
glm-5create7f5c66fMar 21, 2026, 05:16 AM