Z.ai
GLM-5.2Open
Z.ai flagship with strong agent tool use and 150+ tokens/s.
Intelligence
59.1 #344
AAQI 51.0
Output Speed
164 t/s
TTFT 1.51 s · ITL 6.1 ms/tok
Blended price (3:1)
$2.085 /1M
In $1.35/M · Out $4.29/M
Context
262K
≈ 655 A4 pages · max out 8,192
Quality Domain Radar
6-Axis Frontier Evaluation vs Category Average & Flagship
GLM-5.2
Claude Mythos Preview (#1)
Average (68)
Radar axes are approximated from category scores where direct benchmark measurements are missing — see Methodology.
Strengths & Trade-offs
Where it wins
- Open weights with frontier-adjacent intelligence
- Very fast output for its class
- Aggressive $1.35/$4.29 pricing
Trade-offs to watch
- 262K context below 1M peers
- Smaller Western ecosystem and docs coverage
Killer Use Cases
Fast self-hosted agents
164 tok/s open-weights serving for interactive agents.
Math pipelines
Quantitative reasoning at open-model prices.
Bilingual apps
Chinese/English production workloads.
Developer Quickstart & API
Set
ZAI_API_KEY first — get an API keycurl https://api.z.ai/api/paas/v4/chat/completions \
-H "Authorization: Bearer $ZAI_API_KEY" \
-H "content-type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.z.ai/api/paas/v4",
api_key=os.environ["ZAI_API_KEY"],
)
resp = client.chat.completions.create(
model="glm-5.2",
messages=[{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}],
)
print(resp.choices[0].message.content)const res = await fetch("https://api.z.ai/api/paas/v4/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ZAI_API_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({
model: "glm-5.2",
messages: [{ role: "user", content: "Refactor this function for O(n) time and explain the change." }],
}),
});
console.log((await res.json()).choices[0].message.content);Official Resources & Links
API deployment
Compare hosts & latency
Throughput, TTFT and cache pricing across Groq, Cerebras, Together, DeepInfra, Fireworks, Bedrock and Azure.
GroqCerebrasTogether AIDeepInfraFireworks AIAWS BedrockAzure AI
Scores by Source
Category Scores
Benchmark Results
Live Specs & Architecture
Under the hood
GLM-5.2 — undisclosed MoE
- Open-weights GLM-5 generation flagship
- 164 tok/s — among the fastest frontier-tier models
- 262K context with strong math scores
Release date
Jun 15, 2026
Architecture
GLM-5.2 — undisclosed MoE
Parameters
Not disclosed
License
Open Weights
Context Window
262,000 tokens
Max Output
8,192 tokens
Modalities
text + image
Cache Pricing
read $0.135 · write $1.6875 /1M
Reasoning
—
Input Price
$1.35/M
Output Price
$4.29/M
Output Speed
164 t/s
Time to First Token
1.51 s
Data Updated
Aug 5, 2026
Hardware & Local Inference
Data: Convly AI (CC BY 4.0) ↗VRAM (4-bit Q4)
370 GB
Min GPU
Multi-GPU server (e.g. 5× H100 80GB)
Estimated monthly bill
Estimated monthly spend
$0.00
Calculating savings vs GPT-4o...
Cite & embed
GitHub Markdown badge
Loading badge markdown...BibTeX
@misc{llmpodium2026glm52,
title = {Benchmark Analysis and Intelligence Evaluation of GLM-5.2},
author = {LLMPodium Research},
year = {2026},
url = {https://llmpodium.com/models/glm-5-2}
}Embed Score Badge
Add a live Podium Score badge to your GitHub or Hugging Face README — it links back to the live ranking.
Preview
Markdown
Loading badge snippet...HTML
Loading badge snippet...More from Z.ai
Alternative Models
Closest alternatives to GLM-5.2 based on capabilities, pricing, and benchmark scores.