Kimi K2.7 Code is Moonshot AI (Kimi)'s language model with a 262K context window and up to 33K output tokens, available from 5 providers, starting at $0.75 / 1M input and $3.50 / 1M output. A coding-focused agentic LLM built on Kimi K2.6, optimized for long-horizon real-world coding tasks and end-to-end task completion with tool-use and vision support.
| Specifications | |
|---|---|
moonshot-kimi-k2-code | |
| Language | |
| Active | |
| 262K tokens | |
| 33K tokens | |
| ImagePDFTextVideo | |
| Text | |
| default | |
| 1.06T | |
| 390 | |
| 0 | |
| 0 | |
| · 1 month ago | |
Capabilities
Input4/5
Text✓
Image✓
Audio·
Video✓
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema✓
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | Batch | |||
|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Output $ / 1M | |
| $0.894 | $3.71 | N/A | $0.447 | $1.86 | |
| $0.95 | $4.00 | $0.19 | — | — | |
| $0.95 | $4.00 | N/A | — | — | |
| $0.75 | $3.50 | $0.16 | — | — | |
| $0.95 | $4.00 | $0.19 | — | — | |
Cost Calculator
US Dollar ($)
Preset:
Cheapest Instances to Run It
Cloud GPU instances that can host Kimi K2.7 Code, ranked by cheapest on-demand price. The model needs about 2541 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.
All clouds
FP16 (full precision)
US Dollar ($)
No GPU instances fit Kimi K2.7 Code at FP16 precision — try a lower precision such as INT4.
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Kimi K2.7 Code | 262K | $0.750 | $3.50 | Current | |
| Kimi K2.6 | 262K | $0.800 | $3.40 | Available | |
| Kimi K2.5 | 262K | $0.500 | $2.80 | Available |