Z.ai

GLM 4.7 API pricing

Made by Z.ai

10 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is DeepInfra at $283.20 a month; the dearest costs $967.20, 3.4× as much.

Input from
$0.32
Output from
$1.40
Context up to
205K tokens
Batch rates
1 route

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
DeepInfrafp4 · OpenRouter$0.32$1.40$0.064——203K$283.20
Venicefp4 · OpenRouter$0.40$1.75$0.08——198K$354.00
DeepInfrafp4 · OpenRouter$0.40$1.75$0.08——203K$354.00
Novitafp8 · OpenRouter$0.60$2.20$0.11——205K$477.00
Z.aifp4 · OpenRouter$0.60$2.20$0.11——203K$477.00
Mancer 2fp4 · OpenRouter$0.70$2.50$0.35——131K$615.00
Amazon BedrockLiteLLM$0.60$2.20——$0.30 / $1.10203K$624.00
Amazon Bedrockap-southeast-2 · LiteLLM$0.62$2.27———203K$644.40
Amazon Bedrockap-northeast-1, ap-south-1, ap-southeast-3, eu-central-1, eu-north-1, eu-south-1, eu-west-1, sa-east-1 · LiteLLM$0.72$2.64———203K$748.80
Amazon Bedrockeu-west-2 · LiteLLM$0.93$3.41———203K$967.20

Other GLM models