Home › Providers › moonshotai › MoonshotAI: Kimi K2.7 Code

MoonshotAI: Kimi K2.7 Code API Pricing

MoonshotAI: Kimi K2.7 Code is an API model from moonshotai. It costs $0.6712 per 1M input tokens and $3.35 per 1M output tokens, with cached input at $0.18. Its context window is 262,144 tokens with up to 235,929 output tokens. A workload of 10M input + 2M output tokens costs about $13.41 per month. The official moonshotai list price is $0.95 input / $4 output per 1M tokens, which differs from the catalog price tracked here.
Input
$0.6712
per 1M tokens
Output
$3.35
per 1M tokens
Cached input
$0.18
per 1M tokens
Context window
262K
262,144 tokens
Blended (80/20)
$1.207
per 1M tokens

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...

How much does MoonshotAI: Kimi K2.7 Code cost for a real workload?

At 10M input + 2M output tokens per month, MoonshotAI: Kimi K2.7 Code costs about $13.41 ($6.712 input + $6.7 output). Try your own volumes in the cost calculator.

What is the official MoonshotAI: Kimi K2.7 Code price?

Official (moonshotai)Catalog (OpenRouter)
Input /1M$0.95$0.6712
Output /1M$4$3.35
Cached input /1M$0.19$0.18

Differs from the official list price. The catalog tracks routed prices, which can sit below (or above) the provider's own list price. Source: moonshotai official pricing page, checked 2026-10-21.

What are cheaper alternatives to MoonshotAI: Kimi K2.7 Code?

Compare MoonshotAI: Kimi K2.7 Code with other models

MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K2 0711MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K2.5MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K2 ThinkingMoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K2 0905MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K2.6MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K3

Frequently asked questions

How much does MoonshotAI: Kimi K2.7 Code cost?

MoonshotAI: Kimi K2.7 Code costs $0.6712 per 1M input tokens and $3.35 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $13.41.

What is the context window of MoonshotAI: Kimi K2.7 Code?

MoonshotAI: Kimi K2.7 Code has a context window of 262,144 tokens and can return up to 235,929 output tokens per response.

What are cheaper alternatives to MoonshotAI: Kimi K2.7 Code?

Cheaper models include Relace: Relace Search ($1 in / $3 out), Nous: Hermes 4 405B ($1 in / $3 out), Pareto 26.10 ($0.8 in / $3.2 out). See the full list on this page.

Is MoonshotAI: Kimi K2.7 Code free to use?

No. MoonshotAI: Kimi K2.7 Code is a paid model at $0.6712 input / $3.35 output per 1M tokens. 20 free models are listed on the free models page.

What is the official price of MoonshotAI: Kimi K2.7 Code?

On moonshotai's official pricing page (checked 2026-10-21), MoonshotAI: Kimi K2.7 Code is listed at $0.95 per 1M input tokens and $4 per 1M output tokens. The catalog price tracked on this page differs from it — see the comparison table on this page.

Provider: moonshotai · Model ID: moonshotai/kimi-k2.7-code · Modality: text+image->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices