Toolsummary · LLM pricing data

GLM 5 Code pricing

Source: litellm · updated 2026-10-27

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 #494 of 704 tracked models by input price.

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

What a typical workload costs

Monthly volumeInput costOutput costTotal1M 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: Mistral Large 4.0 at $1.36 per 1M input tokens. Next step up: DeepSeek Pro Latest at $0.246 per 1M input tokens.