AGI Watch Active
GitHub
N
AI Nerd Hub
← Back to Model Leaderboard

Z.ai: GLM 5.2

Open Weights

DEVELOPED BY: Z-ai • LAST UPDATED: 7/4/2026

Compare Model
CCI (Capability)17.1Consensus: Contested ⚠
Context Window1.0MMax token length
In/Out Pricing$0.77/$2.42Blended cost/1M: $1.18
Pulse (Popularity)57/100Adoption + discussion proxy

Model Description

OpenRouter model gateway for Z.ai: GLM 5.2.

Domain Averages

Reasoning30.4%
Coding16%
Math21.8%
PreferenceN/A

Jury & Benchmark Signals

Source / HarnessScore
MMLU-Pro75%
SWE-bench Verified20%
LiveCodeBench25%
AIME30%
LMArena style-controlled Elo1000

Consensus Discrepancy (Spread: 30.4 pts)

Source
Normalized
CCI Dev.
MMLU-Pro
30.4
+13.3
SWE-bench Verified
17.3
+0.2
LiveCodeBench
14.8
-2.3
AIME
21.8
+4.7
LMArena style-controlled Elo
0
-17.1

Supported Modalities

INPUT:
text
OUTPUT:
text

Search Tags

#text#chat

How to Use This Model

Python SDK Integration:
import openai

client = openai.OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="YOUR_OPENROUTER_KEY"
)

response = client.chat.completions.create(
  model="z-ai/glm-5.2",
  messages=[
    {"role": "user", "content": "Explain quantum entanglement in 1 sentence."}
  ]
)
cURL Terminal Request:
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.2",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Community Debates & Mentions (0)

No active Reddit or Hacker News debates referencing this model this week.