Kimi K2.7 Code pricing, context window and limits
Kimi K2.7 Code costs $0.95 per million input tokens and $4 per million output tokens at Moonshot AI list price. It accepts up to 262,144 tokens of context and returns up to 262,144 tokens.
- Model id
kimi-k2.7-code - Snapshot
What does Kimi K2.7 Code cost?
| Input | $0.95 |
|---|---|
| Output | $4 |
| Cached input (read) | $0.19 |
| Cache write | — |
US dollars per million tokens. A dash means no price is published.
How much can Kimi K2.7 Code read and write?
| Context window | 262,144 |
|---|---|
| Max output | 262,144 |
What can Kimi K2.7 Code do?
| Vision (image input) | Yes |
|---|---|
| Tool calling | Yes |
| Structured output | Yes |
| Reasoning | Yes |
| Input | text, image, video |
| Output | text |
What does a request to Kimi K2.7 Code cost?
| A typical request: 1,000 tokens in, 500 out | $0.0029 |
|---|---|
| A long request: 10,000 tokens in, 1,000 out | $0.013 |
| 1,000 typical requests | $2.95 |
| 1 million tokens in and 1 million out | $4.95 |
Input read from the provider's prompt cache costs $0.19 per million tokens instead of $0.95, 80% less. A request that repeats a 1,000-token prompt from the cache costs $0.0022 instead of $0.0029.
Among 4 Moonshot AI models with a published price, Kimi K2.7 Code is the cheapest by input price. Its context window is the 2nd largest of 4. List prices only; discounts, batch prices and prices above 200K tokens are not shown.
How do I call Kimi K2.7 Code through DVARA?
Configure the moonshot provider in the DVARA LLM Gateway and send the model id kimi-k2.7-code. DVARA, the AI governance platform, applies your policies, audit and cost attribution to the call. See LLM cost attribution and budgets.
In DVARA, if you haven't set your own price for a model, its calls are costed at the price in the catalogue that ships with your DVARA version. A price you set in Flightdeck always wins. You can switch catalogue prices off. Then a model with no price you set is counted as costing nothing. Every cost record says which price it used.
Which other Moonshot AI models are there?
- Kimi K2.6$0.95 in · $4 out · 262K context
- Kimi K2.7 Code HighSpeed$1.9 in · $8 out · 262K context
- Kimi K3$3 in · $15 out · 1.05M context
Which models from other providers are similar to Kimi K2.7 Code?
These are the closest in context window and input price, one per provider.
- Grok Build 0.1xAI Grok · $1 in · $2 out · 256K context
- Qwen3-Coder 480B-A35B InstructAlibaba Qwen · $0.861 in · $3.441 out · 262K context
- Nova Pro (EU)Amazon Bedrock · $0.92 in · $3.68 out · 300K context
- GLM-5Zhipu GLM · $1 in · $3.2 out · 205K context
- Claude Haiku 4.5 (latest)Anthropic · $1 in · $5 out · 200K context