Model Details
2026-06Price Data Last Verified: June 23, 2026
GLM-5.2 API Pricing & Cost Calculator
Zhipu AI's current GLM text model for general reasoning and production assistant workloads.
Pricing Details
- Provider
- Zhipu AI
- Input Price
- $1.40 / 1M tokens
- Output Price
- $4.40 / 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.0058
Medium Request$0.058
Large Request$0.36
High Volume$3.60
Detailed Cost Breakdown
| Scenario | Input Tokens | Output Tokens | Input Cost | Output Cost | Total Cost |
|---|---|---|---|---|---|
| Small Request | 1,000 | 1,000 | $0.0014 | $0.0044 | $0.0058 |
| Medium Request | 10,000 | 10,000 | $0.014 | $0.044 | $0.058 |
| Large Request | 100,000 | 50,000 | $0.14 | $0.22 | $0.36 |
| High Volume | 1,000,000 | 500,000 | $1.40 | $2.20 | $3.60 |
Other Zhipu AI Models
Keep Evaluating
What to read before you lock in GLM-5.2
GLM-5.2 vs ChatGPT Chat Latest
See the decision-ready pricing breakdown between GLM-5.2 and ChatGPT Chat Latest.
GLM-5.2 vs Gemini 2.5 Pro
See the decision-ready pricing breakdown between GLM-5.2 and Gemini 2.5 Pro.
GLM-5.2 vs Gemini 3 Flash
See the decision-ready pricing breakdown between GLM-5.2 and Gemini 3 Flash.
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.