Skip to content
Toolsummary LLM price ledger

GLM 5 Code pricing

Source: litellm · updated 2026-11-16

Short answer: GLM 5 Code costs $1.20 per million input tokens and $5.00 per million output tokens. That is a 3:1 blended rate of $2.15 per million tokens, ranking it #570 of 822 tracked models by input price.
Input / 1M
$1.20
Output / 1M
$5.00
Output ÷ input
4.17×
Context window
200,000

Price breakdown

MetricUSD
Input, per 1M tokens$1.20
Output, per 1M tokens$5.00
Output ÷ input multiple4.17×
3:1 blended, per 1M tokens$2.15
Context window200,000 tokens
Vendorzai

What a typical workload costs

Monthly volumeInput costOutput costTotal
1M in / 250K out$1.20$1.25$2.45
10M in / 2.5M out$12.00$12.50$24.50
100M in / 25M out$120$125$245

Other zai models

ModelInputOutput
GLM 4 32 B0414 128 K$0.100$0.100
GLM 4.5 Airx$1.10$4.50
GLM 4.5 X$2.20$8.90

Cheaper alternatives

Next cheaper option: DeepSeek Pro Latest at $0.100 per 1M input tokens. Next step up: GPT-4 O Mini Transcribe at $1.25 per 1M input tokens.


Spotted a price that is out of date? Submit a correction.