kimi-k2.7-code
Code model by Moonshot.
kimi-k2.7-code is a code model made by Moonshot, served on nRouter. It has a 256K-token context window.
Context window
Maximum input context length.
256K
Maker
Moonshot
Specifications
Context window, ranked against other code models
Proportional scale: 0 to 256K tokens. Not ranked, no published context window: qwen3-coder-flash.
256.0K
tokens—
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
FAQs
What is kimi-k2.7-code?
kimi-k2.7-code is a code model made by Moonshot, served on nRouter. It has a 256K-token context window.
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".
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 have?
Other Moonshot text models on nRouter include Kimi K2 Thinking (nrouter.ai/models/kimi-k2-thinking), Kimi K2.5 (nrouter.ai/models/kimi-k2.5), Kimi K2 Thinking (nrouter.ai/models/kimi-k2-thinking-maas), Kimi K3 (nrouter.ai/models/kimi-k3).