Kimi K2.7 Code pricing

Kimi K2.7 Code from Moonshot AI (Kimi) costs $0.700 per 1M input tokens and $3.50 per 1M output tokens. Cached input is $0.150 per 1M. Context window 262,144 tokens.

API id kimi-k2.7-code · Moonshot AI (Kimi) · source · updated 2026-08-11

$0.700
Input / 1M tokens
$3.50
Output / 1M tokens
$0.150
Cached input / 1M
262K
Context window

What Kimi K2.7 Code costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0024
Document summary50,0002,000$0.04
1M tokens in, 200K out1,000,000200,000$1.40

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does Kimi K2.7 Code cost per 1M tokens?
Kimi K2.7 Code costs $0.700 per 1M input tokens and $3.50 per 1M output tokens on the standard tier. Cached input is $0.150 per 1M.
What is Kimi K2.7 Code's context window?
Kimi K2.7 Code accepts up to 262,144 tokens in a single request, and can return up to 262,144 output tokens.
Is there a cheaper Kimi model than Kimi K2.7 Code?
Yes. Kimi K2 0711 is $0.570 per 1M input tokens versus $0.700 for Kimi K2.7 Code, with a 131,072 token context window.
Where does this Kimi K2.7 Code price come from?
From the OpenRouter catalogue, because Moonshot AI (Kimi) does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from Moonshot AI (Kimi)'s own — verify before committing spend.

Other Kimi models

See all Kimi pricing →