MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...
At a glance
- Context window
- 262Ktokens
- Max output
- 236Ktokens
- Knowledge to
- —
- Released
- 2026
Capabilities
Benchmarks
- Intelligence index
- 26
- Coding index
- 61
- Agentic index
- 23
Design Arena
| Category | Elo | Win rate |
|---|---|---|
| models · uicomponent | 1,282 | 52.6 |
| models · website | 1,280 | 52.5 |
| models · codecategories | 1,271 | 51.2 |
| models · 3d | 1,269 | 51.2 |
| models · gamedev | 1,243 | 48.6 |
| models · dataviz | 1,238 | 49.4 |
| models · asciiart | 1,220 | 49 |
| models · svg | 1,208 | 47.6 |
Standard evaluations
| Benchmark | Score | Tasks |
|---|---|---|
| gpqa_diamond | 0.81 | 2,103 |
| tau_bench_verified_airline | 0.72 | 600 |
Source: Artificial Analysis, Design Arena · as of Sep 16, 2026
Performance
Reference uptime
100%
Median latency
1,251 ms
Throughput
47.8 tok/s
IranRouter uptime comes from our own automated probes; the reference figures are daily measurements of this model's upstream routes. Each card shows a 30-day average, and a day without data stays empty.
Popularity
- Current rank
- —
- Rank change, 7 days
- —
Daily tokens · 90 days
25.4B
Ranked by daily token volume across the global model market; the figure above the chart is the daily average.
Supported parameters
Parameters this model accepts; anything else is ignored.
Quick start
from openai import OpenAI
client = OpenAI(
api_key="ir-...",
base_url="https://iranrouter.com/v1",
)
resp = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code",
messages=[{"role": "user", "content": "سلام!"}],
)
print(resp.choices[0].message.content)Only base_url and the key change; the rest of your code stays as it is.