Kimi-K2.7-Code

modified-mit

Kimi K2.7 Code is a coding-focused agentic model built upon Kimi K2.6. With substantial improvements on real-world long-horizon coding tasks, it strengthens end-to-end task completion across complex software engineering workflows while improving token efficiency, reducing thinking-token usage by approximately 30% compared with Kimi K2.6.

Context
262K
Input price
$0.68/1M tokens
Output price
$3.4/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Fine-tuning

Details

Model IDmoonshotai/Kimi-K2.7-Code
Provider DeepInfra
FamilyKimi-K2.7
Licensemodified-mit
Statusactive
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window262K tokens
Max input—
Max output—
Reasoning tokensYes
Knowledge cutoff—
Release date—
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.68
Output
$3.4
Cache write
—
Cache read
$0.14
Batch in
—
Batch out
—

API

GET/v1/models/deepinfra/moonshotai/Kimi-K2.7-Code