Kimi K2.7 Code API Pricing
Kimi K2.7 Code is Moonshot Kimi's coding-specialized model for long-context programming and agent tasks. The official Kimi pricing page lists $0.19/M cache-hit input, $0.95/M cache-miss input, and $4/M output. Pulled directly from platform.kimi.ai.
Run the numbers.
Live calculator pre-loaded with current Kimi K2.7 Code rates. Tweak spend, output mix, or cache assumptions and share the URL to share the calculation.
Real-world presets.
Long-horizon coding
Repository migration
Screenshot-to-code implementation
Developer assistant
Paste text. See tokens. See cost.
This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.
| Model | Input /M | Output /M | Effective blended | Context | Best for |
|---|---|---|---|---|---|
| Kimi K2.7 Code Current | $0.95 cache $0.19 | $4.00 | $0.62 agentic 92/8 | 262K | Long-context coding agents |
| Kimi K2.6 | $0.95 cache $0.16 | $4.00 | $0.60 sibling | 262K | frontier |
| Kimi K2.5 | $0.60 cache $0.10 | $3.00 | $0.41 sibling | 262K | mid |
| GPT-5.4 mini | $0.75 cache $0.07 | $4.50 | $0.54 sibling | 400K | light |
| Grok Build 0.1 | $1.00 cache $0.20 | $2.00 | $0.48 sibling | 256K | coding |
| DeepSeek V4 Flash | $0.14 cache $0.00 | $0.28 | $0.05 sibling | 1M | budget |
Audit links
Frequently asked.
Short answers for teams evaluating Kimi K2.7 Code for coding agents and long-context development workflows.
Q · 01 What is Kimi K2.7 Code's input price? +
$0.95/M for cache-miss input and $0.19/M for cache-hit input. The calculator uses cache hits when you select a cache hit-rate preset.Q · 02 What is Kimi K2.7 Code's output price? +
$4.00/M tokens. Prices exclude applicable taxes, which Kimi says are calculated at checkout based on jurisdiction.