Kimi K2.7 Code
Code model by Moonshot AI.
Moonshot specialized code generation and software development model. Optimized for code synthesis, analysis, and multi-language programming.
Context window
Maximum input context length.
256K
Maker
Moonshot AI
Specifications
Context window, ranked against other code models
Proportional scale: 0 to 256K tokens. Not ranked, no published context window: qwen-coder-plus, qwen3-coder-plus-2025-07-22, qwen3-coder-next, qwen3-coder-480b-a35b-instruct, qwen3-coder-flash, qwen3-coder-plus-2025-09-23.
256.0K
tokens—
code
Benchmarks & performance rankings
Empirical intelligence benchmarks and category leaderboard placements for Kimi K2.7 Code.
Pricing
Rates are read live
Pricing for kimi-k2.7-code is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.
Availability
Not enough data yet
We have not collected enough health probes for this model to publish an uptime or latency figure. A percentage from a handful of samples is fabricated precision, so none is shown until the sample count supports one.
How Kimi K2.7 Code is billed
Billed at the provider's list price, with no per-token markup.
- Exact list price
- Tokens settle at the published rate of the model that served your call.
- Cache discounts passed through
- Provider prompt-caching discounts reach your balance with no added fee.
- Cost on every response
- Each response carries the
x-nr-request-costheader, so you can reconcile spend per request.
More from Moonshot AI
FAQs
What is Kimi K2.7 Code?
Moonshot specialized code generation and software development model. Optimized for code synthesis, analysis, and multi-language programming.
How much does Kimi K2.7 Code cost?
Kimi K2.7 Code is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.
What is the context length of Kimi K2.7 Code?
Kimi K2.7 Code supports a 256,000-token context window.
Does Kimi K2.7 Code support tool calling and structured outputs?
Yes. Kimi K2.7 Code supports tool calling (function calling), so it can invoke external tools and APIs during a conversation.
What inputs and outputs does Kimi K2.7 Code support?
Kimi K2.7 Code takes text as input and returns text as output.
How do I use Kimi K2.7 Code via nRouter?
Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "dashscope/kimi-k2.7-code".
When was Kimi K2.7 Code released?
Kimi K2.7 Code was released on October 6, 2026.
Where is the Kimi K2.7 Code documentation?
Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.
What other text models does Moonshot AI have?
Other Moonshot AI text models on nRouter include Kimi K2.6 (nrouter.ai/models/moonshotai-kimi-k2.6), Kimi K2.5 (nrouter.ai/models/kimi-k2.5), Kimi K3 (nrouter.ai/models/moonshotai-kimi-k3), Kimi K2 Thinking (nrouter.ai/models/kimi-k2-thinking).