Kimi K2.7 Code API Pricing

Short answer

Kimi K2.7 Code costs $0.74 per 1M input tokens and $3.50 per 1M output tokens . Context window: 262K. Last verified 2026-06-18 from openrouter.ai. Confidence: Auto.

Kimi K2.7 Code is Moonshot's strongest coding model, built on K2.6 for long-horizon software tasks with lower thinking-token usage.

Input
$0.74 /1M
Output
$3.50 /1M
Cached input
/1M
Input pricing$0.74
Output pricing$3.50

Limits & capabilities

Context window262K
Max output
Modalitytext + image/video input, text output
ChannelOpenRouter
ProviderMoonshot

Best for

Open weightCodingAgenticLong context
Lower than the official Kimi API headline rate, but OpenRouter's public page does not expose a stable cached-input price. Official page lists cache-hit input, cache-miss input, output, and 262,144-token context. HighSpeed is a faster serving variant; BatchJob pricing is separate.

More from Moonshot

Related comparisons