Kimi K2.7 Code

by Moonshot

Released 53 days after Kimi K2.6 · All Moonshot releases

Kimi K2.7 Code, released June 2026, is Moonshot's coding-specialized variant of the Kimi K2 line, built on the Kimi K2.6 foundation and purpose-built for software engineering rather than general chat. It uses a Mixture-of-Experts architecture with 1 trillion total parameters and 32 billion active per token, drawing on 384 experts with 8 selected plus 1 shared, and it natively handles text, image, and video input through the MoonViT vision encoder. The model is tuned for long-horizon, agentic coding, planning edits, running tools, and debugging across many steps within a 256K token context window. It shares the interleaved thinking and multi-step tool calling design of Kimi K2 Thinking while improving token efficiency, using roughly 30% fewer reasoning tokens than Kimi K2.6 on comparable work, which makes it well suited to extended coding sessions and autonomous engineering workflows. It is released as open weights under a Modified MIT License, with weights published on Hugging Face for self-hosting and fine-tuning.

Call Kimi K2.7 Code on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
262K
Max output
262K
Input price
$0.97 /1M
Output price
$4.03 /1M
Released
  • EU residency available
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Kimi K2.7 Code runs on 6 different routes through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below. In the EU it is served by Inceptron (Sweden) and TensorX (EU multi-region). See every Kimi model hosted in the EU.

ProviderRegionZero data retentionTrainingInputOutputCache read
MultiNo$0.97$4.03Input price
EUNo$0.71$3.30$0.18
MultiNo$0.95$4.00Input price
USNo$0.95$4.00$0.19
MultiNo$0.95$4.00$0.19
EUNo$1.25$4.50$0.31

Live routes and prices as JSON: api.opper.ai/v3/models?q=kimi-k2.7-code

Uptime and availability

Kimi K2.7 Code runs on 3 independently monitored routes through the Opper gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 99.39% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
3 monitored providers serve Kimi K2.7 Code.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. 3 further routes for this model are not on the board yet and are not counted above. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Kimi K2.7 Code has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Alibaba Cloud — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

Inceptron — Sweden🇸🇪

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Nebius — Multi-region

Content is retained: provider logging. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Retained: provider logging.
Training
No training on customer data.
Logging
Other
Abuse monitoring
No classifier
GDPR DPA
DPA available
Transfer mechanism
SCCs

Novita — United States🇺🇸

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
GDPR DPA
DPA available
Transfer mechanism
SCCs

Tencent Cloud — Multi-region

Content is retained: limited debug logs, 30-day retention. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Retained: limited debug logs, 30-day retention.
Training
No training on customer data.
Logging
Limited debug logs (30-day retention)
Abuse monitoring
On by default, holds flagged content
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

TensorX — European Union🇪🇺

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
No classifier
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Benchmarks

Independent benchmark scores — composite indices for reasoning, coding, and math, plus individual eval scores where available.

Global rank#146 of 680 LLMs
TierEfficient
Output speed82 tok/s
First token1.16s
Intelligence Index25.8
Coding Index60.8
Reasoning & knowledge
GPQA Diamond
90%
Humanity's Last Exam
35%
Long-context reasoning
79%
Coding
SciCode
48%
Agentic & tool use
Terminal-Bench Hard
45%
τ²-Bench Telecom
90%
Math & instruction following
IFBench
63%

Get started

Call Kimi K2.7 Code through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Kimi K2.7 Code is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "kimi-k2.7-code",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use Kimi K2.7 Code in your apps

Pick your tool to see how to run it on Kimi K2.7 Code through Opper.

Compare Kimi K2.7 Code with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from Moonshot

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation