Kimi K2.7 Code
Language Deprecated Full comparison ↗ moonshot/kimi-k2.7-code · by Moonshot AI
· mixture-of-experts
· Built on Kimi K2.6
Pricing — 1 offering(s)
About this offering: Deprecated: Moonshot is retiring the whole K2 series, K2.7 Code included. From 31 October 2026 it's closed to newly registered Kimi API users (existing users aren't affected), and Moonshot plans to retire it by the end of December 2026, with Kimi K3.1 Pro as the migration target. Moonshot gave no exact date, so prices are listed through 30 December 2026.
Input tokens
- $0.95 / 1M tokens (input) Current 2026-06-12 → 2026-12-30
Cached input tokens
- $0.19 / 1M tokens (cached input) Current 2026-06-12 → 2026-12-30
Output tokens
- $4.00 / 1M tokens (output) Current 2026-06-12 → 2026-12-30
Showing the active price and any recorded history. Full pricing history is available via the paid API — see API docs.
See how Kimi K2.7 Code fits into a cost-aware routing setup
See how →Capability profile
How Kimi K2.7 Code rates across core capability dimensions, with the task-level evidence behind each rating.
SWE-bench Verified (500 human-verified GitHub issues; patch must pass the repo's own tests; no file-location hints): resolves 78.2% — fails roughly 1 issue in 5. Independent (Vals AI leaderboard, #18 of 72; mini-SWE-agent harness).
262,144-token context window, per Moonshot's own model docs.
37.4 output tokens/sec, rank #55/107 — Artificial Analysis describes it as "notably slow." Same source, confirmed 2026-08-19.
$0.22 cost per Artificial Analysis Intelligence Index task, rank #22/107. Same source, confirmed 2026-08-19.
Ratings are estimated — limited independent data is available for this model.
Coding benchmarks
View the full coding benchmark leaderboard →| Benchmark | Score | Harness | Source |
|---|---|---|---|
| swe-bench-verified ↗ | 78.2% 2026-06 | mini-swe-agent | 📊 leaderboard ↗ |
| terminal-bench-2-1 | 67.4% 2026-08 | terminus-2 | 🔬 independent ↗ |
Operator guidance
Deprecated: Moonshot is retiring the K2 series, K2.7 Code included, by the end of December 2026 and closes it to newly registered users from 2026-10-31. Its migration target is Kimi K3.1 Pro, so start new coding integrations there. Until then it's Moonshot's dedicated coding checkpoint, independently confirmed strong on coding via SWE-bench Verified. A "K2.7 Code Highspeed" variant also exists (roughly 2x price, ~180 tok/s output) — not separately tracked in this registry as of this backfill.
Use cases
- Dedicated coding and long-horizon agentic coding tasks
- Cost-sensitive coding workloads (same price as K2.6 despite the specialization)
Limitations
- Capability ratings beyond coding, context window, reasoning, speed and cost-efficiency are unknown: no independent benchmark for tool use, instruction following or multilingual was found (checked 2026-08-19).