Kimi K2.7 Code pricing & specs

Moonshot AI · released 2026-06-12 · ● verified 2026-11-17

input / 1M$0.95
output / 1M$4.00
context262.1K
max output262.1K

Kimi K2.7 Code is a Moonshot AI model released on 2026-06-12. At $0.95 per million input tokens and $4.00 per million output tokens, its blended price of $1.7125 per 1M tokens is lower than 38% of the 185 models we track. It offers text, image and video input, a 262.1K-token context window, built-in reasoning, tool calling and structured output. Its weights are open, and it is available from 4 tracked hosting providers.

Ranked #4 of 6 in Cheapest Kimi Models.

// price history ($/1M tokens)

$4.60
input $/1Moutput $/1M2026-06-12 → 2026-11-17

// cheaper or similar alternatives

modelinoutctxvs Kimi K2.7 Code
Gemma 4 E2B IT$0.04$0.08131.1K−97.1%
Qwen3.7 Flash$0.03$0.131M−96.8%
Qwen3.5 9B$0.10$0.15262.1K−93.4%
Qwen3.5 Flash$0.10$0.401M−89.8%
Gemini 2.5 Flash-Lite$0.10$0.401.05M−89.8%
all Kimi K2.7 Code alternatives →Gemini 3.7 Flash vs Kimi K2.7 Code →Gemini 3.8 Flash vs Kimi K2.7 Code →Grok 4.6 vs Kimi K2.7 Code →Grok 4.7 vs Kimi K2.7 Code →

// price by host

hostin $/1Mout $/1M
DeepInfra$0.68$3.40
Azure$0.95$4.00
Cloudflare Workers AI$0.95$4.00
Novita AI$0.95$4.00

// embed this price badge

Show the live price of Kimi K2.7 Code in your README or docs (updated daily):

Kimi K2.7 Code API price badge
[![Kimi K2.7 Code price](https://aisignals.dev/badge/moonshotai/kimi-k2.7-code.svg)](https://aisignals.dev/models/moonshotai/kimi-k2.7-code)

// faq

How much does Kimi K2.7 Code cost?

Kimi K2.7 Code costs $0.95 per million input tokens and $4.00 per million output tokens. At 50M input and 10M output tokens per month that is about $87.50.

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

262.1K tokens, with up to 262.1K output tokens per request.

Does Kimi K2.7 Code support prompt caching?

Yes. Cached input tokens cost $0.19 per million.

What are cheaper alternatives to Kimi K2.7 Code?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen3.5 9B ($0.10 in / $0.15 out) offer the same input types and capabilities for less.

Is Kimi K2.7 Code open weights?

Yes. It is available from 4 tracked hosts; the cheapest is DeepInfra at $0.68 input and $3.40 output per million tokens.

// spec sheet

input / 1M
$0.95
output / 1M
$4.00
cache read / 1M
$0.19
blended (3:1)
$1.7125
context
262.1K
max output
262.1K
input types
text · image · video
reasoning
yes
tool calling
yes
structured output
yes
open weights
yes
knowledge cutoff
2025-01
price source
Moonshot AI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
Qwen3.5 9B$0.10$0.15$6.50
Kimi K2.7 Code$0.95$4.00$87.50

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.