Kimi K2.7 Code is Moonshot AI's strongest coding model to date - a coding-focused agentic model built on Kimi K2.6, with a 1T-parameter Mixture-of-Experts architecture (32B active per pass) and a 256K-token context window. It delivers substantial gains on real-world long-horizon coding: stronger end-to-end task completion across complex software-engineering workflows, while cutting thinking-token usage by roughly 30% versus K2.6 for better token efficiency. The model is natively multimodal via the MoonViT vision encoder, accepting text, image, and video inputs with text output, and runs with thinking always on for deep agentic reasoning. It is purpose-built for autonomous coding agents and long-horizon software work - large multi-file changes, production-grade engineering tasks, and multi-step tool use - and integrates cleanly with agent harnesses and coding-agent frameworks.
OpenAI-compatible — keep the SDK you already use
https://api.orcarouter.ai/v1from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="kimi/kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyreasoningresponse_formatseedstopstreamstructured_outputstemperaturetool_choicetoolstop_logprobstop_p| Input / 1M tokens | $0.950 |
| Output / 1M tokens | $4.00 |
| Cache read / 1M | $0.190 |
| Currency | USD |
Estimate based on list price
Estimate only — actual token counts depend on the provider's tokenizer.
GET /api/public/models/kimi/kimi-k2.7-codeOpen @misc{orcarouter_kimi_k2_7_code,
title = {Kimi K2.7 Code API},
author = {MoonshotAI},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/kimi/kimi-k2.7-code}
}MoonshotAI. (2026). Kimi K2.7 Code API. OrcaRouter. https://www.orcarouter.ai/models/kimi/kimi-k2.7-code