Zhipu: GLM 5.4
- Price per 1M tokens
- $1.26 / $3.96input / output
- Cached input
- $0per 1M tokens
- Context
- 1M tokens131K max output
Providers
1 provider ·
1M context · 131K max output
A request picks by price (:floor) or by speed (provider.sort, :nitro), or sets a floor on tokens per second. How routing works
Price history
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/glm-5.4", "messages": [{ "role": "user", "content": "Hi" }] }'About GLM 5.4
GLM 5.4 costs from $1.26 per 1M input tokens and $3.96 per 1M output tokens on OpenCheap, with cached input at $0 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.017, and 1,000 such requests about $16.56. Prices as of 2026-11-23 23:43 UTC.
One provider serves GLM 5.4 on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in usage.cost. Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.
GLM 5.4 is one of 55 Zhipu models on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
Call GLM 5.4 with the OpenAI SDK
Point the OpenAI SDK at OpenCheap and pass the model id opencheap/glm-5.4; the rest of your code stays the same.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/glm-5.4",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)More from Zhipu
- GLM 5.3glm-5.3$0.13 / $0.045 per 1M · 1M context
- GLM 5.3 Flashglm-5.3-flash$0.0045 / $0.015 per 1M · 1M context
- GLM 5.2glm-5.2$0.042 / $0.13 per 1M · 1M context
- GLM 5.1glm-5.1$0.055 / $0.22 per 1M · 204K context
- GLM 4.7glm-4.7$0.15 / $0.62 per 1M · 204K context
- GLM 4.6glm-4.6$0.13 / $0.53 per 1M · 204K context
- zai-org/AutoGLM-Phone-9B-Multilingualautoglm-phone-9b-multilingual$0.035 / $0.14 per 1M · 65K context
- GLM 5.1 E2EEe2ee-glm-5.1$0.66 / $2.49 per 1M · 200K context
Similar models
- Kimi K3.1 ProMoonshot · 1M context$1.68 / $2.52 per 1M30 % cheaperCompare with GLM 5.4 →
- Qwen4 MaxQwen · 1M context$1.41 / $4.24 per 1MCompare with GLM 5.4 →
- Qwen3.7 MaxQwen · 1M context$1.48 / $4.42 per 1MCompare with GLM 5.4 →
- Muse Spark 1.1Meta · 1M context$1.08 / $3.67 per 1M8 % cheaperCompare with GLM 5.4 →
- Muse Spark OpenMeta · 1M context$1.00 / $3.40 per 1M15 % cheaperCompare with GLM 5.4 →
- ERNIE Light DT 1.0 (Intl)Baidu · 1M context$1.19 / $4.14 per 1MCompare with GLM 5.4 →