Kimi K2.7 Code
Kimi K2.7 Code is a Moonshot AI model with a 262K-token context window and a 236K-token output limit. It costs $0.63 per 1M input tokens and $3.5 per 1M output tokens, and accepts text + image input. A coding-focused model built to finish end-to-end programming tasks over long repository contexts. Prices and limits were checked on 2026-12-02 against the source linked on this page.
Input / 1M tokens
$0.63
Output / 1M tokens
$3.5
Context window
262K
Value Score
24/100
Context per input dollar, not quality
Cost examples
Arithmetic from this record's unit prices. Treat the results as estimates, not quotes.
| Workload | Assumption | Cost |
|---|---|---|
| 1M input tokens | One million tokens sent to the model | $0.63 |
| 1M output tokens | One million tokens generated by the model | $3.5 |
| Summarise a 100K-token document | 100K input + 2K output tokens per document | $0.07 |
| 1,000 short support replies | 2K input + 500 output tokens per reply | $3.01 |
Where it fits
- End-to-end coding tasks
- 262K-token context
- Text and image input
When to avoid it
- Narrower than general-purpose models
- $0.63 input / $3.50 output per 1M tokens
Alternatives at a similar input price
Closest input price first, spread across vendors. Check context and modalities before switching.
| Model | Input / 1M | Context | Input |
|---|---|---|---|
| Mistral Large 4 | $0.7 | 1.05M | text + image |
| Nova Pro 1.0 | $0.8 | 300K | text + image |
| DeepSeek V4 Pro 0423 | $0.8349 | 1.05M | text |
| GPT-6.1 Terra | $1 | 1.05M | file + image + text |
Want the cost side of switching? See cheaper models with monthly savings and trade-offs.
Questions about Kimi K2.7 Code
+How much does Kimi K2.7 Code cost per 1M tokens?
$0.63 for input and $3.5 for output. Cached input is $0.15 per 1M tokens. Prices were verified on 2026-12-02 and can change without notice.
+How large is the Kimi K2.7 Code context window?
262,144 tokens, or roughly 403 pages at an estimated 650 tokens per page. The page count is an estimate, not a guarantee: PDFs, tables and code tokenise differently.
+Does Kimi K2.7 Code accept images or PDFs?
Yes. It accepts text + image input. Scanned pages still need OCR before the model can read their text unless the provider processes the file itself.
+What is the maximum output for Kimi K2.7 Code?
235,929 tokens per request. Longer reports need to be split into several requests, which also multiplies the output cost.
+When should I avoid Kimi K2.7 Code?
Narrower than general-purpose models $0.63 input / $3.50 output per 1M tokens If those limits match your workload, choose a model with a different price or context profile instead.
+What is a cheaper alternative to Kimi K2.7 Code?
Devstral 2 2512 from Mistral AI costs $0.4 per 1M input tokens, compared with $0.63 here. Check its context limit and modalities before switching.
Cite this page
LLMCostBot. "Kimi K2.7 Code pricing, context window and task fit". Prices and limits verified 2026-12-02. https://llmcostbot.com/en/models/kimi-k2-7-code (CC BY 4.0).
Data is licensed under CC BY 4.0. Keep the link and the verification date when you reuse it.