Kimi K2.7 Code
Kimi K2.7 Code is a Moonshot AI model listed in the NextModel catalog for agentic coding, code review, long-context refactors workloads. Its listed price is ¥6.93 / 1M tokens input and ¥32.76 / 1M tokens output per 1M tokens, with a 128k token context window.
What is Kimi K2.7 Code in NextModel?
Kimi K2.7 Code is a Moonshot AI model listed in the NextModel catalog for agentic coding, code review, long-context refactors workloads. Its listed price is ¥6.93 / 1M tokens input and ¥32.76 / 1M tokens output per 1M tokens, with a 128k token context window.
Best use cases
- agentic coding
- code review
- long-context refactors
OpenAI-compatible code example
Keep the OpenAI SDK style, set base_url to NextModel, and use the catalog model ID kimi-k2-7-code.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="kimi-k2-7-code",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)Similar alternatives
Doubao Seed 2.0 Code is Volcengine's coding-focused variant, onboarded through the Volcengine Agent Plan for agentic and long-context coding workloads.
Kimi K2.6 is Moonshot AI's general-purpose model, available only through the Volcengine Agent Plan (no public ARK price list); its listed price tracks the OpenRouter reference rate for the same model.
Qwen3 Coder Plus is Alibaba's proprietary version of the Open Source Qwen3 Coder 480B A35B. It is a powerful coding agent model specializing in autonomous programming via tool calling and...
FAQ
Kimi K2.7 Code API questions
What is Kimi K2.7 Code best for?
Agentic coding and long-context code review tasks.
How is Kimi K2.7 Code priced through NextModel?
¥6.93 per 1M input tokens and ¥32.76 per 1M output tokens, tracking Moonshot's OpenRouter reference rate.