Skip to content
CostPerPrompt

GLM 5 API Pricing

Z.ai (GLM) · context window 205K · prices updated 2026-09-15

Input per 1M tokens
$0.6
Output per 1M tokens
$1.92
Cached input per 1M
$0.12
80% cheaper than fresh input

Where GLM 5 sits on price

At $1.92 per million output tokens, GLM 5 is a mid tier model — right at the median output price of $2.08, which puts it cheaper than 54% and pricier than 46% of the models we track. It sits 9th cheapest of the 17 Z.ai (GLM) models we track. Output costs 3.2× input, the usual spread — trim both, starting with the answer length.

Output tokens per $1
520,833
One full context fill
$0.1229
Cheaper than
54% of tracked models

Cached input is 80% cheaper. On an input-heavy workload you need roughly a 31% 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 5

These three workloads are the ones teams actually run on a mid-priced model — a $1.92/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.0057 $85.32
Document pipeline — 10K docs/day (3K in / 500 out) Batch-friendly: no user waiting, so a ~50% batch discount usually applies. $0.0028 $828
Small app — 1K requests/day (500 in / 150 out) The baseline most side projects actually run at. $0.0006 $17.64

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

GLM 5 price history

Z.ai (GLM) last cut GLM 5's output price on Aug 14, 2026 (-25% per output token), from $0.95/$2.55 to $0.6/$1.92 per 1M in/out. That is the only repricing in the 44 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.95 $2.55
Aug 14, 2026 $0.6 $1.92 -25%

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

GLM 5 vs Qwen3 VL 235B A22B Instruct

The closest-priced alternative from another vendor is Qwen3 VL 235B A22B Instruct (Alibaba (Qwen)) — priced within a rounding error on output, with $0.39 less 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 Qwen3 VL 235B A22B Instruct pricing →

Cheaper alternatives

More Z.ai (GLM) models

Frequently asked questions

How much does the GLM 5 API cost?

GLM 5 costs $0.6 per million input tokens and $1.92 per million output tokens, with cached input at $0.12 per million (80% cheaper). That works out to roughly 520,833 output tokens per dollar.

What does the support chatbot workload cost on GLM 5?

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

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

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

Is GLM 5 worth the price?

GLM 5 sits in the middle of the market (9 of 17 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.