Skip to content
Dashboard

GLM 5.2

GLM 5.2 is Z.AI's flagship open-weight model for long-horizon coding and agentic engineering, released June 16, 2026. A 1.0M tokens context window carries project-level engineering state, and selectable reasoning effort tunes depth per request. Your use subject to Z.AI's Terms & Privacy Policies.

ReasoningTool UseImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'zai/glm-5.2',
prompt: 'Why is the sky blue?'
})

More models by Z.AI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
1M
1.2s
515tps
$2.10/M
$6.60/M
Read:$0.21/M
Write:
fireworks logo
wafer logo
06/23/2026
205K
0.7s
89tps
$1.40/M
$4.40/M
Read:$0.26/M
Write:
deepinfra logo
fireworks logo
novita logo
+1
04/07/2026
203K
4.0s
20tps
$1.20/M
$4/M
Read:$0.24/M
Write:
zai logo
03/15/2026
203K
0.4s
80tps
$0.80/M
$2.56/M
Read:$0.16/M
Write:
bedrock logo
deepinfra logo
novita logo
+2
02/12/2026
200K
1.9s
115tps
$0.06/M
$0.40/M
Read:$0.01/M
Write:
zai logo
01/19/2026
205K
0.1s
432tps
$2.25/M
$2.75/M
Read:$2.25/M
Write:
baseten logo
bedrock logo
cerebras logo
+3
12/22/2025