RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

Z.ai: GLM 5.2 API pricing

$0.007 per 1M input tokens and $6.80 per 1M output tokens on OpenRouter. Context window: 1,048,576 tokens.

$0.007input / 1M tokens
$6.80output / 1M tokens
$0.006cached input / 1M
1Mcontext
text->textmodality

What it costs in practice

WorkloadCost
Chatbot: 10,000 messages (1,500 in / 400 out tokens each)$27.30
RAG: 1,000 queries (8,000 in / 600 out each)$4.14
Summarize 100 long documents (50,000 in / 1,000 out each)$0.715

Cross-check against the provider's list price

LiteLLM's price map lists zai/glm-5.2 (zai) at $1.40 in / $4.40 out per 1M tokens. Differs from OpenRouter OpenRouter routes to several hosts and may list a different provider's price than the model maker's own API.

Price history

No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.

Run it yourself instead

The open weights are on Hugging Face. See the VRAM GLM 5.2 needs and which GPUs fit it →

Cheaper alternatives with similar context

Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.

ModelInput / 1MOutput / 1MContext
Google: Gemini 3.5 Flash (batch)$0.75$4.501M
OpenAI: GPT Mini Latest$0.75$4.50391K
OpenAI: GPT-5.4 Mini$0.75$4.50391K
MoonshotAI: Kimi K3.1 Pro (batch)$0.372$5.5831M
Google: Gemini 3.8 Flash$0.825$4.1251M
SpaceXAI: Grok 4.3$1.25$2.50977K
SpaceXAI: Grok 4.20 Multi-Agent$1.25$2.501.9073486328125M
SpaceXAI: Grok 4.20$1.25$2.501.9073486328125M

Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID z-ai/glm-5.2, listed Jun 16, 2026. Report an error.