Kimi K2.7 Code vs gpt-oss-120b: 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.
gpt-oss-120b has the lower input price; input tokens on Kimi K2.7 Code cost 6.7× as much.
gpt-oss-120b has the lower output price; output tokens on Kimi K2.7 Code cost 7.0× as much.
Side by side
| Features | Kimi K2.7 Code | gpt-oss-120b |
|---|---|---|
| Model ID | kimi-k2.7-code | gpt-oss-120b |
| Input / 1M tokens | $0.90 | $0.135 |
| Output / 1M tokens | $3.80 | $0.54 |
| Cached input / 1M tokens | $0.20 | $0.0675 |
| Context (tokens) | 262,144 | 131,072 |
| Tool calling | Yes | Yes |
| Reasoning | 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 | Kimi K2.7 Code | gpt-oss-120b |
|---|---|---|
| 1M input + 1M output tokens | $4.70 | $0.68 |
| 1,000 chat replies (1,000 tokens in, 500 out each) | $2.80 | $0.40 |
| Summarize 100 long documents (50,000 tokens in, 1,000 out each) | $4.88 | $0.73 |
| Coding agent session (2M input tokens, 80% cache hits, 60,000 out) | $0.91 | $0.19 |
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 ["kimi-k2.7-code", "gpt-oss-120b"]:
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)Kimi K2.7 Code vs gpt-oss-120b questions
Which costs less per token, Kimi K2.7 Code or gpt-oss-120b?
Kimi K2.7 Code: $0.90 per 1M input tokens, $3.80 per 1M output tokens. gpt-oss-120b: $0.135 per 1M input tokens, $0.54 per 1M output tokens. gpt-oss-120b has the lower input price; input tokens on Kimi K2.7 Code cost 6.7× as much. gpt-oss-120b has the lower output price; output tokens on Kimi K2.7 Code cost 7.0× as much.
Which has the longer context window, Kimi K2.7 Code or gpt-oss-120b?
On cloudgpu.app, Kimi K2.7 Code accepts up to 262,144 tokens and gpt-oss-120b up to 131,072 tokens.
Can I use Kimi K2.7 Code and gpt-oss-120b with one API key?
Yes. Both are on the OpenAI-compatible API at https://cloudgpu.app/v1/chat/completions. Set the model field to kimi-k2.7-code or gpt-oss-120b; usage for both is charged from the same prepaid balance.