opencheap.si
Credits

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

No provider selected
Loading…

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

All 55 Zhipu models →

Similar models

Compare GLM 5.4 with any model →