aiapicompareaiapicompare
aiapicompare › All models › Kimi K2.7 Code

Kimi K2.7 Code: API pricing compared

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.

ProviderInput $/1MOutput $/1MContext
UplinkSwitch
kimi-k2.7-code
$0.426$1.79262KGo to provider ↗ Set up
NanoGPT
moonshotai/kimi-k2.7-code
$0.600 +41 %$3.00262KGo to provider ↗ Set up
OpenRouter
moonshotai/kimi-k2.7-code
$0.600 +41 %$3.00262KGo to provider ↗ Set up
DeepInfra
moonshotai/Kimi-K2.7-Code
$0.680 +60 %$3.40262KGo to provider ↗ Set up
Chutes
moonshotai/Kimi-K2.7-Code
$0.832 +95 %$3.50262KGo 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.00262KGo to provider ↗ Set up
Kyma API
kimi-k2.7-code
$1.01 +137 %$4.77262KGo 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 (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with UplinkSwitch

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)

FAQ

Where is Kimi K2.7 Code cheapest?

Currently at UplinkSwitch ($0.426 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use Kimi K2.7 Code in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Moonshot AI

Kimi K3Kimi K3.1 ProKimi K2.6Kimi K2.5Kimi LatestKimi K2 ThinkingKimi K2 InstructKimi K3.1 Pro HighspeedKimi K2.6 ThinkingKimi K2 0905Kimi K2.5 ThinkingKimi K2.7 Code High-Speed