All models

Moonshot

Kimi K2.7 Code

Kimi for code and development agents

Text
Images
Reasoning
Tools
Type
Chat
Context
262K tokens
Russian
medium
Input price
52,8 ₽ / 1M tokens
Output price
272 ₽ / 1M tokens
Release date
June 2026
chat/completions
import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.yenisei.ru/v1",
apiKey: process.env.YENISEI_API_KEY,
})
const stream = await client.chat.completions.create({
model: "kimi-k2.7-code",
messages: [{ role: "user", content: "Hi!" }],
stream: true,
})
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content ?? "")
}

About the model

Kimi K2.7 Code is the variant of the Kimi lineup from Moonshot for working with code and for development agents. It confidently generates, refactors and explains code, finds bugs and suggests fixes, and lays out step-by-step reasoning for complex technical tasks. The model understands images, which is handy for analyzing screenshots, diagrams and interfaces. Its long context window fits large parts of a project and lengthy technical materials. It reliably calls tools (function-calling) and suits development agents and automation. It is multilingual and its Russian is average.

Strengths

  • Code: generation, refactoring, review
  • Reasoning on complex technical tasks
  • Works with images: screenshots and diagrams
  • Long context for large parts of a project
  • Tool calling (function-calling) for development agents

Where to use it

  • Code generation and autocompletion
  • Code refactoring and modernization
  • Reviewing and explaining other people's code
  • Development agents and automation
  • Analysis of screenshots, diagrams and interfaces
  • Writing tests and code documentation