Kimi K2.7 Code API Pricing

Short answer

Kimi K2.7 Code costs $0.95 per 1M input tokens and $4.00 per 1M output tokens . Context window: 262K. Last verified 2026-06-17 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.95 /1M
Output
$4.00 /1M
Cached input
/1M
Input pricing$0.95
Output pricing$4.00

Limits & capabilities

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

Best for

Open weightCodingAgenticLong context
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