Kimi K2.7 Code is available from 8 provider(s). Cheapest: UplinkSwitch at $0.426 per 1M input tokens and $1.79 per 1M output tokens. Context window: up to 262 144 tokens. Developer: Moonshot AI.
| Provider | Input $/1M | Output $/1M | Context | |
|---|---|---|---|---|
| UplinkSwitch kimi-k2.7-code | $0.426 | $1.79 | 262K | Go to provider ↗ Set up |
| NanoGPT moonshotai/kimi-k2.7-code | $0.600 +41 % | $3.00 | 262K | Go to provider ↗ Set up |
| OpenRouter moonshotai/kimi-k2.7-code | $0.600 +41 % | $3.00 | 262K | Go to provider ↗ Set up |
| DeepInfra moonshotai/Kimi-K2.7-Code | $0.680 +60 % | $3.40 | 262K | Go to provider ↗ Set up |
| Chutes moonshotai/Kimi-K2.7-Code | $0.832 +95 % | $3.50 | 262K | Go to provider ↗ Set up |
| CometAPI kimi-k2.7-code | $0.950 +123 % | $4.00 | — | Go to provider ↗ Set up |
| Novita AI moonshotai/kimi-k2.7-code | $0.950 +123 % | $4.00 | 262K | Go to provider ↗ Set up |
| Kyma API kimi-k2.7-code | $1.01 +137 % | $4.77 | 262K | Go to provider ↗ Set up |
Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.
Reference price: $1.43 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it
Price history is recorded daily – the chart appears after the first price change.
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key=os.environ["UPLINKSWITCH_API_KEY"])
r = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Currently at UplinkSwitch ($0.426 / 1M). Prices are updated daily; the provider’s website is authoritative.
All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.