Kimi K2.7 Code

Pick up to 3 models · pricing, context and capabilities · simulate your product cost

Data updated on September 30, 2026· 217 models

MoonshotK2.7 Code

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.

Reasoning estimated
Speed estimated
Input
Output
Context
262 K tokens
Max output
236 K
Input, $ per 1M tokens
$0.656
Output, $ per 1M tokens
$3.30
Cache read, $ per 1M
$0.180
Batch (input / output)
—
Tool calling
Yes
Released
06/12/2026
Knowledge cutoff
2025-01
API id
moonshotai/kimi-k2.7-code

Summary from the data

Kimi K2.7 Code is a Moonshot model available by API since 06/12/2026. It costs $0.656 per million input tokens and $3.30 per million output tokens, accepts 262 K tokens of context and generates up to 236 K tokens per response. Input: text, image; output: text. It has a reasoning mode. It supports tool calling. With 10,000 requests a month of 1,500 input and 400 output tokens it would cost about $23.04 a month.

Compare Kimi K2.7 Code with…

All Moonshot models →

What would your product cost?

Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.

Kimi K2.7 Code
$23.04/mo

The 6 cheapest for this scenario (chat, last 12 months)

  1. 1Lyria 3 Pro Preview Google$0.00
  2. 2Lyria 3 Clip Preview Google$0.00
  3. 3Qwen3.7 Flash Qwen$0.97
  4. 4DeepSeek V4 Flash 0731 DeepSeek$1.55
  5. 5Ministral 3 3B 2512 Mistral$1.90
  6. 6Qwen3.5-Flash Qwen$2.02

Frequently asked questions

How much does Kimi K2.7 Code cost per million tokens?

Kimi K2.7 Code costs $0.656 per million input tokens and $3.30 per million output tokens (USD, list price). Cache read: $0.180. Batch tier: not published.

What context window does Kimi K2.7 Code have?

Kimi K2.7 Code accepts 262 K tokens of context per request and generates up to 236 K tokens per response.

Does Kimi K2.7 Code accept images, audio or files?

Input: text, image. Output: text.

Does Kimi K2.7 Code have a reasoning mode and tool calling?

It has a reasoning mode. It supports tool calling.

When was Kimi K2.7 Code released and what is its knowledge cutoff?

Kimi K2.7 Code has been available by API since 06/12/2026. Knowledge cutoff: 2025-01.

What would an app built on Kimi K2.7 Code cost?

With 10,000 requests a month of 1,500 input and 400 output tokens, Kimi K2.7 Code would cost about $23.04 a month at list price, without cache or batch discounts.

What is the API id of Kimi K2.7 Code?

The id is moonshotai/kimi-k2.7-code. It is the name passed in the model parameter of the API (or on OpenRouter).

Where do the prices come from and how often are they updated?

From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.

What does price per million tokens mean?

It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.

Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.