Kimi K2.7 Code — Specifiche
Compiled by Mustafa Ihsan from the vendor’s published documentation · Last updated
| Sviluppatore | Moonshot AI |
|---|---|
| Tipo | LLM (per programmazione, MoE) |
| Modalità | Testo → Testo |
| Parametri | 1 trilione totale / 32 miliardi attivi (MoE) |
| Finestra contestuale | 256K |
| Licenza | MIT modificata (open) |
| Pesi aperti | Sì |
| Pubblicato | 2026-06 |
| Prezzo dell’input | $0.6 /1M |
| Prezzo dell’output | $2.5 /1M |
| Provider API | Moonshot, OpenRouter |
Esegui localmente
| VRAM (4-bit) | ~500 GB |
|---|---|
| GPU minima | Server multi-GPU |
What is Kimi K2.7 Code?
Kimi K2.7 Code is Moonshot AI’s open coding model — a 1-trillion-parameter
mixture-of-experts with 32B active parameters, 384 experts across 61 layers, tuned
specifically for agentic software engineering. It has a 256K context, ships under a
modified-MIT licence, and uses roughly 30% fewer reasoning tokens than its predecessor.
That last figure is the one that pays. In an agentic coding loop the model reasons on
every step, and reasoning tokens are billed as output — so a 30% reduction in tokens spent
thinking is close to a 30% cut in the running cost of the agent, independent of the headline
price. At $0.60 in / $2.50 out per million tokens, K2.7 Code is already an order of magnitude
below frontier coding models; the token efficiency compounds that. The 256K context is
narrower than the 1M offered by several rivals, which matters for whole-repository reasoning
but rarely for the file-and-dependency scope most coding agents actually operate on.
Self-hosting needs around 500 GB at 4-bit, so this is an API model in practice for all but
the largest deployments.
Kimi K2.7 Code pricing: API cost per 1M tokens
| Input (per ogni milione di token) | $0.600 |
|---|---|
| Output (per ogni milione di token) | $2.50 |
| Rapporto output/input | 4.2× |
| Combinato (4:1 in:out) | $0.980 per 1 milione di token |
What Kimi K2.7 Code costs per month
Spesa mensile reale con un mix input-to-output 4:1 — il rapporto effettivamente prodotto da un tipico carico di lavoro basato su chat o RAG.
| Carico di lavoro | Token/mese | Costo/mese |
|---|---|---|
| Progetto secondario | 1 milione in ingresso / 0,25 milioni in uscita | $1.23 |
| Piccolo team | 20 milioni in ingresso / 5 milioni in uscita | $25 |
| Produzione | 200 milioni in ingresso / 50 milioni in uscita | $245 |
Calcola i tuoi numeri personalizzati nel Calcolatore dei costi delle API per l'IA.
Cheaper alternatives to Kimi K2.7 Code
| Modello | Costo combinato ($/1 milione) | Risparmi |
|---|---|---|
| DeepSeek V4-Pro aperta | $0.522 | 47% cheaper |
| DeepSeek V4-Flash aperta | $0.168 | 83% cheaper |
Eseguirlo in autonomia o pagare l’API?
Kimi K2.7 Code is open-weight, so you can run it yourself. It needs ~500 GB of VRAM at 4-bit (Multi-GPU server). Self-hosting only beats the API once your volume is high enough to keep that hardware busy — the calcolatore self-hosting vs API calcola il punto di pareggio in base al tuo volume di token.
Domande frequenti
How much does Kimi K2.7 Code cost per 1M tokens?
Kimi K2.7 Code costs $0.600 per 1M input tokens and $2.50 per 1M output tokens. At a typical 4:1 input-to-output mix that blends to about $0.980 per 1M tokens.
How much does Kimi K2.7 Code cost per month?
A small-team workload of 20M input and 5M output tokens a month costs about $25 on Kimi K2.7 Code. A side project (1M in / 0.25M out) costs roughly $1.23.
What is a cheaper alternative to Kimi K2.7 Code?
DeepSeek V4-Pro is the strongest cheaper option in our database at $0.522 per 1M blended — about 47% less than Kimi K2.7 Code. It is also open-weight, so self-hosting is an option.
Can I run Kimi K2.7 Code locally?
Yes. Kimi K2.7 Code is open-weight and needs about ~500 GB of VRAM at 4-bit quantisation (Multi-GPU server).
Why does Kimi K2.7 Code charge more for output than input?
Output tokens are generated one at a time and cannot be batched the way a prompt can, so they cost the provider more to serve. Kimi K2.7 Code charges 4.2× more for output, which is why prompt-heavy workloads are far cheaper to run than generation-heavy ones.
I prezzi indicati sono le tariffe ufficiali pubblicate per l'API principale del modello e vengono aggiornati man mano che i fornitori li modificano. Sconti per volumi elevati, elaborazione batch e input memorizzati nella cache non sono inclusi. Confronta tutti i modelli fianco a fianco nel Database di modelli IA o il Classifica LLM.
