Zhipu (GLM) API pricing

GLM 4 32b 0414 128k API pricing

GLM 4 32b 0414 128k costs $0.10 per million input tokens and $0.10 per million output tokens on the Zhipu (GLM) API. Context window: 128k tokens. Updated .

Price per 1M tokensUS dollars
Input$0.10
Cached input—
Output$0.10

What it costs in practice

  • One chat or extraction call (2,000 tokens in, 500 out): $0.0003
  • 1,000 such calls: $0.250
  • 1 million tokens at a typical 80% input / 20% output mix: $0.100

Abilities: tool use. Batch, long-context, priority and regional prices differ; check the full table and the provider’s own pricing page before you commit.

Cheapest alternatives from other providers

ModelInputOutputContextTypical call ×1,000
Qwen Turbo
Alibaba (Qwen)
$0.050$0.20129k$0.20
GPT-5 nano
OpenAI
$0.050$0.40272k$0.30
Gemini 2.5 Flash Lite
Google
$0.10$0.401.0M$0.40
DeepSeek Coder
DeepSeek
$0.14$0.28128k$0.42
Claude Haiku 5.5
Anthropic
$0.10$0.501M$0.45
GPT-6 luna
OpenAI
$0.10$0.50922k$0.45

Other Zhipu (GLM) models

ModelInputOutputContextTypical call ×1,000
GLM 5.3 Flash
Zhipu (GLM)
$0.15$0.501.0M$0.55
GLM 4.5 Air
Zhipu (GLM)
$0.20$1.10128k$0.95
GLM 4.5v
Zhipu (GLM)
$0.60$1.80128k$2.10
GLM 4.5
Zhipu (GLM)
$0.60$2.20128k$2.30
GLM 4.6
Zhipu (GLM)
$0.60$2.20200k$2.30
GLM 4.7
Zhipu (GLM)
$0.60$2.20200k$2.30

Questions

How much does GLM 4 32b 0414 128k cost?

GLM 4 32b 0414 128k costs $0.10 per million input tokens and $0.10 per million output tokens on the Zhipu (GLM) API. A typical call with 2,000 tokens in and 500 out costs about $0.0003.

What is the context window of GLM 4 32b 0414 128k?

GLM 4 32b 0414 128k accepts up to 128,000 input tokens and returns up to 32,000 output tokens.

Is there a cheaper alternative to GLM 4 32b 0414 128k?

For a typical call, Qwen Turbo (Alibaba (Qwen), $0.0002 per call) cost less and also support tool use. Quality differs, so test on your own prompts.

Source: the open LiteLLM model price map (MIT), checked daily (data file).