GLM-5.2
Z.ai's 13 Jun 2026 open-weight flagship, and the model that held the top open-weight slot until Kimi K3 landed a month later. 744B MoE / ~40B active, MIT-licensed weights on Hugging Face, 1M context, 131K max output. $1.40 input / $4.40 output per 1M tokens ($0.26 cached) — a blended ~$0.90/1M. The headline result is SWE-bench Pro 62.1%, which beats GPT-5.5's 58.6%: an MIT-licensed model you can self-host outscoring a $5/$30 US flagship on agentic coding. Also the fastest of the big open MoEs at ~168 tokens/sec, roughly 2.7x Kimi K3 and DeepSeek V4 Pro. Self-hosting needs about 1TB VRAM in BF16, or ~8x H200 at FP8.
1M
tokens
131K
tokens
$1.4
per 1M tokens
$4.4
per 1M tokens
168
tokens/sec
Jun 2026
2026-06-13
$2.90
per 1M tokens
31.4
quality per $
Capabilities
Benchmarks
Price vs Quality
Context Window in Context
- ▸ GLM-5.21M
- GPT-4.11M
- Gemini 2.5 Pro1M
- Gemini 2.0 Flash1M
- Llama 4 Maverick1M
- GPT-5.51M
- GPT-5.5 Pro1M
- Claude Opus 4.71M
Compare With
Open Source: Licensed under MIT
Non è ancora sul nostro gateway
GLM-5.2 è a pesi aperti, quindi puoi eseguirlo tu stesso. Swfte Connect trasforma il tuo deployment in un endpoint gestito che parla la stessa API di ogni altro modello di questa directory.
curl https://api.swfte.com/agents/v2/gateway/chat/completions \
-H "Authorization: Bearer $SWFTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zhipu:glm-5.2",
"messages": [{"role": "user", "content": "Hello"}]
}'About GLM-5.2
GLM-5.2 is a open-source AI model by Z.ai (Zhipu AI), released on June 13, 2026. It supports a context window of 1000K tokens and can generate up to 131K output tokens.
At $1.4 per million input tokens and $4.4 per million output tokens, its blended cost of $2.90/1M tokens puts it in the mid-range pricing tier. Its value score of 31.4 reflects the balance of quality and cost.
GLM-5.2 is available as an open-source model under the MIT license, meaning you can self-host it for predictable costs or use it through API providers like Swfte Connect.
Using GLM-5.2 with Swfte
Access GLM-5.2 through Swfte Connect, our unified LLM gateway. Connect gives you a single API for 50+ models, with automatic routing, cost optimization, and fallback handling. You can also try GLM-5.2 in our AI Playground before integrating.