Kimi K2.7 Code API pricing
4 providers serve Kimi K2.7 Code. Kimi K2.7 Code is an open-weight model (Modified MIT) with 1059B total parameters, 32B active per token (mixture-of-experts), up to 262K context. Prices below are per 1M tokens, cheapest input first (self-hosting math further down).
Refreshed 2026-08-23 · list prices from provider APIs| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context | |
|---|---|---|---|---|---|
| OpenRouter marketplace quote | $0.670 | $3.40output floor | $0.170 | 262K | Use |
| Cloudflare | $0.950 | $4.00 | $0.190 | 262K | Use |
| Alibaba Model Studio | $0.950 | $4.00 | $0.190 | 229K | Use |
| Fireworks AI | $0.950 | $4.00 | $0.190 | 262K | Use |
The cheapest way to run Kimi K2.7 Code
On an illustrative 70M-input / 30M-output monthly workload, today's lowest listed cost is roughly $149/month, at OpenRouter. Input-heavy, output-heavy and cache-heavy workloads can produce different winners. Use the live mix calculator below rather than combining floors from two different providers. On output-token cost alone, a busy self-hosted deployment can work out cheaper (~$1.76/1M output on 8× MI300X). See the math below. Run your own numbers in the breakeven calculator, or read the breakeven math.
Your actual monthly cost
Cache read uses the listed cache rate where available; otherwise it falls back to normal input price. Batch, write-cache, volume and negotiated discounts are excluded.
Or run it yourself: Kimi K2.7 Code self-hosting economics
Kimi K2.7 Code is open-weight (Modified MIT), so the API price above competes with the GPU-hour market. 1059B total parameters (MoE, ~32B active per token) needs roughly 1457 GB VRAM at FP8 or 729 GB at INT4, KV-cache headroom included.
Related models
| Model | Cheapest in $/1M | Cheapest out $/1M | Providers |
|---|---|---|---|
| Kimi K2 | $0.500 | $2.00 | 11 |
| Kimi K2 Thinking | $0.600 | $1.20 | 9 |
| Kimi K2.5 | $0.500 | $2.80 | 8 |
| Kimi K2.6 | $0.950 | $4.00 | 6 |
| Kimi K3 | $3.00 | $15.00 | 3 |
| MoonshotAI Kimi Latest | $2.00 | $5.00 | 2 |
FAQ
What is the cheapest API for Kimi K2.7 Code?
As of 2026-08-23, the lowest input price for Kimi K2.7 Code is OpenRouter at $0.670 per 1M input tokens. The lowest output price is OpenRouter at $3.40 per 1M output tokens. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is Cloudflare at $0.950, a 42% difference.
How much VRAM do you need to self-host Kimi K2.7 Code?
Kimi K2.7 Code has 1059B parameters, so plan for roughly 1457 GB of VRAM at FP8 or 729 GB at INT4/AWQ, KV-cache headroom included. That exceeds a single GPU. A typical node is 8× MI300X.
← All models · GPU rental prices · Breakeven calculator · Get this data as JSON