StackPricing
All AI models

Z.ai · AI model API pricing

How much does GLM-4.7 cost?

The coding-plan workhorse — a popular Claude-Code-compatible alternative at roughly a tenth of Sonnet pricing.

Rate card

Input tokens$0.60 / 1M
Cached input$0.11 / 1M
Output tokens$2.2 / 1M
Context window

What that means per month

WorkloadTokens / monthCost / month
Prototype 1M in · 0.3M out $1.26/mo
Small app 10M in · 3M out $12.6/mo
Production app 50M in · 15M out $63/mo
High volume 200M in · 60M out $252/mo
Heavy platform 1B in · 300M out $1,260/mo
Price it at your exact usage Official pricing page

Standard on-demand rates from Z.ai's official pricing docs, last checked 2026-07-17. Monthly figures exclude caching and batch discounts. Confirm live pricing before committing.

Cheaper alternatives

At a reference workload of 10M input / 3M output tokens a month, these cost less than GLM-4.7 ($12.6/mo):

GLM-4.7 head-to-head