Z.ai

GLM 5.1 API pricing

Made by Z.ai

14 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Chutes at $645.00 a month; the dearest costs $1,362.83, 2.1× as much.

Input from
$0.825
Output from
$2.82
Context up to
205K 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
Chutesfp8 · OpenRouter$0.90$2.90$0.09——203K$645.00
Baidufp8 · OpenRouter$0.899$2.82$0.167——203K$658.69
EmpiriolabsLiteLLM$0.825$3.30$0.165——203K$693.12
StreamLakefp8 · OpenRouter$0.966$3.04$0.179——200K$707.94
DeepInfraLiteLLM$1.05$3.50$0.205——203K$796.50
Alibabafp8 · OpenRouter$1.33$4.18$0.247——203K$974.70
SiliconFlowfp8 · OpenRouter$1.19$3.74$0.60——205K$985.80
NovitaLiteLLM$1.38$4.40$0.26——205K$1,020.00
Z.aifp8 · OpenRouter$1.40$4.40$0.26——203K$1,026.00
Alibaba DashScopeLiteLLM$1.40$4.40$0.26——203K$1,026.00
Qwen CloudLiteLLM$1.40$4.40$0.26——203K$1,026.00
Qwen AI PlatformLiteLLM$1.40$4.40$0.26——203K$1,026.00
NebiusLiteLLM$1.40$4.40$0.26——203K$1,026.00
KymaLiteLLM$1.89$5.94$0.277——203K$1,362.83

Other GLM models