Friday, 7 August 2026 | Updating Daily AI insight, written for builders

GLM 5.2

GLM 5.2 — Especificaciones

DesarrolladorZhipu AI
TipoLLM (para programación/agentes, MoE)
ModalidadTexto → Texto
Parámetros744 mil millones totales / ~40 mil millones activos (MoE)
Ventana de contexto1 millón
Salida máxima131 000
LicenciaMIT (abierto)
Pesos abiertos
Lanzado2026-06
Precio de entrada1,40 $/millón
Precio de salida4,40 $/millón
Proveedores de APIZhipu (Z.ai), OpenRouter

Ejecútelo localmente

VRAM (4 bits)~370 GB
GPU mínimaServidor multi-GPU (p. ej., 5× H100 de 80 GB)

Página oficial →

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

Entrada (por cada millón de tokens)$1.40
Salida (por cada millón de tokens)$4.40
Output/input ratio3,1×
Blended (4:1 in:out)$2.00 per 1M tokens

What GLM 5.2 costs per month

Real monthly spend at a 4:1 input-to-output mix — the ratio a typical chat or RAG workload actually produces.

Carga de trabajoTokens/mesCost / month
Proyecto secundario1 millón de tokens de entrada / 0,25 millones de tokens de salida$2.50
Pequeño equipo20 millones de tokens de entrada / 5 millones de tokens de salida$50
Producción200 millones de tokens de entrada / 50 millones de tokens de salida$500

Run your own numbers in the Calculadora de costos de API de IA.

Cheaper alternatives to GLM 5.2

ModelosDólares por millón combinadosYou save
DeepSeek V4-Pro abierta$0.52274% cheaper
Kimi K2.7 Code abierta$0.98051% cheaper
DeepSeek V4-Flash abierta$0.16892% cheaper

Self-host or pay the 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 calculadora de autohospedaje frente a API works out the break-even point for your token volume.

Preguntas frecuentes

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.

Prices are the published list rates for the model's primary API and are reviewed as providers change them. Volume, batch and cached-input discounts are not included. Compare every model side by side in the Base de datos de modelos de IA o el Clasificación de modelos de lenguaje grande (LLM).

Scroll to Top
Featured on There's An AI For That