Today › AI API prices › Providers
Z.ai API prices: 17 models
Models17
Cheapest input$0
Median input$0.6all $0.55
Median output$2.20
Longest context1M
Cheapest first (3:1 input:output blend)
$0
$0
$0.1
$0.2375
$0.425
$0.9
$1.00
$1.00
$1.00
$1.55
$1.90
$1.95
$2.15
$2.15
$2.15
| Model | Input/1M | Output/1M | Context |
|---|---|---|---|
| glm-4.5-flash | $0 | $0 | 128K |
| glm-4.7-flash | $0 | $0 | 200K |
| glm-4-32b-0414-128k | $0.1 | $0.1 | 128K |
| glm-5.3-flash | $0.15 | $0.5 | 1M |
| glm-4.5-air | $0.2 | $1.10 | 128K |
| glm-4.5v | $0.6 | $1.80 | 128K |
| glm-4.5 | $0.6 | $2.20 | 128K |
| glm-4.6 | $0.6 | $2.20 | 200K |
| glm-4.7 | $0.6 | $2.20 | 200K |
| glm-5 | $1.00 | $3.20 | 200K |
| glm-5v-turbo | $1.20 | $4.00 | 200K |
| glm-4.5-airx | $1.10 | $4.50 | 128K |
| glm-5-code | $1.20 | $5.00 | 200K |
| glm-5.1 | $1.40 | $4.40 | 200K |
| glm-5.2 | $1.40 | $4.40 | 1M |
| glm-5.3 | $1.40 | $4.40 | 1M |
| glm-4.5-x | $2.20 | $8.90 | 128K |
- AI21 Labs
- Alibaba DashScope (Qwen)
- Anthropic
- Cerebras
- Cohere
- DeepSeek
- Fireworks AI
- Google Gemini
- Groq
- Mistral AI
- Moonshot AI
- OpenAI
- Perplexity
- Together AI
- Z.ai
- xAI
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.