Kimi K2.7 Code
Save 70%Relaymoonshot/kimi-k2.7-code
Kimi K2.7 Code — Moonshot AI's coding-focused model built for agentic software work.
- Context window
- 262K
- Max output
- 131K
- Input modalities
- text · image
- Output modalities
- text
- Capabilities
- Vision · Reasoning · Tool calling · Coding · Prompt cache · Strip Sampling Params
- Upstream release
- 2026-06-12
- RouteMux name
- moonshot/kimi-k2.7-code
Try Kimi K2.7 Code here
Tune the request, see the current price ceiling, and inspect the real response without leaving this model page.
Sign in first to upload images to this vision model.
Your result will appear here
Enter an input on the left. The same RouteMux Playground execution and billing path powers this embedded test.
Kimi K2.7 Code API pricing
Source: official_x0.3 · Verified 2026-09-23
Cache read $0.057/M · Cache write —/M
Estimate cost
Limited time20% extra Credits on your first top-up — up to 200 bonus Credits
Applies to your first top-up within 72 hours of signing up. Minimum $20, once per account.
Key capabilities
Interface and protocols
Use any of these IDs to call this model via the API.
moonshot/kimi-k2.7-codeReplace the ROUTEMUX_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.routemux.com/v1",
api_key="<ROUTEMUX_KEY>",
)
completion = client.chat.completions.create(
model="moonshot/kimi-k2.7-code",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)Performance (last 30 days)
Kimi K2.7 Code FAQ
›What is Kimi K2.7 Code?
Kimi K2.7 Code — Moonshot AI's coding-focused model built for agentic software work.
›How large is the context window of Kimi K2.7 Code?
Kimi K2.7 Code supports a context window of up to 262K tokens, with up to 131K output tokens per request.
›How much does the Kimi K2.7 Code API cost?
Through RouteMux, Kimi K2.7 Code costs $0.285 for input and $1.2 for output (USD per 1M tokens), below the official list price.
›How do I call Kimi K2.7 Code via API?
Kimi K2.7 Code is OpenAI-compatible: point your base URL at RouteMux and set the model field to moonshot/kimi-k2.7-code — no code changes needed.
›Which input and output modalities does Kimi K2.7 Code support?
Kimi K2.7 Code accepts text, image as input and produces text as output.
›When was Kimi K2.7 Code released?
Kimi K2.7 Code was released on June 12, 2026.