Z.ai

GLM 4.7 Flash API pricing

Made by Z.ai

11 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Z.ai at $0.00 a month.

Input from
$0.00
Output from
$0.00
Context up to
203K 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
Z.aifree tier, rate-limited · LiteLLM$0.00$0.00$0.00$0.00—200K$0.00
Cloudflare AI GatewayLiteLLM$0.024$0.16———131K$33.60
DeepInfraLiteLLM$0.06$0.40$0.01——203K$69.00
NovitaLiteLLM$0.07$0.40$0.01——200K$72.00
CloudflareOpenRouter$0.0605$0.40———131K$84.30
Amazon BedrockLiteLLM$0.07$0.40——$0.035 / $0.20203K$90.00
GMI CloudLiteLLM$0.07$0.40———203K$90.00
Amazon Bedrockap-southeast-2 · LiteLLM$0.07$0.41———203K$91.20
KymaLiteLLM$0.081$0.54$0.0135——203K$93.15
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.08$0.48———203K$105.60
Amazon Bedrockeu-west-2 · LiteLLM$0.11$0.62———203K$140.40

Other GLM models