Glm 5.1 API Pricing
Glm 5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on Z.ai's API. Cached input is billed at $0.26 per 1M tokens. Prices are provider list prices in USD, refreshed as sources update; see the Glm 5.1 model profile for capability scores.
Price List
| Rate | Price (USD) | Notes |
|---|---|---|
| Input | $1.40 | per 1M tokens |
| Output | $4.40 | per 1M tokens |
| Cached input (read) | $0.26 | per 1M tokens |
| Blended input + output | $5.80 | 1M in + 1M out at list price |
| Context window | 200K tokens |
What a Workload Costs
Computed straight from the list prices above — token counts are illustrative workload sizes, not measurements of Glm 5.1.
| Workload | Cost | Tokens |
|---|---|---|
| Short chat turn | $0.00360 | 1K in / 500 out |
| Summarize a long document | $0.149 | 100K in / 2K out |
| Agentic coding session | $1.14 | 500K in / 100K out |
| 1M input + 1M output tokens | $5.80 | 1M in / 1M out |
Effective Cost
In AI IQ's scoring, Glm 5.1's list price is adjusted by a token-usage multiplier of 0.541 (measured from real benchmark runs), giving an effective cost of $3.14 per 1M input + output tokens. That places it #51 of 117 models on the effective-cost ranking (lower is cheaper). Some models spend far more tokens than others on the same task, so effective cost compares what a unit of work really costs. Method details are on the methodology page; see all models on the cost charts and the falling cost of intelligence over time.
Cheaper Alternatives at Similar Capability
Models with a lower effective cost that score within a few IQ points of Glm 5.1 (IQ 114), or better.
| Model | Provider | IQ | Effective Cost / 1M |
|---|---|---|---|
| mimo-v2.5-pro | Xiaomi | 116 | $1.80 |
| gemini-3-flash | 116 | $2.74 | |
| qwen3.7-plus | Alibaba | 115 | $1.67 |
| grok-4.3 | xAI | 115 | $2.60 |
| deepseek-v4-flash | DeepSeek | 113 | $1.39 |
| deepseek-v4-flash-vision-exp | DeepSeek | 113 | $1.39 |