Skip to content

Kimi K2.7 Code

Moonshot AI · Open weights · 262K context · released Jun 12, 2026 · checked 6h ago

Ways to buy 16

Way to buyIn / out per 1M
StreamLake
Default region · cached $0.143
$0.713 / $3Cheapest
Inceptron
int4 · cached $0.18
$0.656 / $3.3+3% vs cheapest
DeepInfra
fp4 · cached $0.136
$0.68 / $3.4+6% vs cheapest
CoreWeave
int4 · cached $0.15
$0.71 / $3.5+10% vs cheapest
Venice
int4 · cached $0.16
$0.75 / $3.5+12% vs cheapest
ModelRun
fp4 · cached $0.16
$0.85 / $3.75+23% vs cheapest
SiliconFlow
fp8 · cached $0.18
$0.859 / $3.8+24% vs cheapest
Novita AI
int4 · cached $0.182
$0.912 / $3.84+28% vs cheapest
Baseten
fp4 · cached $0.16
$0.95 / $4+33% vs cheapest
Cloudflare Workers AI
Default region · cached $0.19
$0.95 / $4+33% vs cheapest
Fireworks AI
Default region · cached $0.19
$0.95 / $4+33% vs cheapest
GMICloud
fp8 · cached $0.19
$0.95 / $4+33% vs cheapest
Moonshot AI
int4 · cached $0.19
$0.95 / $4+33% vs cheapest
Nebius
fp4
$0.95 / $4+33% vs cheapest
Qwen (Alibaba)
fp8 · cached $0.19
$0.95 / $4+33% vs cheapest
Moonshot AI
highspeed, int4 · cached $0.38
$1.9 / $8+167% vs cheapest

USD per 1M tokens. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $131.25 direct.

No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
Kimi K3
Moonshot AI · 1M
$0.885 / $10.5
Kimi K2.6
Moonshot AI · 262K
$0.452 / $1.9
Kimi K2.5
Moonshot AI · 262K
$0.45 / $2.25
Kimi K2 Thinking
Moonshot AI · 262K
$0.6 / $2.5
Muse Spark 1.3
Meta · 1M
$1.25 / $4.25
Gemini 3.8 Flash
Google · 1MCheapest: $0.75 on Google Gemini API (flex)
$0.75 / $3.75
Muse Spark 1.1
Meta · 1M
$1.25 / $4.25
GLM 5.3
Z.ai · 1.31M
$0.561 / $1.76

About Kimi K2.7 Code

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts.

Takes text, image in and returns text. First listed Sep 23, 2026. Up to 236K output tokens. Blended price $1.28 per 1M tokens at 3 input to 1 output. Model id kimi-k2-7-code.

Price history

No list-price history: this model is sold by hosts rather than its lab.

Questions

How much does Kimi K2.7 Code cost?

$0.713 per million input tokens and $3 per million output tokens, with cached input at $0.143.

What is the context window of Kimi K2.7 Code?

262K tokens, with up to 236K tokens of output.

Where is Kimi K2.7 Code cheapest?

Of 16 routes tracked, StreamLake is cheapest at $0.713 input and $3 output per million tokens.

Has Kimi K2.7 Code's price changed?

Yes. The input price went from $0.706 to $0.656, first seen Sep 25, 2026.

Sources: OpenRouter's public model catalog and each provider's own pricing page, read every morning at 05:00 UTC; gateway fees re-read every Monday. List prices: your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Price changes by email

Thursdays, only in weeks when an LLM API list price changed.

Double opt-in. Unsubscribe any time.