moonshotai
MoonshotAI: Kimi K2.7 Code API Pricing
MoonshotAI: Kimi K2.7 Code costs $0.670 per 1M input tokens and $3.40 per 1M output tokens (cache reads: $0.170). Context window: 262K. Prices verified 2026-08-23 · source
Input / 1M tokens
$0.670
Output / 1M tokens
$3.40
Context window
262K
Max output
262K
What would MoonshotAI: Kimi K2.7 Code cost you per month?
| Workload | Requests/mo | Avg tokens (in/out) | Est. monthly cost |
|---|---|---|---|
| Light chatbot | 10,000 | 800 / 400 | $18.96 |
| Coding agent | 5,000 | 8,000 / 2,000 | $60.80 |
| RAG pipeline | 30,000 | 4,000 / 500 | $131.40 |
| Doc summarizer | 2,000 | 20,000 / 1,000 | $33.60 |
Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.
About MoonshotAI: Kimi K2.7 Code
MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...