API pricing per million tokens
- Input
- $0.966
- per 1M, StreamLake (fp8)
- Output
- $3.04
- per 1M tokens
- Cached input
- $0.179
- no batch tier listed
- Context
- 205K
- 128K max output
Where to buy it (14)
- StreamLakefp8, fp8$0.966 / $3.04cached $0.179
Chutesfp8, fp8$0.98 / $3.08cached $0.098
DeepInfrafp4, fp4$1.05 / $3.5cached $0.205
SiliconFlowfp8, fp8$1.19 / $3.74cached $0.6
- AtlasCloudfp8, fp8$1.26 / $3.96cached $0.234
- Phaladefault region$1.21 / $4.2cached $0.6
Qwen (Alibaba)fp8, fp8$1.33 / $4.18cached $0.247
Novita AIfp8, fp8$1.38 / $4.4cached $0.26
- Baidufp8, fp8$1.4 / $4.4cached $0.26
Friendlidefault region$1.4 / $4.4cached $0.26
- GMICloudfp8, fp8$1.4 / $4.4cached $0.26
Nebiusfp8, fp8$1.4 / $4.4$2.15 blended
Z.aifp8, fp8$1.4 / $4.4cached $0.26
Venicefp8, fp8$1.4 / $4.4cached $0.26
Through a gateway
Your own numbers100M input and 20M output tokens a month: $157.32 direct.
Helicone$157.32+0%
Kong AI Gateway$157.32+0%
LiteLLM$157.32+0%
Vercel AI Gateway$157.32+0%
AWS Bedrock$157.32+0%
Azure AI Foundry$157.32+0%
Google Vertex AI$157.32+0%
Databricks Mosaic AI$157.32+0%
Hugging Face Inference$157.32+0%
Cloudflare AI Gateway$165.19+5%
Requesty$165.19+5%
Eden AI$165.97+5.5%
OpenRouter$165.97+5.5%
Snowflake Cortex AI$188.78+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
GLM 5.3 PrimeZ.ai · 1M$2.8 / $8.8in / out per 1M$2.8$8.8$0.561MSep 23, 2026
GLM 5.3 FlashXZ.ai · 1M$0.37 / $1.25in / out per 1M$0.37$1.25$0.091MSep 18, 2026
GLM 5.3 FlashZ.ai · via InferenceNet (fp4) · 1.31M$0.045 / $0.14in / out per 1M$0.045$0.14$0.011.31MAug 26, 2026
GLM 5.3Z.ai · via DeepInfra (fp4) · 1.31M$0.563 / $2.5in / out per 1M$0.563$2.5$0.1251.31MAug 18, 2026
Muse Spark 1.3Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MSep 2, 2026
Gemini 3.8 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MSep 2, 2026
Muse Spark 1.1Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MJul 16, 2026
Qwen3.8 Max (0902)Qwen (Alibaba) · 1M$2 / $6in / out per 1M$2$6$0.251MSep 3, 2026
About GLM 5.1
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.
Takes text in and returns text. First listed Sep 23, 2026. Blended price $1.48 per 1M tokens at 3 input to 1 output.
Questions
How much does GLM 5.1 cost?
$0.966 per million input tokens and $3.04 per million output tokens, with cached input at $0.179.
What is the context window of GLM 5.1?
205K tokens, with up to 128K tokens of output.
Where is GLM 5.1 cheapest?
Of 14 routes tracked, StreamLake is cheapest at $0.966 input and $3.04 output per million tokens.
Has GLM 5.1's price changed?
Yes. The output price went from $3.03 to $4.4, first seen Sep 24, 2026.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.