Kimi K2.7 Code is Moonshot AI (Kimi)'s language model with a 262K context window and up to 236K output tokens, available from 16 providers, starting at $0.68 / 1M input and $3.21 / 1M output. A code-specialized variant of the Kimi K2 series, designed for programming tasks and software development workflows.
Specifications
Canonical IDmoonshot-kimi-k2-7-code
TypeLanguage
StatusDeprecated
CreatorMoonshot AI (Kimi)Moonshot AI (Kimi)
Providers
Context Window262K tokens
Max Output236K tokens
Input ModalitiesImagePDFTextVideo
Output ModalitiesText
Reasoning Effortsdefault
Parameters1.03T
HuggingFace Likes1,354
HuggingFace Downloads (30d)675,289
HuggingFace Downloads (all-time)1,567,092
Release Date · 3 months ago
Deprecation Date
Benchmarks
Intelligence Index
#102
Coding Index
#41
GPQA
#51
HLE
#57
IFBench
#107
Time to First Token
#513
SciCode
#66
LCR
#44
TerminalBench Hard
#26
TAU2
#66
Output TPS
#180

Capabilities

Input4/5
Text
Image
Audio·
Video
PDF
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities7/13
Reasoning
Adaptive Reasoning·
Function Calling
Parallel Function Calling
Structured Outputs
Native JSON Schema
Web Search
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandardFastBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Alibaba Qwen logo
Alibaba Qwen
kimi-k2.7-code
$0.894$3.71$0.19$0.447$1.86
Azure AI Foundry logo
Azure AI Foundry
moonshot:k27code
$0.95$4.00$0.21
Cloudflare Workers AI logo
Cloudflare Workers AI
@cf/moonshotai/kimi-k2.7-code
$0.95$4.00$0.19
DeepInfra logo
DeepInfra
deepinfra/moonshotai/Kimi-K2.7-Code
$0.68$3.40$0.136
Fireworks AI logo
Fireworks AI
fireworks_ai/kimi-k2p7-code
$0.95$4.00$0.19$1.43$6.00$0.285
Hugging Face logo
Hugging Face
novita:moonshotai/kimi-k2.7-code
$0.95$4.00N/A
Moonshot AI (Kimi) logo
Moonshot AI (Kimi)
moonshot/kimi-k2.7-code
$0.95$4.00$0.19
Nebius logo
Nebius
moonshotai/Kimi-K2.7-Code
$0.95$4.00N/A
Novita logo
Novita
novita/moonshotai/kimi-k2.7-code
$0.95$4.00$0.19
OpenRouter logo
OpenRouter
moonshotai/kimi-k2.7-code
$0.706$3.21$0.18
Perplexity logo
Perplexity
perplexity/perplexity/kimi-k2.7-code
$0.95$4.00$0.19
Qwen AI Platform
qwen_ai_platform/kimi-k2.7-code
$0.95$4.00$0.19
Qwencloud
qwencloud/kimi-k2.7-code
$0.95$4.00$0.19
Together AI logo
Together AI
together_ai/moonshotai/Kimi-K2.7-Code
$0.95$4.00$0.19
Vercel AI Gateway logo
Vercel AI Gateway
moonshotai/kimi-k2.7-code
$0.95$4.00$0.16
Weights & Biases logo
Weights & Biases
wandb/moonshotai/Kimi-K2.7-Code
$0.71$3.50$0.15

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host Kimi K2.7 Code, ranked by cheapest on-demand price. The model needs about 2465 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)

No GPU instances fit Kimi K2.7 Code at FP16 precision — try a lower precision such as INT4.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Kimi K31.0M$2.83$14.13Available
Kimi K3 Batch1.0M$3.00$15.00Available
Kimi K3 Coding1.0M$0.440$1.61Available
Kimi K3 Fast1.0M$4.50$22.50Available
Kimi K3 US1.0M$3.30$16.50Available
Kimi K2.7 Code HighSpeed262K$1.90$8.00Available
Kimi K2.7 Code262K$0.680$3.21Current
Kimi K2 Thinking Turbo262K$1.15$8.00Deprecated
Kimi K2 Turbo256KAvailable
Kimi K2.5 Non-ReasoningAvailable
Kimi K2 Instruct V0Available

Model IDs

@cf/moonshotai/kimi-k2.7-code
accounts/fireworks/models/kimi-k2p7-code
azure_ai/FW-Kimi-K2.7-Code
azure_ai/kimi-k2.7-code
cloudflare/@cf/moonshotai/kimi-k2.7-code
dashscope/kimi-k2.7-code
deepinfra/moonshotai/Kimi-K2.7-Code
fireworks_ai/accounts/fireworks/models/kimi-k2p7-code
fireworks_ai/kimi-k2p7-code
kimi-k2-7-code
kimi-k2.7-code
moonshot-kimi-k2-7-code
moonshot/kimi-k2.7-code
moonshotai/kimi-k2.7-code
moonshotai/Kimi-K2.7-Code
moonshotai/kimi-k2.7-code:batch
nebius/moonshotai/Kimi-K2.7-Code
novita/moonshotai/kimi-k2.7-code
openrouter/moonshotai/kimi-k2.7-code
perplexity/perplexity/kimi-k2.7-code
qwen_ai_platform/kimi-k2.7-code
qwencloud/kimi-k2.7-code
together_ai/moonshotai/Kimi-K2.7-Code
wandb/moonshotai/Kimi-K2.7-Code