Kimi K2.7 Code API pricing
23 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.
Refreshed 2026-11-22 · list prices from provider APIs| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context | |
|---|---|---|---|---|---|
| Clf AI Gateway | $0.380 | $1.60output floor | $0.076 | 262K | |
| W&B Inference | $0.600 | $3.00 | $0.120 | 262K | Use |
| OpenRouter marketplace quote | $0.600 | $3.00 | $0.120 | 262K | Use |
| DeepInfra | $0.680 | $3.40 | $0.136 | 262K | Use |
| Aiand | $0.750 | $3.50 | $0.200 | 262K | |
| Inferenceapis | $0.890 | $4.42 | $0.180 | 262K | |
| Cloudflare | $0.950 | $4.00 | $0.190 | 262K | Use |
| Alibaba Model Studio | $0.950 | $4.00 | $0.190 | 229K | Use |
| Qwencloud | $0.950 | $4.00 | $0.190 | 229K | |
| Qwen AI Platform | $0.950 | $4.00 | $0.190 | 229K | |
| Fireworks AI | $0.950 | $4.00 | $0.190 | 262K | Use |
| Moonshot | $0.950 | $4.00 | $0.190 | 262K | Use |
| Nebius | $0.950 | $4.00 | $0.150 | 262K | Use |
| Streamlake | $0.950 | $4.00 | $0.190 | 262K | |
| Tencent | $0.950 | $4.00 | $0.190 | 256K | |
| Novita AI | $0.950 | $4.00 | $0.190 | 262K | Use |
| Azure AI Foundry | $0.950 | $4.00 | $0.190 | 262K | Use |
| Together AI | $0.950 | $4.00 | $0.190 | 262K | Use |
| Baseten | $0.950 | $4.00 | $0.160 | 262K | Use |
| Opencode Go | $0.950 | $4.00 | $0.190 | 262K | |
| Empiriolabs | $0.950 | $4.00 | - | 262K | |
| GMI Cloud | $0.950 | $4.00 | $0.190 | 262K | Use |
| Kyma | $1.01 | $4.77 | - | 262K |
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 $74.60/month, at Clf AI Gateway. 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, the API floor remains below our self-hosting estimate of ~$1.76/1M. Details 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.6 | $0.380 | $1.60 | 21 |
| Kimi K3 | $0.192 | $12.50 | 21 |
| Kimi K3.1 Pro | $0.240 | $8.40 | 13 |
| Kimi K2.5 | $0.450 | $2.25 | 11 |
| Kimi K2 Thinking | $0.600 | $1.20 | 10 |
| Kimi K2 | $0.500 | $2.00 | 10 |
FAQ
What is the cheapest API for Kimi K2.7 Code?
As of 2026-11-22, the lowest input price for Kimi K2.7 Code is Clf AI Gateway at $0.380 per 1M input tokens. The lowest output price is Clf AI Gateway at $1.60 per 1M output tokens. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is W&B Inference at $0.600, a 58% 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