GLM-5.3 vs Kimi K2.7 Code: API price and specs
Both models run behind the same cloudgpu.app key, so switching is a one-word change to the model field. Prices come from the live billing table.
Kimi K2.7 Code has the lower input price; input tokens on GLM-5.3 cost 1.4× as much.
Kimi K2.7 Code has the lower output price; output tokens on GLM-5.3 cost 1.0× as much.
Side by side
| Features | GLM-5.3 | Kimi K2.7 Code |
|---|---|---|
| Model ID | glm-5.3 | kimi-k2.7-code |
| Input / 1M tokens | $1.26 | $0.90 |
| Output / 1M tokens | $3.96 | $3.80 |
| Cached input / 1M tokens | $0.234 | $0.20 |
| Context (tokens) | 131,072 | 262,144 |
| Tool calling | Yes | Yes |
| Reasoning | Yes | Yes |
| Claude Messages API (/v1/messages) | — | — |
Prices are read from the live billing table, the same data as the table on /api.
Cost of the same workload
| Workload | GLM-5.3 | Kimi K2.7 Code |
|---|---|---|
| 1M input + 1M output tokens | $5.22 | $4.70 |
| 1,000 chat replies (1,000 tokens in, 500 out each) | $3.24 | $2.80 |
| Summarize 100 long documents (50,000 tokens in, 1,000 out each) | $6.70 | $4.88 |
| Coding agent session (2M input tokens, 80% cache hits, 60,000 out) | $1.12 | $0.91 |
Estimates multiply the token counts by the prices above. Your bill uses the token counts returned with each response.
Switch between them
Same key, same base URL. Only the model field changes, so you can run both on your own prompts and compare the token counts each one returns.
from openai import OpenAI
client = OpenAI(api_key="cgw-sk-...", base_url="https://cloudgpu.app/v1")
for model in ["glm-5.3", "kimi-k2.7-code"]:
resp = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Summarize the plot of Hamlet in two sentences."}],
)
print(model, resp.usage.prompt_tokens, resp.usage.completion_tokens)
print(resp.choices[0].message.content)GLM-5.3 vs Kimi K2.7 Code questions
Which costs less per token, GLM-5.3 or Kimi K2.7 Code?
GLM-5.3: $1.26 per 1M input tokens, $3.96 per 1M output tokens. Kimi K2.7 Code: $0.90 per 1M input tokens, $3.80 per 1M output tokens. Kimi K2.7 Code has the lower input price; input tokens on GLM-5.3 cost 1.4× as much. Kimi K2.7 Code has the lower output price; output tokens on GLM-5.3 cost 1.0× as much.
Which has the longer context window, GLM-5.3 or Kimi K2.7 Code?
On cloudgpu.app, GLM-5.3 accepts up to 131,072 tokens and Kimi K2.7 Code up to 262,144 tokens.
Can I use GLM-5.3 and Kimi K2.7 Code with one API key?
Yes. Both are on the OpenAI-compatible API at https://cloudgpu.app/v1/chat/completions. Set the model field to glm-5.3 or kimi-k2.7-code; usage for both is charged from the same prepaid balance.