Kimi K2.7 Code API Pricing

Short answer

Kimi K2.7 Code costs — per 1M input tokens and — per 1M output tokens . Context window: 262K. Last verified 2026-06-17 from huggingface.co. 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
/1M
Output
/1M
Cached input
/1M

Limits & capabilities

Context window262K
Max output
Modalitytext + image/video input, text output
ChannelHugging Face weights
ProviderMoonshot

Best for

Open weightCodingAgenticLong context
Open weights are available for self-hosting; hosted cost depends on GPU infrastructure rather than per-token API rates. 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