Back to models
deprecated

Z.ai: GLM 4.7

z-ai/glm-4-7

Prices

Input

$0.60 per 1M tokens

low
Input (>32k ctx)

$0.5479 per 1M tokens

low
Input (cache write)

$0.00 per 1M tokens

medium
Input (cached read, >32k ctx)

$0.1096 per 1M tokens

low
Input (cached read)

$0.11 per 1M tokens

low
Output

$2.20 per 1M tokens

low
Output (>32k ctx)

$2.19 per 1M tokens

low

Also available on

The same model, sold by someone else. The price above is the maker's own.

29 sales channels for this model.
ChannelWhatPrice
Amazon BedrockInput$0.60 per 1M tokens
Output$2.20 per 1M tokens
OpenRouterInput$0.60 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
OpenRouter · z-aiInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Coding plan · alibaba-coding-planInput$0.00 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.00 per 1M tokens
Output$0.00 per 1M tokens
Coding plan · alibaba-coding-plan-cnInput$0.00 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.00 per 1M tokens
Output$0.00 per 1M tokens
Coding plan · zai-coding-planInput$0.00 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.00 per 1M tokens
Output$0.00 per 1M tokens
Coding plan · zhipuai-coding-planInput$0.00 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.00 per 1M tokens
Output$0.00 per 1M tokens
Other · abacusInput$0.60 per 1M tokens
Output$2.20 per 1M tokens
Other · basetenInput$0.60 per 1M tokens
Input (cached read)$0.12 per 1M tokens
Output$2.20 per 1M tokens
Other · crossmodelInput$0.47 per 1M tokens
Input (>32k ctx)$0.62 per 1M tokens
Input (cache write, >32k ctx)$0.62 per 1M tokens
Input (cache write)$0.47 per 1M tokens
Input (cached read, >32k ctx)$0.13 per 1M tokens
Input (cached read)$0.10 per 1M tokens
Output$2.16 per 1M tokens
Output (>32k ctx)$2.47 per 1M tokens
Other · deepinfraInput$0.40 per 1M tokens
Input (cached read)$0.08 per 1M tokens
Output$1.75 per 1M tokens
Other · edenaiInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · huggingfaceInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · huggingface-novitaInput$0.60 per 1M tokens
Output$2.20 per 1M tokens
Other · impossiblInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · jiekouInput$0.60 per 1M tokens
Output$2.20 per 1M tokens
Other · kiloInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · llmgateway-providersInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · meganovaInput$0.20 per 1M tokens
Output$0.80 per 1M tokens
Other · merge-gatewayInput$0.60 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · nano-gptInput$0.4004 per 1M tokens
Input (cached read)$0.0801 per 1M tokens
Output$1.93 per 1M tokens
Other · novita-aiInput$0.60 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · ofoxInput$0.40 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · openrouterInput$0.40 per 1M tokens
Input (cached read)$0.08 per 1M tokens
Output$1.75 per 1M tokens
Other · orcarouterInput$0.60 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · temprInput$0.60 per 1M tokens
Input (cache write)$0.00 per 1M tokens
Input (cached read)$0.11 per 1M tokens
Output$2.20 per 1M tokens
Other · tensorxInput$0.60 per 1M tokens
Input (cache write)$0.75 per 1M tokens
Input (cached read)$0.15 per 1M tokens
Output$2.20 per 1M tokens
Other · vercelInput$0.60 per 1M tokens
Input (cached read)$0.12 per 1M tokens
Output$2.20 per 1M tokens
Other · zenmuxInput$0.2911 per 1M tokens
Input (>32k ctx)$0.5823 per 1M tokens
Input (cached read, >32k ctx)$0.1165 per 1M tokens
Input (cached read)$0.0582 per 1M tokens
Output$1.16 per 1M tokens
Output (>32k ctx)$2.33 per 1M tokens

Specifications

Provider
z-ai
Context window
204,800
Max output tokens
128,000
Open weights
yes
Released
12/22/2025
Retires
12/31/2026
First seen by this tracker

Price history

Input — per 1M tokens

0.6009/14/2026today
Recorded changes for Input
FromAmount
09/14/20260.276
09/14/20260.6
09/17/20260.45
09/23/20260.6

Input (cached read) — per 1M tokens

0.19009/14/2026today
Recorded changes for Input (cached read)
FromAmount
09/14/20260.055
09/14/20260.11
09/17/20260.19
09/23/20260.11

Output — per 1M tokens

2.2009/14/2026today
Recorded changes for Output
FromAmount
09/14/20261.1
09/14/20262.2
09/17/20261.65
09/23/20262.2

No changes recorded

Input (cache write)
0 per 1M tokens, unchanged since 09/14/2026
Input (>32k ctx)
0.5479 per 1M tokens, unchanged since 09/29/2026
Output (>32k ctx)
2.19 per 1M tokens, unchanged since 09/29/2026
Input (cached read, >32k ctx)
0.1096 per 1M tokens, unchanged since 09/29/2026

Last updated 10/04/2026, 02:10