Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for moonshotai

MoonshotAI: Kimi K2.7 Code

moonshotai/kimi-k2.7-code

Model weights
Compare

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts architecture that accepts text and image input, and it always operates in a thinking mode, preserving full reasoning content across multi-turn conversations. With a 256K-token context window, it targets long-horizon coding, agentic task decomposition, and multi-turn dialogue. The model activates 32B parameters out of roughly 1T total.

Modalities

In / Out Price

$0.67 / $3.40per 1M

Context

262K

Released

Jun 12, 2026

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQ

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

About MoonshotAI: Kimi K2.7 Code

OpenRouter makes MoonshotAI: Kimi K2.7 Code available through a unified, OpenAI-compatible API using the model ID moonshotai/kimi-k2.7-code. Requests can be routed across 14 providers, including Inceptron, DeepInfra, Ambient, CoreWeave, Venice, Parasail, ModelRun [by Modular], SiliconFlow and 6 more, with automatic failover when an endpoint is unavailable.

MoonshotAI: Kimi K2.7 Code accepts text and images and returns text. It has a 262,144-token context window and a maximum output of 262,144 tokens.

On OpenRouter, MoonshotAI: Kimi K2.7 Code costs $0.67/M input tokens and $3.40/M output tokens, with separate rates for Cache Read at $0.17/M tokens. Effective pricing can be lower when prompt caching applies. It was released on June 12, 2026.

More models from MoonshotAI

  • Kimi K3
  • Kimi K2.6
  • Kimi K2.5

Frequently asked questions

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts architecture that accepts text and image input, and it always operates in a thinking mode, preserving full reasoning content across multi-turn conversations.

Kimi K2.7 Code costs $0.67/M input tokens and $3.40/M output tokens, with separate rates for Cache Read at $0.17/M tokens.

Kimi K2.7 Code has a 262,144 token context window. It supports up to 262,144 completion tokens.

Yes. Kimi K2.7 Code accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

Kimi K2.7 Code accepts text and images as input and returns text.

Kimi K2.7 Code is served by 14 providers on OpenRouter: Inceptron, DeepInfra, Ambient, CoreWeave, Venice, Parasail, ModelRun [by Modular], SiliconFlow and 6 more. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

Kimi K2.7 Code was released on June 12, 2026.

$0.67$3.40$0.170.74s54 tps
99.88%
$0.68$3.40$0.1360.72s16 tps
97.12%
$0.69$3.49$0.141.26s45 tps
94.17%
$0.71$3.50$0.150.52s250 tps
99.75%
$0.75$3.50$0.161.76s13 tps
94.78%
$0.76$3.50$0.161.47s46 tps
99.27%
$0.8592$3.80$0.17991.01s49 tps
99.82%
4% off
$0.95$0.912$4.00$3.84$0.19$0.18241.84s25 tps
96.93%
$0.95$4.00$0.191.70s22 tps
98.74%
$0.95$4.00$0.191.02s48 tps
100.00%
$0.95$4.00$0.160.82s56 tps
99.70%
$0.95$4.00$0.190.54s268 tps
86.77%
$0.95$4.00$0.192.88s27 tps
99.94%
$1.90$8.00$0.383.54s24 tps
99.93%
$0.85$3.75$0.160.29s196 tps
96.39%

Throughput

268tok/s

P50, best across providers

Latency

0.29s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
SiliconFlow
86.8%76.0%
Moonshot AI
86.1%75.8%
Inceptron
88.6%73.2%
Moonshot AI Highspeed
87.7%73.8%
Together
85.3%75.7%
ModelRun [by Modular]
83.8%76.1%
+12 more providers
Uptime (3d)

100.00%

Availability (3d)

99.63%

Availability over the last 3 days

Last 72 hours
Availability 99.63%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.56%
Without Routing
94.27%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://nousresearch.com
Hermes Agent
Hermes Agent is an open-source, self-improving AI agent by Nous Research that runs persistently with memory across sessions, and builds reusable skills from experience. It comes with 40+ built-in tools, including web search, browser automation, and vision, plus scheduled automations and subagents.
33.8Btokens
2.
Favicon for https://pi.dev/
pi
There are many coding agents, but this one is yours.
24.6Btokens
3.
Favicon for https://claude.ai/apple-touch-icon.png
Claude Code
Claude Code is Anthropic's agentic coding tool that reads your entire codebase, plans and executes changes across files, runs tests, and iterates on failures, all from natural language prompts.
20.5Btokens
4.
Favicon for https://v12.sh/
V12X
new
18.2Btokens
5.
Favicon for https://kilocode.ai/
Kilo Code
Kilo Code is an open-source AI coding agent that works across VS Code, JetBrains, and CLI to help developers ship code faster with agentic workflows.
10.2Btokens