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?'
})

Playground

Try out Kimi K2.7 Code High Speed by Moonshot AI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

moonshotai logo
moonshotai logo

Ask Kimi K2.7 Code High Speed anything to try it out.

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Moonshot AI
262K
2.5s
212tps
$1.90/M$8.00/M
Read:$0.38/M
Write:—
——
+3
06/15/2026
Fireworks
262K
0.8s
107tps
$1.90/M$8.00/M
Read:$0.38/M
Write:—
——
+3
06/15/2026
Throughput

P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.

Latency

P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.

Uptime

Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.

More models by Moonshot AI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
262K
1.0s
156tps
$0.74/M$3.50/M
Read:$0.15/M
Write:—
——
+3
baseten logo
deepinfra logo
fireworks logo
+1
06/12/2026
262K
0.2s
147tps
$0.95/M$4.00/M
Read:$0.16/M
Write:—
——
+2
baseten logo
fireworks logo
moonshotai logo
+2
04/20/2026
262K
0.6s
81tps
$0.60/M$3.00/M
Read:$0.1/M
Write:—
——
+2
baseten logo
bedrock logo
fireworks logo
+2
01/26/2026
216K
0.7s
49tps
$0.47/M$2.00/M
Read:$0.14/M
Write:—
——
+1
deepinfra logo
11/06/2025
131K
1.4s
37tps
$0.57/M$2.30/M——
novita logo
07/11/2025

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.

What To Consider When Choosing a Provider

  • Configuration: Kimi K2.7 Code High Speed serves the same underlying model as Kimi K2.7 Code, so output quality doesn't change; you're paying for faster serving. Compare $1.90 per million input tokens and $8 per million output tokens against the standard variant's rates before committing high-volume traffic. Thinking mode is always on, so reasoning tokens still count toward output. Throughput varies with load and context length; the live metrics on this page show measured numbers rather than published peaks.
  • Zero Data Retention: AI Gateway supports Zero Data Retention for this model via direct gateway requests (BYOK is not included). To configure this, check the documentation.
  • Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.

When to Use Kimi K2.7 Code High Speed

Best For

  • Interactive coding assistants: Streaming code to a developer who's watching, where slow generations stall the session
  • Tight iteration loops: Edit-run-fix cycles that repeat dozens of times, so output speed compounds across turns
  • Latency-sensitive coding agents: Long-horizon agents that need Kimi K2.7 Code quality under a response-time budget
  • Drop-in speed upgrade: Teams on Kimi K2.7 Code that want faster serving with identical model behavior

Consider Alternatives When

  • Cost-sensitive workloads: Kimi K2.7 Code serves the same weights at standard rates when throughput isn't the constraint
  • Batch or offline pipelines: Faster serving adds little value when no one is waiting on the stream
  • Work beyond code: Kimi K2.6 covers broader design-with-code and general multimodal workflows
  • Optional thinking mode: A non-thinking Kimi K2 variant skips always-on reasoning when deliberation doesn't help

Conclusion

Kimi K2.7 Code High Speed gives you Kimi K2.7 Code without the wait. When the coding quality is right and output speed is the remaining bottleneck, swap the model string and check the live metrics on this page to see what you gain.