Kimi K2.7 Code Highspeed

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

Lower-latency Kimi Code variant for interactive edits and coding-agent loops

Benchmark Pricing$1.90 / 1M in$8.00 / 1M out$0.38 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 Highspeed 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.

API CALL INVOCATION EXAMPLE

// Example: Calling Kimi K2.7 Code Highspeed 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-highspeed",
  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-highspeed
$1.90 / $8.00$0.38 cache
NanoGPTmoonshotai/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.32 cache
LLM Gatewaytencent/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
Tempr Gatewaymoonshot/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
AIHubMixkimi-k2.7-code-highspeed
$1.90 / $8.00$0.32 cache
Vercel AI Gatewaymoonshotai/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
Eden AImoonshot/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
Ofoxmoonshotai/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
GMI Cloudmoonshotai/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
Merge Gatewaymoonshot/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
ZenMuxmoonshotai/kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
DevPass (LLM Gateway)kimi-k2.7-code-highspeed
$1.90 / $8.00$0.38 cache
Moonshot AI (China)kimi-k2.7-code-highspeed
$1.94 / $8.07$0.39 cache
CommandCodemoonshotai/Kimi-K2.7-Code-Highspeed
$1.90 / $8.00$0.38 cache
EmpirioLabs AIkimi-k2-7-code-highspeed
$1.90 / $8.00$1.90 cache

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

Prompt Caching Active

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