glm-5.2

mit

GLM-5.2 is a flagship model built for the era of long-horizon tasks. With truly usable 1M-token context, it has been tested to handle project-scale engineering context, delivering more stable long-task execution, more reliable adherence to engineering standards, and higher success rates in development scenarios. A single task can complete the full development workflow—from requirements to deployable products across multiple platforms.

Context
1M
Max output
128K
Input price
$0.19/1M tokens
Output price
$1.8/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.2
Familyglm-5.2
Licensemit
Status—
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window1M tokens
Max input—
Max output128K tokens
Reasoning tokens—
Knowledge cutoff—
Release date—
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.19
Output
$1.8
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: glm-5.2

ModelContextMax outPricing
glm-5.21M128K$0.19$1.8
glm-5.2-fast1M—$2.1$6.6

API

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

glm-5.2

zai/glm-5.2

GLM-5.2 is a flagship model built for the era of long-horizon tasks. With truly usable 1M-token context, it has been tested to handle project-scale engineering context, delivering more stable long-task execution, more reliable adherence to engineering standards, and higher success rates in development scenarios. A single task can complete the full development workflow—from requirements to deployable products across multiple platforms.

Changes · 14 entries
zai/glm-5.2createca7a400Nov 2, 2026, 03:02 AM
zai/glm-5.2updateb61df6aOct 7, 2026, 06:39 AM
pricinginput$0.04→$0.19
zai/glm-5.2update00710a0Oct 6, 2026, 06:38 AM
pricinginput$0.23→$0.04
zai/glm-5.2update6e8bf55Sep 30, 2026, 06:40 AM
pricinginput$0.4→$0.23
zai/glm-5.2update1a66bb0Sep 29, 2026, 06:40 AM
pricinginput$0.56→$0.4
zai/glm-5.2update28ec4f5Sep 23, 2026, 06:40 AM
pricinginput$0.49→$0.56output$1.56→$1.8
zai/glm-5.2updatea6d63d7Sep 15, 2026, 06:39 AM
pricinginput$0.7→$0.49output$2.2→$1.56
zai/glm-5.2updatee3d7dedAug 31, 2026, 04:13 AM
pricinginput$0→$0.7output$0→$2.2
zai/glm-5.2updatebe35184Aug 17, 2026, 04:02 AM
pricinginput$0.8→$0output$2.52→$0
zai/glm-5.2update0ed066aJul 31, 2026, 11:38 AM
created_byzhipu→zai
zai/glm-5.2update39b8745Jul 31, 2026, 06:11 AM
pricinginput$0.9→$0.8output$2.84→$2.52
zai/glm-5.2update20c73acJul 17, 2026, 02:34 AM
pricinginput$0.95→$0.9output$3→$2.84
zai/glm-5.2update88d97e5Jun 30, 2026, 04:49 AM
pricinginput$1.4→$0.95output$4.4→$3
zai/glm-5.2createab879c8Jun 18, 2026, 08:32 AM