GLM-4-Air
Zhipu AIZhipu AI's mid-tier model. Good balance of cost and performance for Chinese-language applications.
GLM-4-Air Pricing
| Token Type | Price per Million |
|---|---|
| Input tokens | $0.140 |
| Output tokens | $0.140 |
Estimated Cost by Project Size
Realistic cost estimates for common coding scenarios. Assumes 30% cache hit rate where caching is available.
| Scenario | Token Usage | Estimated Cost |
|---|---|---|
| Small Script (1K lines) | 50K input / 30K output | <$0.01 |
| Medium Feature (10K lines) | 500K input / 200K output | $0.08 |
| Large Project (50K lines) | 2,500K input / 1,000K output | $0.39 |
| Code Review (5K lines) | 250K input / 25K output | $0.03 |
Get Access to GLM-4-Air
Ready to start using GLM-4-Air? Get API access directly from Zhipu AI.
How Does GLM-4-Air Compare?
| Model | Input ($/M) | Medium Feature Cost | |
|---|---|---|---|
| GLM-4-Air | $0.140 | $0.08 | selected |
| DeepSeek V3 | $0.140 | $0.11 | Compare |
| DeepSeek R1 | $0.140 | $0.16 | Compare |
| GPT-4o mini | $0.150 | $0.18 | Compare |
| Gemini 2.5 Flash | $0.150 | $0.17 | Compare |
| Mistral Nemo | $0.150 | $0.08 | Compare |
Related Models
Claude Sonnet 4
AnthropicAnthropic's balanced model for coding and general tasks. Best price-performance ratio in the Claude family.
Claude Opus 4
AnthropicAnthropic's most powerful model. Best for complex reasoning and challenging coding tasks.
Claude 3.5 Sonnet
AnthropicPrevious generation Sonnet. Still excellent for coding tasks at the same price point.
Claude 3.5 Haiku
AnthropicFast, cost-effective model for high-volume tasks. Great for code review and simple queries.