Z.ai logo

GLM-5.2

GLMv5.2 maxCurrent
byZ.aiZ.ai(ai lab)
44
OpenTools Scorenormalized /100
15.1
Valuescore / $M
OpenTools Score
Context1M tokens
Price (In / Out)$1.40/M / $4.40/M
CategoryLarge Language Model
Max Output131.1K tokens

About GLM-5.2

GLM-5.2 is a text model for long coding and agent workflows, with a roughly one-million-token context and a separate 131,072-token maximum output. On the Z.ai API, use glm-5.2 with reasoning_effort set to max for the Max setting.

Capabilities

textreasoninglong context

Input Modalities

text

Output Modalities

text

Technical Details

API Identifier
glm-5.2-max
Category
Large Language Model
Context Window
1,000,000 tokens
Max Output Tokens
131,072 tokens

Tags

glmz-ailong-contextreasoningtext-modelartificial-analysisllm

Run this model yourself

Local and cloud setup for GLM-5.2, with exact configurations, sources and clear evidence limits.

Find a model for your hardware

No reviewed setup guide is available for this model yet. Explore configurations with documented support in the hardware finder.

Benchmarks

Performance scores for GLM-5.2 across standard benchmarks.

Artificial Analysis Intelligence Index v4.1Artificial Analysis model page · Jun 2026
51.1
Artificial Analysis Intelligence Index v4.3https://artificialanalysis.ai/models/glm-5-2
34 index
Artificial Analysis Intelligence Index v4.3Artificial Analysis
34 index
GPQA DiamondArtificial Analysis
89.5%
SciCodeArtificial Analysis
51.2%
Terminal-Bench 2.1Artificial Analysis
77.9%

Pricing

Token pricing for GLM-5.2 API usage.

Input Tokens

$1.40/M

per million tokens

Output Tokens

$4.40/M

per million tokens

Z.ai developer API prices in USD per million tokens: $1.40 input, $0.26 cached input, and $4.40 output. Cached input storage is free for a limited time. These rates are for the Z.ai API, not the Coding Plan subscription or third-party serving routes.

Competing Models

Same pricing tier — direct alternatives to GLM-5.2

Mid-Range
39
18.9
$0.95/M / $3.15/MCompare
29
38.3
$0.30/M / $1.20/MCompare
$1.20/M / $4.00/MCompare
$0.72/M / $2.30/MCompare
56
80.4
$0.20/M / $1.20/MCompare
26
18.8
$0.30/M / $2.50/MCompare
46
16.8
$1.25/M / $4.25/MCompare
54
20.4
$1.32/M / $3.96/MCompare
19
20.3
$0.35/M / $1.50/MCompare
64
28.3
$0.75/M / $3.75/MCompare
$0.30/M / $3.00/MCompare
$0.83/M / $2.50/MCompare
89
32.3
$1.25/M / $4.25/MCompare
69
30.6
$0.75/M / $3.75/MCompare
84
28.9
$1.40/M / $4.40/MCompare
41
55.1
$0.30/M / $1.20/MCompare
$0.30/M / $1.20/MCompare
Z.ai logo
Z.aiai lab

Developer of the GLM model family

8 ModelsFounded 2019Beijing, China
View full profile

AI Models by Z.ai

AI models from the same organization.

ModelContext WindowPrice (In / Out per M)
GLM-5.3 FlashX LegalCurrent1.0M$0.37 / $1.25
GLM-5.3-FlashCurrent1.0M$0.15 / $0.50
GLM-5.3Current1.0M$1.40 / $4.40
GLM 5.1Current203K$0.95 / $3.15
GLM 5V TurboCurrent203K$1.20 / $4.00
GLM 5 TurboCurrent203K$1.20 / $4.00