Kimi K2 Instruct

Moonshot AIMCP Tool Call
moonshotai/kimi-k2-instructOpen Weights

Non-thinking Kimi K2 MoE instruction model for coding and tool-using agents

Benchmark Pricing$0.40 / 1M in$1.80 / 1M out$0.20 cache read
Context: 131,072 tokens•Max Output: 32,768 tokens•Released: 2025-07-11

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output32,76832.8K tokens
LicenseModified MITSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

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

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

PRICING BY PROVIDER

6 providers
NanoGPTkimi-k2-instruct-fast
$0.40 / $1.80$0.20 cache
Novita AImoonshotai/kimi-k2-instruct
$0.57 / $2.30
IO.NETmoonshotai/Kimi-K2-Instruct-0905
$0.57 / $2.30$0.28 cache
Vercel AI Gatewaymoonshotai/kimi-k2
$0.57 / $2.30
Alibaba (China)moonshot-kimi-k2-instruct
$0.57 / $2.29
Jiekou.AImoonshotai/kimi-k2-instruct
$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.20 / 1M tokens, saving up to 50% on repetitive MCP tool definitions and system instructions.