Skip to content
CostPerPrompt

GLM 4.7 API Pricing

Z.ai (GLM) · context window 205K · prices updated 2026-10-30

Input per 1M tokens
$0.54
Output per 1M tokens
$1.98
Cached input per 1M
$0.099
82% cheaper than fresh input

Where GLM 4.7 sits on price

At $1.98 per million output tokens, GLM 4.7 is a mid tier model — 1.1× cheaper than the median output price of $2.20, which puts it cheaper than 56% and pricier than 44% of the models we track. It sits 8th cheapest of the 18 Z.ai (GLM) models we track. Output costs 3.7× input, the usual spread — trim both, starting with the answer length.

Output tokens per $1
505,051
One full context fill
$0.1106
Cheaper than
56% of tracked models

Cached input is 82% cheaper. On an input-heavy workload you need roughly a 30% cache-hit rate to take 25% off the input line — reachable for chatbots and agents that resend the same system prompt and history.

What real workloads cost on GLM 4.7

These three workloads are the ones teams actually run on a mid-priced model — a $1.98/1M model is not bought for the same job as one ten times the price.

Workload Per request Per month
Support chatbot — 500 conversations/day (5K in / 1.4K out) Conversation history re-sent each turn — the classic prompt-caching win. $0.0055 $82.08
Document pipeline — 10K docs/day (3K in / 500 out) Batch-friendly: no user waiting, so a ~50% batch discount usually applies. $0.0026 $783
Small app — 1K requests/day (500 in / 150 out) The baseline most side projects actually run at. $0.0006 $17.01

Model your exact traffic in the API cost calculator — it preloads GLM 4.7 with caching and batch options.

GLM 4.7 price history

Z.ai (GLM) last cut GLM 4.7's output price on Oct 17, 2026 (-10% per output token), from $0.6/$2.20 to $0.54/$1.98 per 1M in/out. That is one of 2 repricings in the 89 days we have tracked it — worth knowing before you hard-code today's rate into a budget.

Date Input /1M Output /1M Output change
Aug 2, 2026 (tracking began) $0.4 $1.75 —
Sep 25, 2026 $0.6 $2.20 +26%
Oct 17, 2026 $0.54 $1.98 -10%

Change-points from our daily price snapshots (tracking since Aug 2, 2026; intraday moves between snapshots are not captured).

GLM 4.7 vs DeepSeek V4 Pro 0813

The closest-priced alternative from another vendor is DeepSeek V4 Pro 0813 (DeepSeek) — priced within a rounding error on output, with $0.12 more per million input tokens. When two models land this close on price, the decision is quality on your own workload, not the price sheet: run 50 real requests through both and compare.

See DeepSeek V4 Pro 0813 pricing →

Cheaper alternatives

More Z.ai (GLM) models

Frequently asked questions

› How much does the GLM 4.7 API cost?

GLM 4.7 costs $0.54 per million input tokens and $1.98 per million output tokens, with cached input at $0.099 per million (82% cheaper). That works out to roughly 505,051 output tokens per dollar.

› What does the support chatbot workload cost on GLM 4.7?

Support chatbot — 500 conversations/day (5K in / 1.4K out) costs about $0.0055 per request and $82.08 per month on GLM 4.7. Conversation history re-sent each turn — the classic prompt-caching win.

› What does it cost to fill GLM 4.7's 205K context window?

Sending 205K of input in a single request costs $0.1106 at $0.54 per million tokens — before any output. With prompt caching that same fill drops to about $0.0203 on repeat requests. This is why large context windows are cheap to advertise and expensive to actually use.

› Is GLM 4.7 worth the price?

GLM 4.7 sits in the middle of the market (8 of 18 by price within Z.ai (GLM)). The honest test is a routing experiment: send the same 200 real requests to this model and to a tier below, and compare failure rate against the price gap — most teams find a majority of traffic never needed the pricier model.