Kimi K2.7 Code
Kimi K2.7 Code is Moonshot AI’s coding-focused model, with a 262,144-token context window and higher instruction-following reliability in long contexts.
Last updated
kimi-k2.7-codeKey facts
At a glance
- Context window
- 262,144
- Parameters
- Not published
- Released
- Not published
- Output / 1M
- $4.00
Pricing
How much does Kimi K2.7 Code cost?
Kimi K2.7 Code costs $0.95 per million input tokens on a cache miss, $0.19 per million on a cache hit, and $4.00 per million output tokens. Prices exclude tax.
| Token type | Price per 1M tokens |
|---|---|
| Input — cache hit | $0.19 |
| Input — cache miss | $0.95 |
| Output | $4.00 |
What a real request costs
A 100,000-token prompt with a 5,000-token response costs $0.115 cold. Repeat that same prompt prefix so 80% of the input hits the cache and it drops to $0.054 — a 53% saving.
This is why headline per-token prices mislead on agent workloads, where the system prompt and tool definitions repeat on every call.
Capabilities
What can Kimi K2.7 Code do?
- Text inputsupported
- Image inputsupported
- Video inputsupported
- Thinking modesupported
- Tool callingsupported
- JSON modesupported
- Structured outputnot supported
- Partial modesupported
- Context cachingsupported
- Web searchnot supported
- Open weightsnot supported
Notes
What the spec sheet leaves out
- Moonshot has not published a precise release date for K2.7 Code.
- Accepts text, image and video input.
FAQ
Kimi K2.7 Code questions
What is Kimi K2.7 Code?
Kimi K2.7 Code is Moonshot AI’s coding-focused model, with a 262,144-token context window and higher instruction-following reliability in long contexts.
What is the Kimi K2.7 Code context window?
Kimi K2.7 Code has a 262,144-token context window. That total covers input and output combined, so a long prompt reduces the room left for the response.
How much does Kimi K2.7 Code cost?
Kimi K2.7 Code costs $0.95 per million input tokens on a cache miss, $0.19 per million on a cache hit, and $4.00 per million output tokens. Prices exclude tax.
Is Kimi K2.7 Code open source?
Moonshot AI has not published open weights for Kimi K2.7 Code. It is available through the hosted API only.
Sources
Where these figures come from
Every specification and price on this page is transcribed from Moonshot AI’s own documentation and re-checked on the date shown. Nothing is estimated.