Z.ai · Open weights
GLM 5.2
GLM-5.2 is Z.AI's flagship model for long-horizon autonomous coding and engineering workflows. It is built to plan, execute, iterate, and optimize complex development tasks over extended runs. This variant keeps thinking disabled for faster direct responses.
- Reasoning
- Tools
- Structured output
- Input
- Text
- Output
- Text
- Reasoning effort
- none · high · max
- Discovery tier
- Open weights
Pricing
USD per 1M tokens- Input
- $0.42
- Output
- $1.32
- Cache read
- $0.078
Reference prices as published by the model provider. API example
Specifications
- Context window
- 1M
- Max output
- 131.1K
- Average output (7 days)
- 839 tokens
- Longer than 66% of 468 models
Side by side
GLM 5.2 compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GLM 5.2Z.aiThis model | Kimi K2 ThinkingMoonshotRemove | |
|---|---|---|
| Provider | Z.ai | Moonshot |
| Discovery tier | Open weights | Open weights |
| Added | Jun 15, 2026 | Nov 6, 2025 |
| Limits | ||
| Context window | 1.05MBest | 262.14K |
| Max output | 131.07KBest | 98.3K |
| Average output | 839 tokens | 1.9K tokens |
| Pricing, USD per 1M tokens | ||
| Input | $0.42Best | $0.60 |
| Output | $1.32Best | $2.50 |
| Cache read | $0.078Best | $0.15 |
| Performance | ||
| Throughput | 96.8 tok/sBest | 78.6 tok/s |
| Time to first token | 1.6 sBest | 4.6 s |
| Request success (24h) | 99.6% | 99.6% |
| Benchmark indexes | ||
| Intelligence Index | 22.4Best | 22.0 |
| Coding Index | 46.5 | — |
| Math Index | — | 94.7 |
| Capabilities | ||
| Reasoning | Yes | Yes |
| Tools | Yes | Yes |
| Structured output | Yes | Yes |
| Reasoning effort | none, high, max | — |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- GLM 5.2
- Kimi K2 Thinking
Intelligence Index
- GLM 5.222.4
- Kimi K2 Thinking22.0
GLM 5.2: Better than 54% of 326 scored models
Indexes
Coding Index
Composite of the coding evaluations
- GLM 5.2: 46.5
- Kimi K2 Thinking: —
Math Index
Composite of the math evaluations
- GLM 5.2: —
- Kimi K2 Thinking: 94.7
Agentic work
GDPval-AAv2.1
Economically valuable occupational tasks, rated head to head
- GLM 5.2: 1,244 Elo
- Kimi K2 Thinking: —
Document reasoning
AA-LCRv1.1
Reasoning across long documents
- GLM 5.2: 42.3%
- Kimi K2 Thinking: 72.0%Top
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GLM 5.2: 9.8%
- Kimi K2 Thinking: 23.8%Top
GPQA Diamond
Graduate-level science questions
- GLM 5.2: 68.6%
- Kimi K2 Thinking: 83.8%Top
MMLU-Pro
Multi-subject knowledge and reasoning
- GLM 5.2: —
- Kimi K2 Thinking: 84.8%
IFBench
Following precise output instructions
- GLM 5.2: —
- Kimi K2 Thinking: 68.1%
Coding
LiveCodeBench
Recent competitive programming problems
- GLM 5.2: —
- Kimi K2 Thinking: 85.3%
Math
AIME 2025
Competition mathematics, 2025 problems
- GLM 5.2: —
- Kimi K2 Thinking: 94.7%
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- GLM 5.2: —
- Kimi K2 Thinking: 31.1%
τ²-Bench Telecom
Tool use in a customer-support simulation
- GLM 5.2: —
- Kimi K2 Thinking: 93.0%
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GLM 5.2: 42.3%
- Kimi K2 Thinking: 72.0%Top
Scores from Artificial Analysis, updated Oct 26, 2026. Artificial Analysis
- GLM 5.2
- Kimi K2 Thinking
| Leaderboard | GLM 5.2 | Kimi K2 Thinking |
|---|---|---|
| EQ-Bench 4 | #17 · 1211 | Not in top 20 |
| EQ-Bench 3 | #6 · 1563 | Not in top 20 |
Ranks among Noumen catalog models on EQ-Bench leaderboards. Only top-20 placements are listed.EQ-Bench
- GLM 5.2
- Kimi K2 Thinking
| Leaderboard | GLM 5.2 | Kimi K2 Thinking |
|---|---|---|
| UI Component | #20 · 1291 | Not in top 20 |
| Data Visualization | #19 · 1285 | Not in top 20 |
| Agentic Game Dev | #8 · 1170 | Not in top 20 |
| Web Apps | #15 · 1223 | Not in top 20 |
| Full Stack | #11 · 1241 | Not in top 20 |
| Native Apps | #14 · 1181 | Not in top 20 |
Ranks among Noumen catalog models on Design Arena leaderboards. Only top-20 placements are listed.Design Arena
Live routing data
Performance and reliability
Recent averages across requests routed for this model. Your own speed depends on prompt length, reasoning effort and load.
- Throughput
- 96.8 tok/s
- Faster than 61% of 254 models
- Time to first token
- 1.6 s
- Quicker than 87% of 254 models
- Prompt cache hits
- 66.4%
- About $0.19 per 1M input tokens with caching
- Request success (24h)
- 99.6%
- Reliable
Cache hits are the share of input tokens recently served from a prompt cache across all requests. They are not a forecast of your own hit rate.
- Healthy (98% or more)
- Degraded (90–98%)
- Down (under 90%)
- No requests
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.2",
"reasoning_effort": "none",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="z-ai/glm-5.2",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)Z.ai
Related models
Other Z.ai models, starting with the same family.