API pricing per million tokens
glm-4-5 Open weightsChecked 5h ago
- Input
- $0.6
- per 1M, Z.ai (fp8)
- Output
- $2.2
- per 1M tokens
- Cached input
- $0.11
- no batch tier listed
- Context
- 131K
- 98K max output
Where to buy it (1)
Z.aifp8, fp8$0.6 / $2.2cached $0.11
Through a gateway
Your own numbers100M input and 20M output tokens a month: $104.00 direct.
Helicone$104.00+0%
Kong AI Gateway$104.00+0%
LiteLLM$104.00+0%
Vercel AI Gateway$104.00+0%
AWS Bedrock$104.00+0%
Azure AI Foundry$104.00+0%
Google Vertex AI$104.00+0%
Databricks Mosaic AI$104.00+0%
Hugging Face Inference$104.00+0%
Cloudflare AI Gateway$109.20+5%
Requesty$109.20+5%
Eden AI$109.72+5.5%
OpenRouter$109.72+5.5%
Snowflake Cortex AI$124.80+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
ModelInputOutputCachedContextReleased
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
Gemini 3.7 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MAug 13, 2026
About GLM 4.5
GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications.
Takes text in and returns text. First listed Sep 23, 2026. Blended price $1 per 1M tokens at 3 input to 1 output.
Across fru.devCompany profile
Questions
How much does GLM 4.5 cost?
$0.6 per million input tokens and $2.2 per million output tokens, with cached input at $0.11.
What is the context window of GLM 4.5?
131K tokens, with up to 98K tokens of output.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.