Z.ai

GLM 4.5 API pricing

Made by Z.ai

4 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is DeepInfra at $432.00 a month; the dearest costs $624.00, 1.4× as much.

Input from
$0.40
Output from
$1.60
Context up to
131K tokens
Batch rates
None listed

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
DeepInfraLiteLLM$0.40$1.60———131K$432.00
Z.aifp8 · OpenRouter$0.60$2.20$0.11——131K$477.00
NovitaLiteLLM$0.60$2.20$0.11——131K$477.00
Vercel AI GatewayLiteLLM$0.60$2.20———131K$624.00

Other GLM models