GLM 5.4 vs Kimi K3.1 Pro
Price, context, speed and uptime side by side
Kimi K3.1 Pro is 30 % cheaper than GLM 5.4 on a typical 1 : 3 input-to-output mix: $2.31 against $3.28 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.017 on GLM 5.4 and $0.019 on Kimi K3.1 Pro. Both read up to 1M tokens in one request. On OpenCheap, GLM 5.4 is served by 1 provider and Kimi K3.1 Pro by 31 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-11-23 23:56 UTC.
Side by side
| Model | GLM 5.4Zhipu | Kimi K3.1 ProMoonshot |
|---|---|---|
| Inputper 1M tokens | $1.26 (best) | $1.68 |
| Outputper 1M tokens | $3.96 | $2.52 (best) |
| Cached inputper 1M tokens | $0 (best) | $0.16 |
| On a 1 : 3 mixper 1M tokens, input to output | $3.28 | $2.31 (best) |
| One request10,000 tokens in, 1,000 out | $0.017 (best) | $0.019 |
| 1,000 requestsof that size | $16.56 (best) | $19.32 |
| List priceper 1M tokens, input / output | — | $0.24 / $8.40 |
| Context windowtokens in one request | 1M | 1M |
| Providersserving it on OpenCheap | 1 | 31 (best) |
| First tokenfastest provider, median | — | 0.41 s |
| Output speedfastest provider, median | — | 235 tok/s |
| Uptimebest provider, last day | — | 100 % |
| Model id | opencheap/glm-5.4Model page → | opencheap/kimi-k3.1-proModel page → |
Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.
Switch between them
Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call Kimi K3.1 Pro instead of GLM 5.4, change the model to opencheap/kimi-k3.1-pro; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in usage.cost.
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)About the two models
GLM 5.4 is a Zhipu model on OpenCheap. All Zhipu models
Kimi K3.1 Pro is Moonshot AI's open-weight, natively multimodal agentic model, post-trained from Kimi K3. It is a mixture-of-experts model with about 104B of 2.8T parameters active, takes text and images, and suits coding and other agentic work. All Moonshot models
Questions
- Which is cheaper, GLM 5.4 or Kimi K3.1 Pro?
- Kimi K3.1 Pro is 30 % cheaper than GLM 5.4 on a typical 1 : 3 input-to-output mix: $2.31 against $3.28 per 1M tokens. Per 1M tokens, GLM 5.4 costs $1.26 input and $3.96 output; Kimi K3.1 Pro costs $1.68 input and $2.52 output.
- Which has the larger context window, GLM 5.4 or Kimi K3.1 Pro?
- Both read up to 1M tokens in one request.
- Can I use GLM 5.4 and Kimi K3.1 Pro with the same API key?
- Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/glm-5.4 or opencheap/kimi-k3.1-pro, and each request goes to the cheapest healthy provider of that model.