apiprice Download 中文

Prices › Moonshot AI Kimi

Kimi K2.7 Code API pricing & setup

kimi-k2.7-code · moonshotai/kimi-k2.7-code

As of 2026-11-19, the cheapest Kimi K2.7 Code channel is Official (Intl): $0.95 input / $4 output per 1M tokens (blended $1.71). Context 262K.

High-speed variant: Kimi K2.7 Code HighSpeed (kimi-k2.7-code-highspeed, priced separately).

→ Kimi hub: all prices, free access, setup

Blended$1.71
Input$0.95
Output$4
Context262K
Max outputUnknownnot published by the vendor · Kimi docs
Listed2026-06-12

Channel comparison (per 1M tokens)

Kimi K2.7 Code: price and access conditions by channel (per 1M tokens)
ChannelBlendedInputOutputCachedAccess & payment (this channel)NotesSource
Official (China)
¥6.5 / ¥27
$1.74$0.973$4.04$0.195Direct access from mainland China: yesAlipay: yesReal-name ID required: yesOverseas card required: no
conditions source2026-10-17

models.dev ✓
platform.moonshot.cn
2026-11-19
Official (Intl)
$0.95 / $4
$1.71$0.95$4$0.19Direct access from mainland China: UnverifiedAlipay: UnverifiedReal-name ID required: UnverifiedOverseas card required: Unverified
models.dev ✓
platform.moonshot.ai
2026-11-19
OpenRouter
$0.95 / $4
$1.71$0.95$4$0.19Direct access from mainland China: yesAlipay: yesReal-name ID required: noOverseas card required: no
conditions source2026-10-17
Original vendor endpoint: Moonshot AI
Quantized min $0.6 / $3 (int4, CoreWeave)
openrouter.ai
2026-11-20

Access & payment conditions are verified per channel (see the column above); unverified never counts as met.

How to use Kimi K2.7 Code in Claude Code / Codex / OpenCode

OpenAI compatible base URL: https://api.moonshot.cn/v1 · MOONSHOT_API_KEY

Check the provider docs for exact model IDs. Source

Cheaper alternatives

GPT-5.4 mini ($1.69) · ERNIE 5.0 ($1.57) · Grok 4.3 ($1.56) ·

Compare

Kimi K2.7 Code vs Claude Sonnet 5.5 · MiniMax-M3 vs Kimi K2.6 · Kimi K3 vs GLM-5.3 · Compare any two →

Rankings: Cheapest LLM APIs · LLM APIs usable from mainland China · All Moonshot AI Kimi models

Price history

  • 2026-10-25 · Official (Intl) · Kimi K2.7 Code listed · $0.95 / $4
  • 2026-10-23 · Official (China) · Kimi K2.7 Code: Fetch failed; kept last good price (2026-10-19 07:20 UTC+8)
  • 2026-10-19 · Kimi K2.7 Code max output: 235,929 → unknown tokens (Upstream anomaly: OpenRouter reported 235,929 (90% of the 262,144 context), which matches no official figure; the maximum output is not published by the vendor, so it is now shown as unknown)
  • 2026-10-17 · OpenRouter · Kimi K2.7 Code cached: $0.18 → $0.19 (OpenRouter basis change: model list price → Moonshot AI (original vendor); not a provider price change)
  • 2026-10-17 · OpenRouter · Kimi K2.7 Code output: $3.35 → $4 (OpenRouter basis change: model list price → Moonshot AI (original vendor); not a provider price change)
  • 2026-10-17 · OpenRouter · Kimi K2.7 Code input: $0.6712 → $0.95 (OpenRouter basis change: model list price → Moonshot AI (original vendor); not a provider price change)
  • 2026-10-17 · Official (China) · Kimi K2.7 Code listed · ¥6.5 / ¥27

FAQ

How much does the Kimi K2.7 Code API cost?

Cheapest channel (Official (Intl)): $0.95 input / $4 output per 1M tokens, verified 2026-11-19.

Can I use Kimi K2.7 Code from China?

Official (China): direct yes, Alipay yes, ID required yes, overseas card no; Official (Intl): direct Unverified, Alipay Unverified, ID required Unverified, overseas card Unverified; OpenRouter: direct yes, Alipay yes, ID required no, overseas card no

Is Kimi K2.7 Code free?

No free route or deal recorded for this model; pay-as-you-go.

What is Kimi K2.7 Code's context window?

262K tokens