Kimi K2.7 Code

Moonshot AIMCP Tool CallReasoning
moonshotai/kimi-k2.7-codeOpen Weights

Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking

Benchmark Pricing$0.95 / 1M in$4.00 / 1M out$0.19 cache read
Context: 262,144 tokens•Max Output: 262,144 tokens•Knowledge: 2025-01•Released: 2026-06-12

TECHNICAL SPECIFICATIONS

Context Window262,144262.1K tokens
Max Output262,144262.1K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
TextVisionVideo
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Kimi K2.7 Code natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 262,144 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

Kimi Code BenchUnit not reported
62
Program BenchUnit not reported
53.6
MLS Bench LiteUnit not reported
35.1
MCP Atlassuccess rate
76
MCP Mark Verifiedsuccess rate
81.1
Kimi Claw 24/7 BenchUnit not reported
46.9

API CALL INVOCATION EXAMPLE

// Example: Calling Kimi K2.7 Code via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.MOONSHOTAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "moonshotai/kimi-k2.7-code",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
Moonshot AIkimi-k2.7-code
$0.95 / $4.00$0.19 cache
Cortecskimi-k2.7-code
$0.66 / $3.30$0.18 cache
ClinePasscline-pass/kimi-k2.7-code
$0.95 / $4.00$0.19 cache
Volcengine Ark Coding Plankimi-k2.7-code
$0.00 / $0.00$0.00 cache
NanoGPTTEE/kimi-k2.7-code
$0.95 / $4.00$0.19 cache
GreenPTkimi-k2.7-code
$0.86 / $4.32$0.22 cache
OpenCode Gokimi-k2.7-code
$0.95 / $4.00$0.19 cache
Jalapeno CloudKimi-K2.7-Code
$0.95 / $4.00$0.19 cache
Charm Hyperkimi-k2.7-code
$1.03 / $4.36$0.21 cache
GitHub Copilotkimi-k2.7-code
$0.95 / $4.00$0.19 cache
CrossModelmoonshot/kimi-k2.7-code
$1.00 / $4.16$0.18 cache
Novita AImoonshotai/kimi-k2.7-code
$0.95 / $4.00$0.19 cache
ai&moonshotai/kimi-k2.7-code
$0.75 / $3.50$0.20 cache
Synthetichf:moonshotai/Kimi-K2.7-Code
$0.95 / $4.00$0.95 cache
302.AIkimi-k2.7-code
$0.95 / $4.00

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.19 / 1M tokens, saving up to 80% on repetitive MCP tool definitions and system instructions.