GLM 5.2 — Specifiche
Compiled by Mustafa Ihsan from the vendor’s published documentation · Last updated
| Sviluppatore | Zhipu AI |
|---|---|
| Tipo | LLM (per programmazione/agenti, MoE) |
| Modalità | Testo → Testo |
| Parametri | 744 miliardi totali / ~40 miliardi attivi (MoE) |
| Finestra contestuale | 1 milione |
| Output massimo | 131K |
| Licenza | MIT (open) |
| Pesi aperti | Sì |
| Pubblicato | 2026-06 |
| Prezzo dell’input | $1.4 /1M |
| Prezzo dell’output | $4.4 /1M |
| Provider API | Zhipu (Z.ai), OpenRouter |
Esegui localmente
| VRAM (4-bit) | ~370 GB |
|---|---|
| GPU minima | Server multi-GPU (es. 5× H100 da 80 GB) |
What is GLM 5.2?
GLM 5.2 is Zhipu AI’s open 1M-context model — a 744-billion-parameter mixture-of-experts
activating roughly 40B parameters per token, built on a new “IndexShare” sparse-attention
design, and notably trained entirely on Huawei chips. The weights are MIT-licensed and it is
strong on coding, design and agentic tasks. Pricing is $1.40 in / $4.40 out per million
tokens.
The Huawei training detail is the strategically interesting one: it is a demonstration that
a frontier-scale model can be trained end to end outside the NVIDIA ecosystem, which has
implications for anyone modelling long-term compute supply. For a buyer, though, the relevant
numbers are simpler. GLM 5.2 blends to roughly $2 per million tokens while scoring near the
top of the open-weight field, which makes it one of the best capability-per-dollar picks
available for agentic and coding workloads and a serious alternative to frontier models
costing five times more. Self-hosting needs around 370 GB at 4-bit — a five-H100 server — so
in practice most teams will use the API and treat the MIT licence as portability insurance.
GLM 5.2 pricing: API cost per 1M tokens
| Input (per ogni milione di token) | $1.40 |
|---|---|
| Output (per ogni milione di token) | $4.40 |
| Rapporto output/input | 3,1× |
| Combinato (4:1 in:out) | $2.00 per 1 milione di token |
What GLM 5.2 costs per month
Spesa mensile reale con un mix input-to-output 4:1 — il rapporto effettivamente prodotto da un tipico carico di lavoro basato su chat o RAG.
| Carico di lavoro | Token/mese | Costo/mese |
|---|---|---|
| Progetto secondario | 1 milione in ingresso / 0,25 milioni in uscita | $2.50 |
| Piccolo team | 20 milioni in ingresso / 5 milioni in uscita | $50 |
| Produzione | 200 milioni in ingresso / 50 milioni in uscita | $500 |
Calcola i tuoi numeri personalizzati nel Calcolatore dei costi delle API per l'IA.
Cheaper alternatives to GLM 5.2
| Modello | Costo combinato ($/1 milione) | Risparmi |
|---|---|---|
| DeepSeek V4-Pro aperta | $0.522 | 74% cheaper |
| Kimi K2.7 Code aperta | $0.980 | 51% cheaper |
| DeepSeek V4-Flash aperta | $0.168 | 92% cheaper |
Eseguirlo in autonomia o pagare l’API?
GLM 5.2 is open-weight, so you can run it yourself. It needs ~370 GB of VRAM at 4-bit (Multi-GPU server (e.g. 5× H100 80GB)). Self-hosting only beats the API once your volume is high enough to keep that hardware busy — the calcolatore self-hosting vs API calcola il punto di pareggio in base al tuo volume di token.
Domande frequenti
How much does GLM 5.2 cost per 1M tokens?
GLM 5.2 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens. At a typical 4:1 input-to-output mix that blends to about $2.00 per 1M tokens.
How much does GLM 5.2 cost per month?
A small-team workload of 20M input and 5M output tokens a month costs about $50 on GLM 5.2. A side project (1M in / 0.25M out) costs roughly $2.50.
What is a cheaper alternative to GLM 5.2?
DeepSeek V4-Pro is the strongest cheaper option in our database at $0.522 per 1M blended — about 74% less than GLM 5.2. It is also open-weight, so self-hosting is an option.
Can I run GLM 5.2 locally?
Yes. GLM 5.2 is open-weight and needs about ~370 GB of VRAM at 4-bit quantisation (Multi-GPU server (e.g. 5× H100 80GB)).
Why does GLM 5.2 charge more for output than input?
Output tokens are generated one at a time and cannot be batched the way a prompt can, so they cost the provider more to serve. GLM 5.2 charges 3.1× more for output, which is why prompt-heavy workloads are far cheaper to run than generation-heavy ones.
I prezzi indicati sono le tariffe ufficiali pubblicate per l'API principale del modello e vengono aggiornati man mano che i fornitori li modificano. Sconti per volumi elevati, elaborazione batch e input memorizzati nella cache non sono inclusi. Confronta tutti i modelli fianco a fianco nel Database di modelli IA o il Classifica LLM.
