Skip to model information

Kimi K2.7 Code

Available

A Moonshot AI model with a 256K-token context window, image input and tool calling. On the Kimi Open Platform API since June 12, 2026.

Access details: Kimi Open Platform API

The model ID to use in API requests.

kimi-k2.7-code

Open weights on Hugging Face: moonshotai/Kimi-K2.7-Code

Updated Oct 1, 2026

Capabilities & limits

Context window
256K
Maximum output
Not published
Image input
Supported
Tool calling
Supported
Structured output
Supported

Pricing

USD / 1M tokens
Input
$0.95
Output
$4.00

Standard rates per million tokens. Discounts and long-context rates, where offered, are on Moonshot AI's pricing page.

Full rate card 6 rates

All prices in USD.

Input tokens (cache miss)

$0.95 per 1M tokens

Cached input tokens

$0.19 per 1M tokens
  • cache hit

Output tokens

$4.00 per 1M tokens

Batch input tokens (cache miss)

$0.57 per 1M tokens
  • Batch API

Batch cached input tokens

$0.114 per 1M tokens
  • Batch API
  • cache hit

Batch output tokens

$2.40 per 1M tokens
  • Batch API

Prices exclude applicable taxes. Batch API cost is 60% of standard.

Price history
Oct 1, 2026

Input $0.95 per million tokens

Oct 1, 2026

Output $4.00 per million tokens

Technical details

Parameters
1T
Active parameters
32B
Architecture
Mixture-of-Experts (MoE)
Training / knowledge cutoff
Not published
Input modalities
Text, image, video
Output modalities
Text

How they describe it

Kimi's dedicated coding model.

What they say is new

reducing overthinking tendencies by 30% on average

Release & lifecycle

First available
Jun 12, 2026
available
As of Oct 1, 2026

Considering a switch?

Specs only go so far. Try both on your own tasks and compare quality, speed and cost.

Compare with Grok Build 0.1 →

Prices and availability as of October 20, 2026. Moonshot AI's own pages have the latest.