Z.ai · Open weights
GLM 5.2 Thinking TEE
GLM-5.2 with thinking enabled for harder long-horizon coding, autonomous agent workflows, and complex engineering tasks. Running inside a TEE (Trusted Execution Environment), with attestation support.
- Reasoning
- Tools
- Structured output
- Input
- Text
- Output
- Text
- Reasoning effort
- low · medium · high · xhigh · max
- Discovery tier
- Open weights
Pricing
USD per 1M tokens- Input
- $1.40
- Output
- $4.40
- Cache read
- $0.70
Reference prices as published by the model provider. API example
Specifications
- Context window
- 1M
- Max output
- 131.1K
- Average output (7 days)
- 2K tokens
- Longer than 92% of 465 models
Side by side
GLM 5.2 Thinking TEE compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GLM 5.2 Thinking TEEZ.aiThis model | Gemini 3.6 FlashGoogleRemove | |
|---|---|---|
| Provider | Z.ai | |
| Discovery tier | Open weights | Efficient |
| Added | Jun 16, 2026 | Jul 21, 2026 |
| Limits | ||
| Context window | 1.05M | 1.05M |
| Max output | 131.07KBest | 65.54K |
| Average output | 2K tokens | 932 tokens |
| Pricing, USD per 1M tokens | ||
| Input | $1.40 | $0.75Best |
| Output | $4.40 | $3.75Best |
| Cache read | $0.70 | $0.075Best |
| Cache write | — | $0.0417 |
| Performance | ||
| Throughput | — | 303.2 tok/s |
| Time to first token | — | 8.9 s |
| Request success (24h) | 87.5% | 99.5%Best |
| Benchmark indexes | ||
| Intelligence Index | 33.7 | 34.0Best |
| Coding Index | 68.8 | 69.2Best |
| Capabilities | ||
| Reasoning | Yes | Yes |
| Tools | Yes | Yes |
| Vision | No | Yes |
| Structured output | Yes | Yes |
| PDF input | No | Yes |
| Audio input | No | Yes |
| Video input | No | Yes |
| Reasoning effort | low, medium, high, xhigh, max | minimal, low, medium, high |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- GLM 5.2 Thinking TEE
- Gemini 3.6 Flash
Intelligence Index
- GLM 5.2 Thinking TEE33.7
- Gemini 3.6 Flash34.0
GLM 5.2 Thinking TEE tested at max reasoning effort
GLM 5.2 Thinking TEE: Better than 76% of 326 scored models
Indexes
Coding Index
Composite of the coding evaluations
- GLM 5.2 Thinking TEE: 68.8
- Gemini 3.6 Flash: 69.2Top
Agentic work
AutomationBench-AA
Workflow automation, penalized for guardrail violations
- GLM 5.2 Thinking TEE: 28.4%
- Gemini 3.6 Flash: 53.0%Top
AutomationBench-AA tasks completed
Workflows finished end to end without a guardrail violation
- GLM 5.2 Thinking TEE: 6.2%
- Gemini 3.6 Flash: 16.4%Top
AA-Briefcasev1.1
Agentic knowledge work, rated head to head
- GLM 5.2 Thinking TEE: 1,227 EloTop
- Gemini 3.6 Flash: 955 Elo
GDPval-AAv2.1
Economically valuable occupational tasks, rated head to head
- GLM 5.2 Thinking TEE: 1,373 EloTop
- Gemini 3.6 Flash: 1,286 Elo
Document reasoning
GDP.pdf
Professional reasoning over PDF documents, all-pass rate
- GLM 5.2 Thinking TEE: 10.4%
- Gemini 3.6 Flash: 17.4%Top
AA-LCRv1.1
Reasoning across long documents
- GLM 5.2 Thinking TEE: 78.3%
- Gemini 3.6 Flash: 80.0%Top
MLCR-AA
Long-context reasoning over medical records
- GLM 5.2 Thinking TEE: 12.8%Top
- Gemini 3.6 Flash: 10.0%
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GLM 5.2 Thinking TEE: 41.1%Top
- Gemini 3.6 Flash: 40.8%
GPQA Diamond
Graduate-level science questions
- GLM 5.2 Thinking TEE: 89.5%
- Gemini 3.6 Flash: 92.8%Top
IFBench
Following precise output instructions
- GLM 5.2 Thinking TEE: 73.3%
- Gemini 3.6 Flash: —
Coding
Terminal-Benchv4.0
Practical software engineering in a terminal
- GLM 5.2 Thinking TEE: 1.0%
- Gemini 3.6 Flash: 7.1%Top
SciCode
Scientific computing in Python
- GLM 5.2 Thinking TEE: 51.2%
- Gemini 3.6 Flash: 53.4%Top
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- GLM 5.2 Thinking TEE: 50.8%
- Gemini 3.6 Flash: —
τ²-Bench Telecom
Tool use in a customer-support simulation
- GLM 5.2 Thinking TEE: 99.1%
- Gemini 3.6 Flash: —
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GLM 5.2 Thinking TEE: 78.3%
- Gemini 3.6 Flash: 80.0%Top
Scores from Artificial Analysis, updated Oct 26, 2026. GLM 5.2 Thinking TEE was tested at max reasoning effort; compare scores measured at the same effort.Artificial Analysis
- GLM 5.2 Thinking TEE
- Gemini 3.6 Flash
| Leaderboard | GLM 5.2 Thinking TEE | Gemini 3.6 Flash |
|---|---|---|
| Math | Not in top 20 | #11 · 11.0% |
Ranks among Noumen catalog models on Use cases leaderboards. Only top-20 placements are listed.
- GLM 5.2 Thinking TEE
- Gemini 3.6 Flash
| Leaderboard | GLM 5.2 Thinking TEE | Gemini 3.6 Flash |
|---|---|---|
| Overall | Not in top 20 | #17 · 1483.0 |
| Math | Not in top 20 | #11 · 1503.8 |
| Creative Writing | Not in top 20 | #12 · 1471.4 |
| Chinese | Not in top 20 | #17 · 1530.4 |
| Exclude Ties | Not in top 20 | #17 · 1495.5 |
| French | Not in top 20 | #8 · 1513.1 |
| Industry Entertainment And Sports And Media | Not in top 20 | #14 · 1460.9 |
| Industry Writing And Literature And Language | Not in top 20 | #15 · 1473.9 |
| Japanese | Not in top 20 | #16 · 1476.4 |
| Russian | Not in top 20 | #18 · 1492.8 |
| Vision Style Control · Chinese | Not in top 20 | #14 · 1334.6 |
| Vision Style Control · Humor | Not in top 20 | #15 · 1268.4 |
| Vision Style Control · Ocr | Not in top 20 | #11 · 1300.7 |
| Document Overall | Not in top 20 | #18 · 1456.1 |
Ranks among Noumen catalog models on LMArena leaderboards. Only top-20 placements are listed.LMArena
- GLM 5.2 Thinking TEE
- Gemini 3.6 Flash
| Leaderboard | GLM 5.2 Thinking TEE | Gemini 3.6 Flash |
|---|---|---|
| Website | Not in top 20 | #18 · 1300 |
| UI Component | Not in top 20 | #19 · 1292 |
| Data Visualization | Not in top 20 | #18 · 1289 |
| ASCII Art | Not in top 20 | #8 · 1277 |
| Agentic Game Dev | Not in top 20 | #11 · 1143 |
| Native Apps | Not in top 20 | #9 · 1205 |
| Mobile Apps | Not in top 20 | #16 · 1197 |
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.
- Prompt cache hits
- 51.5%
- About $1.04 per 1M input tokens with caching
- Request success (24h)
- 87.5%
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.
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": "TEE/glm-5.2:thinking",
"reasoning_effort": "medium",
"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="TEE/glm-5.2:thinking",
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.