GLM-5.2
New$1.40
$4.40
2026-06-16
- Positioning
- Flagship, as the vendor describes it. The vendor has a newer generation.Source
- Price
- Level 2 of 4 among text models ($ is the cheapest), by output price per 1M tokens: $1 to under $5.
- Vendor-stated speed
- Not shown: the vendor doesn't compare this model's speed.
Three separate signals, not a quality score.
Newest GLM flagship — 1M-token context for project-scale coding agents, open weights. GLM-5.2 is a Z.ai text model on ATP Token, billed per 1M input and output tokens, with a lower cached-input rate.
Pricing
Z.ai · Family · USD / 1M tokens
Cost per 1,000 typical requests
| Workload | USD / 1,000 |
|---|---|
| Short chat turn800 / 400 | $2.88 |
| RAG answer4,000 / 500 | $7.80 |
| Agent step with tools20,000 / 1,500 | $34.60 |
Benchmarks
- SWE-bench Pro62.1%
OpenHands, tailored prompt; temperature=1, top_p=1, max_new_tokens=32k, 400K context
Z.ai - Terminal Bench 2.1 (Terminus-2)81.0%
Terminus-2, timeout 4h, temperature=1.0, 256K context, 4 CPU / 8 GB (82.7 best reported harness, Claude Code)
Z.ai - HLE (w/ Tools)54.7%
text-only subset; max context 300,000 tokens, no context management
Z.ai - GPQA-Diamond91.2%
temperature=1.0, top_p=0.95, max generation 163,840 tokens
Z.ai
| Benchmark | Score | Source |
|---|---|---|
| SWE-bench ProOpenHands, tailored prompt; temperature=1, top_p=1, max_new_tokens=32k, 400K context | 62.1% | Z.ai |
| Terminal Bench 2.1 (Terminus-2)Terminus-2, timeout 4h, temperature=1.0, 256K context, 4 CPU / 8 GB (82.7 best reported harness, Claude Code) | 81.0% | Z.ai |
| HLE (w/ Tools)text-only subset; max context 300,000 tokens, no context management | 54.7% | Z.ai |
| GPQA-Diamondtemperature=1.0, top_p=0.95, max generation 163,840 tokens | 91.2% | Z.ai |
Scores as published by each vendor, not measured by ATP. Test conditions vary, so they are not directly comparable across vendors.
Same controls on every model: project keys, per-project model access, credit budgets, and a log of every request.Set up your organization
Cost estimator
- Input$14.00
- Output$8.80
$22.80 USD / month · 2,280 credits / month
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.atptoken.ai/v1",
api_key="atp-•••"
)
r = client.chat.completions.create(
model="glm-5-2",
messages=[{"role":"user","content":"hi"}],
)Compare with similar models
- DeepSeek V4 ProDeepSeekPositioning: Flagship. Price level 2 of 4 among text models.$2.40 / $4.80In / out · per 1M tokens
- Qwen 3.8 MaxQwen (Alibaba)Positioning: Flagship. Price level 3 of 4 among text models.$2.00 / $6.00In / out · per 1M tokens
- Gemini 3.1 Pro (Preview)GooglePositioning: Flagship. Price level 3 of 4 among text models.$2.00 / $12.00In / out · per 1M tokens
FAQ
- Can GLM-5.2 use tools, read images, or think before answering?
- GLM-5.2 supports tool calling and extended thinking, but not vision input or audio.
- Is cached input cheaper on GLM-5.2?
- You pay per 1M input tokens and per 1M output tokens. Cached input costs 20% of the normal input price. You only pay when a request succeeds. $1 = 100 credits. See pricing
- How do I call GLM-5.2 on ATP?
- Create a project API key and point any OpenAI-compatible SDK at https://api.atptoken.ai/v1. Set model to "glm-5-2" (the API id, not the display name). Make sure the model is turned on for your project.
Start with $5. Credits never expire.
Create a project key, turn this model on, and pay only for what you use.