DeepSeek V4 Pro 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 DeepSeek V4 Pro cost 1.5× as much.
DeepSeek V4 Pro has the lower output price; output tokens on Kimi K2.7 Code cost 1.1× as much.
Side by side
| Features | DeepSeek V4 Pro | Kimi K2.7 Code |
|---|---|---|
| Model ID | deepseek-v4-pro | kimi-k2.7-code |
| Input / 1M tokens | $1.3065 | $0.90 |
| Output / 1M tokens | $3.564 | $3.80 |
| Cached input / 1M tokens | $1.3065 | $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 | DeepSeek V4 Pro | Kimi K2.7 Code |
|---|---|---|
| 1M input + 1M output tokens | $4.87 | $4.70 |
| 1,000 chat replies (1,000 tokens in, 500 out each) | $3.09 | $2.80 |
| Summarize 100 long documents (50,000 tokens in, 1,000 out each) | $6.89 | $4.88 |
| Coding agent session (2M input tokens, 80% cache hits, 60,000 out) | $2.83 | $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 ["deepseek-v4-pro", "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)DeepSeek V4 Pro vs Kimi K2.7 Code questions
Which costs less per token, DeepSeek V4 Pro or Kimi K2.7 Code?
DeepSeek V4 Pro: $1.3065 per 1M input tokens, $3.564 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 DeepSeek V4 Pro cost 1.5× as much. DeepSeek V4 Pro has the lower output price; output tokens on Kimi K2.7 Code cost 1.1× as much.
Which has the longer context window, DeepSeek V4 Pro or Kimi K2.7 Code?
On cloudgpu.app, DeepSeek V4 Pro accepts up to 131,072 tokens and Kimi K2.7 Code up to 262,144 tokens.
Can I use DeepSeek V4 Pro 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 deepseek-v4-pro or kimi-k2.7-code; usage for both is charged from the same prepaid balance.