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 (cached input $0.19/1M). Context window: 262K. Last verified 2026-06-17 from platform.kimi.ai. Confidence: Verified.
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
$0.19 /1M
Input pricing$0.95
Cached input$0.19
Output pricing$4.00
Limits & capabilities
Context window262K
Max output—
Modalitytext + image/video input, text output
ChannelOfficial API
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.
Last checked Verified