Kimi K2.7 Code API pricing
As of October 21, 2026, MoonshotAI Kimi K2.7 Code costs $0.95 per million input tokens and $4.00 per million output tokens on Moonshot AI's own API, with cached input at $0.18 per million.
Kimi K2.7 Code benchmarks and specs · Every Moonshot AI model's price
- Input, per million tokens$0.95
- Output, per million tokens$4.00
- Cached input, per million$0.18
- Context window262K tokens
- Max output236K tokens
- Output speed46 tok/s
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.0029 | $2.95 | Yes |
| Repository review | 50K input + 3K output tokens | $0.059 | $59.50 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.230 | $230.00 | Yes |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | $0.35 | $350.00 |
Price history
We have read Moonshot AI's own price every day since October 21, 2026. It has not changed yet; any change will be listed here with its date.
- October 21, 2026 First recorded: $0.95 input, $4.00 output
Cheaper models as good as Kimi K2.7 Code
Models within two points of Kimi K2.7 Code or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.
- MiMo-V2.6-Flash$0.28 Overall 60.8 against 56.7 · 93% cheaper output
- DeepSeek V4 Flash 0731$0.28 Overall 55.2 against 56.7 · 93% cheaper output
- Claude Haiku 5.5$0.50 Overall 67.6 against 56.7 · 88% cheaper output
- GLM 5.3 Flash$0.50 Overall 66.0 against 56.7 · 88% cheaper output
- GPT-6 Luna$0.50 Overall 59.7 against 56.7 · 88% cheaper output
Kimi K2.7 Code pricing questions
- How much does Kimi K2.7 Code cost per million tokens?
- $0.95 per million input tokens and $4.00 per million output tokens, as listed on OpenRouter on October 21, 2026.
- Does Kimi K2.7 Code support prompt caching?
- Yes. OpenRouter lists cached input at $0.18 per million tokens, against $0.95 for uncached input.
- Is there a cheaper model as good as Kimi K2.7 Code?
- MiMo-V2.6-Flash scores 60.8 on the LLMBenchmark Index, within two points of Kimi K2.7 Code or above it, and costs $0.28 per million output tokens.
- Has the price of Kimi K2.7 Code changed?
- Not since we started recording it daily on October 21, 2026.