All models
Moonshot

Kimi K2.7 Code

Kimi K2.7 Code — Moonshot AI's coding-focused model in the Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. A native multimodal mixture-of-experts model with a 256K-token context window, agentic tool use, and prompt caching.

kimi-k2.7-code

Pricing

~99.3%
Input
$0.003936 / 1,000,000 tokens
Output
$0.02296 / 1,000,000 tokens
Cache read
$0.00105 / 1,000,000 tokens
Cache write
$0.003936 / 1,000,000 tokens
How pricing works

Discount history

99.3%
Nov 7, 11:57 PMNov 8, 03:56 AM UTC

Model details

Input
text, image
Output
text
Context window
262,144 tokens
Maximum output
131,072 tokens
Availability
$813.9Uncapped capacity
Updated
11/8/2026, 3:58:06 AM UTC

Capacity is reserved when your request is accepted.

Capabilities

ChatStreamingTool callingVisionReasoning

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p