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

vision
tool call
structured output
reasoning
json mode
streaming
fine tuning
batch

Details

Model IDzai/glm-5.2
Familyglm-5.2
Licensemit
Parameters—
Status—
Input modalitiestext
Output modalitiestext
Architecture—
Knowledge cutoff—
Training data cutoff—
Release date—
Deprecation date—
Typechat
Reasoning tokens—
Max input—
Open weightYes
Prompt cachingSupported
Sourceofficial
Last updated

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.19
↑375%$0.04
Output
$1.8
Cache write
—
Cache read
—
Batch in
—
Batch out
—
Price history · $/1M input
$1.4
$0.95
$0.9
$0.8
$0
$0.7
$0.49
$0.19
Jun 18Jun 30Jul 17Jul 31Aug 17Aug 31Sep 15Oct 7
DateInputOutputChange
Jun 18, 2026$1.4$4.4—
Jun 30, 202688d97e5$0.95$3↓32%
Jul 17, 202620c73ac$0.9$2.84↓5%
Jul 31, 202639b8745$0.8$2.52↓11%
Aug 17, 2026be35184$0$0↓100%
Aug 31, 2026e3d7ded$0.7$2.2—
Sep 15, 2026a6d63d7$0.49$1.56↓30%
Sep 23, 202628ec4f5$0.56$1.8↑14%
Sep 29, 20261a66bb0$0.4$1.8↓29%
Sep 30, 20266e8bf55$0.23$1.8↓43%
Oct 6, 202600710a0$0.04$1.8↓83%
Oct 7, 2026b61df6a$0.19$1.8↑375%

Input is ↓86% since Jun 18, 2026, from $1.4 to $0.19 per 1M tokens.

Price across providers

ProviderInputOutputSince launch
Vercel AI Gatewaycheapest$0.19$1.8↓86%
Nebius Token Factory$1.4$4.4—

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 · 13 entries
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