Free Tool
Z.AI API Cost Calculator
Estimate your monthly and annual Z.AI GLM API cost from your request volume and average token counts.
不确定你的提示词用了多少个 token?先把文本粘贴到Token 计算器获取精确计数。
公式: 月度成本 = 月度请求数 × ((平均输入 token 数 × 输入单价) + (平均输出 token 数 × 输出单价)) / 1,000,000
glm-4.7
$0.6/M 输入 · $2.2/M 输出
glm-5
$1/M 输入 · $3.2/M 输出
glm-5.2
$1.4/M 输入 · $4.4/M 输出
glm-5.1
$1.4/M 输入 · $4.4/M 输出
Z.AI GLM pricing
Published list price per million tokens for Z.AI's current GLM models.
| Model | Input $/M tokens | Output $/M tokens |
|---|---|---|
| glm-4.7 | $0.6 | $2.2 |
| glm-5.2 | $1.4 | $4.4 |
| glm-5.1 | $1.4 | $4.4 |
| glm-5 | $1 | $3.2 |
| glm-5-code | $1.2 | $5 |
| glm-5-turbo | $1.2 | $4 |
| glm-4.7-flashx | $0.07 | $0.4 |
| glm-4.6 | $0.6 | $2.2 |
Frequently asked questions
How much does Z.AI's glm-4.7 cost?
glm-4.7 costs $0.6 per million input tokens and $2.2 per million output tokens. Use the calculator above to estimate your own monthly cost from your expected request volume and average token counts.
What is the cheapest Z.AI model?
glm-4.7-flashx is Z.AI's cheapest current GLM model, priced at $0.07 per million input tokens and $0.4 per million output tokens, versus $0.6 / $2.2 for the flagship glm-4.7.
How does Z.AI API pricing work?
Z.AI bills per token, separately for input tokens (what you send) and output tokens (what the model generates), priced per million tokens. Output tokens typically cost more than input tokens because generation is more compute-intensive. Total request cost is (input tokens × input price + output tokens × output price) / 1,000,000, multiplied by your request volume.
How do I estimate my monthly Z.AI API cost?
Enter your expected monthly request volume and average input/output tokens per request into the calculator above, pick one or more GLM models to compare, and it computes monthly cost, annual cost, cost per request, and cost per user instantly. Add an optional monthly growth rate to see a 12-month cost projection.
Compare across providers
Want to compare Z.AI against other providers side by side? Use the full AI Cost Calculator.