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.

Key info

Input
Output
Features
Context window
262K
Max output
262K
Input price
$0.97 /1M
Output price
$4.02 /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, ZDR, and training posture at a glance — full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutput
MultiEnterpriseNo$0.97$4.02
MultiEnterpriseNo$0.95$4.00
EUEnterpriseNo$0.67$3.40
EUEnterpriseNo$0.95$4.00
USEnterpriseNo$0.95$4.00
EUZero data retentionNo$1.25$4.50

Uptime and availability

Kimi K2.7 Code runs on 4 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 98.93% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
4 monitored providers serve Kimi K2.7 Code.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. 2 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 Germany🇩🇪

Zero data retention is available via Opper Enterprise contract. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
SCCs

Fireworks United States🇺🇸

Zero data retention is available via Opper Enterprise contract. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
None
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
SCCs

Inceptron Sweden🇸🇪

Zero data retention is available via Opper Enterprise contract. No training on customer data. EU; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Nebius Finland🇫🇮

Zero data retention is available via Opper Enterprise contract. No training on customer data. EU; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
Provider may share with subprocessors / partners
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Novita United States🇺🇸

Zero data retention is available via Opper Enterprise contract. No training on customer data. US; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
SCCs

TensorX European Union🇪🇺

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; DPA available.

Zero data retention
On by default on Pay-as-you-go.
Training
No training on customer data.
Logging
None
Third-party access
None disclosed
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#64 of 603 LLMs
TierStrong
Output speed43 tok/s
First token1.16s
Intelligence Index43.0
Coding Index60.8
Reasoning & knowledge
GPQA Diamond
90%
Humanity's Last Exam
35%
Long-context reasoning
75%
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. Let your coding agent set it up, or call it directly — Opper is drop-in compatible with the OpenAI, Anthropic, and Google AI SDKs.

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: "alibaba:global/kimi-k2.7-code",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

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. Every major provider. Up and running in minutes.

Get startedView Documentation