Skip to main content
MindStudio
Pricing
BlogAbout
My Workspace
Text Generation Model

Kimi K2.7 Code

Moonshot AI's coding-focused agentic model built on Kimi K2.6, delivering stronger long-horizon software engineering performance with roughly 30% lower thinking-token usage.

PublisherMoonshot
TypeText
Context Window262,164 tokens
Input$0.74/MTok
Output$3.50/MTok
ProviderDeepInfra
CODINGAGENTIC

Kimi K2.7 Code

**Kimi K2.7 Code** is a coding-focused agentic model built upon Kimi K2.6. It delivers substantial improvements on real-world long-horizon coding tasks, strengthening end-to-end task completion across complex software engineering workflows while improving token efficiency. ### Key Highlights - **Agentic coding specialization**: Optimized for autonomous, multi-step software engineering tasks that require sustained reasoning and tool use across long horizons. - **Improved token efficiency**: Reduces thinking-token usage by approximately **30% compared with Kimi K2.6**, delivering faster and more cost-effective completions without sacrificing quality. - **End-to-end task completion**: Strengthened performance on complete software engineering workflows — from planning and implementation to debugging and refinement. - **Built on Kimi K2.6**: Inherits the strong general capabilities of its predecessor while adding targeted improvements for coding-heavy use cases. Kimi K2.7 Code is best suited for developers, coding agents, and engineering platforms that need a reliable, efficient model for autonomous software development, code generation, refactoring, and complex debugging tasks.

Ready to build with Kimi K2.7 Code?

Get Started Free

Documentation & links

Parameters & options

Max Temperature2
Max Response Size10,000,000 tokens
Top PNumber

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.

Default: 1Range: 0.01–1 (step 0.01)
Min PNumber

Float that represents the minimum probability for a token to be considered, relative to the probability of the most likely token. Set to 0 to disable this.

0Range: 0–1 (step 0.01)
Top KNumber

Sample from the best k (number of) tokens. 0 means off.

0Range: 0–999 (step 1)
Presence PenaltyNumber

Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.

0Range: -2–2 (step 0.1)
Frequency PenaltyNumber

Positive values penalize new tokens based on how many times they appear in the text so far, increasing the model's likelihood to talk about new topics.

0Range: -2–2 (step 0.1)
Repetition PenaltyNumber

Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage).

Default: 1Range: 0.01–5 (step 0.01)
Stop SequenceText

A sequence where the API will stop generating further tokens.

Start building with Kimi K2.7 Code

No API keys required. Create AI-powered workflows with Kimi K2.7 Code in minutes — free.