Skip to content
Dashboard

Kimi K2.7 Code High Speed

Kimi K2.7 Code High Speed is the faster-serving variant of Moonshot AI's Kimi K2.7 Code, with the same coding capabilities and a context window of 262.1K tokens, available through AI Gateway via moonshotai, fireworks.

ReasoningTool UseVision (Image)File InputImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'moonshotai/kimi-k2.7-code-highspeed',
prompt: 'Why is the sky blue?'
})

About Kimi K2.7 Code High Speed

Kimi K2.7 Code High Speed is the high-speed serving tier for Kimi K2.7 Code, Moonshot AI's coding-focused agentic model. The weights and capabilities are the same; the difference is how fast the endpoint streams tokens back. Released on June 15, 2026, Kimi K2.7 Code High Speed targets coding-agent scenarios where output speed shapes the experience.

Everything documented for the standard variant carries over. Kimi K2.7 Code High Speed is a Mixture-of-Experts model with one trillion total parameters and 32 billion active per forward pass. Compared with Kimi K2.6, Kimi K2.7 Code High Speed improves coding and agent performance, spends roughly 30% fewer thinking tokens, and follows instructions better across long-horizon sessions. Native image and video input is included, and thinking mode stays always on.

Serving speed counts when a human is in the loop. Interactive coding assistants stream code while a developer watches, and edit-run-fix cycles repeat dozens of times per session. Faster output compounds across every one of those turns. Real-world speed varies with load, context length, and routing, so check the live throughput and latency metrics on this page instead of relying on published peaks.

Switching from the standard variant is a model-string change. Set the model to moonshotai/kimi-k2.7-code-highspeed and keep the rest of your integration: the AI SDK, Chat Completions, Responses, Messages, and other API formats all work through AI Gateway, which routes across moonshotai, fireworks with automatic failover.

Kimi K2.7 Code High Speed supports a context window of 262.1K tokens and completions up to 32.8K tokens per request. Pricing through AI Gateway is $1.90 per million input tokens and $8 per million output tokens, with cached input at $0.38 per million tokens.