Kimi K2 0711

Moonshot AIMCP Tool Call
moonshotai/kimi-k2Open Weights

Kimi model for long-context chat, coding, and agentic reasoning

Benchmark Pricing$0.47 / 1M in$2.97 / 1M out$0.10 cache read
Context: 131,072 tokens•Max Output: 98,304 tokens•Knowledge: 2024-12-31•Released: 2025-07-11

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output98,30498.3K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Kimi K2 0711 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 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Kimi K2 0711 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",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

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

PRICING BY PROVIDER

15 providers
Cortecskimi-k2.6
$0.47 / $2.97$0.10 cache
ClinePasscline-pass/kimi-k2.6
$0.95 / $4.00$0.16 cache
Volcengine Ark Coding Plankimi-k2.7-code
$0.00 / $0.00$0.00 cache
NanoGPTkimi-k2-instruct-fast
$0.40 / $1.80$0.20 cache
GreenPTkimi-k2.6
$0.75 / $4.28$0.25 cache
OpenCode Gokimi-k2.7-code
$0.95 / $4.00$0.19 cache
TokenGomoonshotai/kimi-k2.6
$0.95 / $4.00$0.16 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.6
$1.00 / $4.16$0.18 cache
Novita AImoonshotai/kimi-k2.5
$0.60 / $3.00$0.10 cache
ai&moonshotai/kimi-k2.7-code
$0.75 / $3.50$0.20 cache
Lilacmoonshotai/kimi-k2.6
$0.70 / $3.50$0.20 cache
302.AIkimi-k2.5
$0.63 / $3.30
LLM Gatewaynovita/kimi-k2
$0.57 / $2.30

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

Prompt Caching Active

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