Kimi K2.7 Code is Moonshot AI (Kimi)'s language model with a 262K context window and up to 236K output tokens, available from 12 providers, starting at $0.66 / 1M input and $3.40 / 1M output. A coding-focused agentic LLM built on Kimi K2.6, optimized for long-horizon real-world coding tasks and end-to-end task completion with tool-use and vision support.
Specifications
Canonical IDmoonshot-kimi-k2-code
TypeLanguage
StatusDeprecated
CreatorMoonshot AI (Kimi)Moonshot AI (Kimi)
Providers
Context Window262K tokens
Max Output236K tokens
Input ModalitiesImagePDFTextVideo
Output ModalitiesText
Reasoning Effortsdefault
Parameters1.06T
HuggingFace Likes390
HuggingFace Downloads (30d)0
HuggingFace Downloads (all-time)0
Release Date · 3 months ago
Deprecation Date
Benchmarks
Intelligence Index
#45
Coding Index
#36
GPQA
#47
HLE
#49
IFBench
#107
Time to First Token
#502
SciCode
#50
LCR
#42
TerminalBench Hard
#26
TAU2
#67
Output TPS
#210

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
ProviderStandardBatch
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
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
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.66$3.40$0.18
Perplexity logo
Perplexity
perplexity/perplexity/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 2541 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 K2.7 Code262K$0.660$3.40Current
Kimi K2.6262K$0.650$3.40Available
Kimi K2.5262K$0.450$2.25Deprecated

Model IDs

accounts/fireworks/models/kimi-k2p7-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-code
moonshot/kimi-k2.7-code
moonshotai/kimi-k2.7-code
moonshotai/Kimi-K2.7-Code
novita/moonshotai/kimi-k2.7-code
perplexity/perplexity/kimi-k2.7-code
together_ai/moonshotai/Kimi-K2.7-Code
wandb/moonshotai/Kimi-K2.7-Code