Model Details
2026-04Price Data Last Verified: June 23, 2026
GLM-5 API Pricing & Cost Calculator
Zhipu AI GLM 5 text model for general-purpose application workloads.
Pricing Details
- Provider
- Zhipu AI
- Input Price
- $1.00 / 1M tokens
- Output Price
- $3.20 / 1M tokens
- Context Window
- 128K
Official source: docs.z.ai
Z.AI also lists cached-input pricing where supported; this table uses standard input pricing.
Cost Scenarios
Small Request$0.0042
Medium Request$0.042
Large Request$0.26
High Volume$2.60
Detailed Cost Breakdown
| Scenario | Input Tokens | Output Tokens | Input Cost | Output Cost | Total Cost |
|---|---|---|---|---|---|
| Small Request | 1,000 | 1,000 | $0.001 | $0.0032 | $0.0042 |
| Medium Request | 10,000 | 10,000 | $0.01 | $0.032 | $0.042 |
| Large Request | 100,000 | 50,000 | $0.10 | $0.16 | $0.26 |
| High Volume | 1,000,000 | 500,000 | $1.00 | $1.60 | $2.60 |
Other Zhipu AI Models
Keep Evaluating
What to read before you lock in GLM-5
Choose the Right AI Model
Use a workload-first framework instead of picking the most famous model by default.
Token Calculation and Cost Estimation
Estimate token budgets before you commit a feature or pricing plan.
AI API Cost Optimization Guide
Reduce spend with routing, caching, batching, and model mix strategies.