Kimi K2.7 Code
Kimi K2.7 Code is a code-specialist variant tuned for completion, refactoring, and test generation across major programming languages. Available via Moonshot AI. 262,144-token context. Mid-tier pricing.
Kimi K2.7 Code is a multimodal AI model from Moonshot AI. It costs $0.671 per million input tokens and $3.350 per million output tokens (blended $1.475/M), with a 262,144-token context window.
-5.1%over 91 days · hover to read
- Code completion across languages
- Multi-file refactoring
- Test generation
- Debugging from stack traces
- Multimodal: handles images alongside text
- Pair-programming copilots
- Codebase refactors
- Code review automation
- Repo-scale agents
Benchmarks
More from Moonshot AI
See all 5 →Price history
38 recorded changes| Date | Rate | Was | Now | Change |
|---|---|---|---|---|
| 1 Oct 2026 | Input | $0.656 | $0.671 | +2.3% |
| 1 Oct 2026 | Output | $3.300 | $3.350 | +1.5% |
| 25 Sept 2026 | Input | $0.706 | $0.656 | -7.1% |
| 22 Sept 2026 | Output | $3.210 | $3.300 | +2.8% |
| 16 Sept 2026 | Output | $3.500 | $3.210 | -8.3% |
| 16 Sept 2026 | Input | $0.710 | $0.706 | -0.5% |
| 8 Sept 2026 | Output | $3.400 | $3.500 | +2.9% |
| 8 Sept 2026 | Input | $0.660 | $0.710 | +7.6% |
| 28 Aug 2026 | Input | $0.670 | $0.660 | -1.5% |
| 21 Aug 2026 | Output | $3.500 | $3.400 | -2.9% |
| 21 Aug 2026 | Input | $0.710 | $0.670 | -5.6% |
| 15 Aug 2026 | Output | $3.400 | $3.500 | +2.9% |
Rates per million tokens, as published by the provider or its router listing. Showing the 12 most recent of 38. Tracking runs since 3 May; anything earlier is not on record. See every tracked price change.
Frequently asked questions
How much does Kimi K2.7 Code cost?
Kimi K2.7 Code costs $0.671 per million input tokens and $3.350 per million output tokens, for a blended reference rate of $1.475 per million tokens.
What is Kimi K2.7 Code's context window?
Kimi K2.7 Code supports up to 262,144 tokens of context in a single request.
What is Kimi K2.7 Code best for?
Kimi K2.7 Code is well suited to Code completion across languages, Multi-file refactoring and Test generation.
Who makes Kimi K2.7 Code?
Kimi K2.7 Code is developed and served by Moonshot AI.