Kimi K2.7 Code

kimi-k2.7-code

Kimi K2.7 Code is a programming-oriented model optimized for software engineering scenarios. It helps developers generate, understand, and improve code, while handling tasks such as debugging, code review, project analysis, and automated development workflows. It is a strong choice for coding assistants, developer agents, and AI-powered programming tools.

Context Window

262.1K tokens

Maximum Output

262.1K tokens

Release Date

Jun 12, 2026

Modalities

Kimi K2.7 Code Pricing

Input PriceOutput PriceCache Read
$0.9286/M$3.8571/M$0.1857/M

Kimi K2.7 Code API Capabilities

Reasoning

Supported

Tool calling

Supported

Temperature parameter

Not supported

Attachments

Supported

Knowledge Base

2025-01-01

Endpoint Protocols

Completions APIMessages API

Kimi K2.7 Code Model Highlights

Kimi K2.7 Code is an open-weight multimodal coding model built for long-horizon software engineering, efficient reasoning and repository-scale context.

Long-Horizon Coding

Maintains instructions across extended coding sessions and improves end-to-end completion of complex, multi-file engineering tasks.

Reasoning Efficiency

Uses about 30% fewer thinking tokens on average than Kimi K2.6 while improving results on the cited coding evaluations.

Multimodal Code Reasoning

Its native multimodal architecture processes text, images and video alongside code within a 256K-token context.

Kimi K2.7 Code Use Cases

Kimi K2.7 Code suits repository-wide changes, extended debugging sessions and visually guided frontend development.

Repository-Scale Refactoring

Inspect a large codebase, trace dependencies and implement coordinated refactors across multiple files while preserving requirements.

Long-Running Debugging

Investigate defects over many iterations, retain prior findings and revise the implementation until tests and expected behavior align.

Visual Frontend Reconstruction

Interpret screenshots or video references and translate their layout, styling and interactions into working frontend code.

How to Use Kimi K2.7 Code via the TokenHub API

Create API key
import OpenAI from "openai"

const client = new OpenAI({
  apiKey: process.env.TOKENHUB_API_KEY,
  baseURL: "https://us-api.tokenhub.com/v1",
})

const result = await client.chat.completions.create({})
console.log(result.choices[0]?.message?.content)

Kimi K2.7 Code Benchmarks

Kimi K2.7 Code

Index score
Artificial Analysis Intelligence IndexArtificial Analysis broad capability aggregate41.9
Artificial Analysis Coding IndexArtificial Analysis software task aggregate60.8
Knowledge & Reasoning
GPQAAdvanced science problem solving89.6%
HLEBroad expert-level exam set32.8%
Coding & Engineering
SciCodeScientific coding challenges47.5%
Terminal-Bench HardHard terminal task execution44.7%
Instruction Following & Agent Tasks
IFBenchPrompt constraint adherence63.1%
AA-LCRLong-context reasoning66.3%
τ²-BenchAgent workflow tasks90.1%

Metrics sourced from Artificial Analysis

Kimi K2.7 Code Media, Demos and Reviews

Public launch posts, hands-on tests and community discussion about Kimi K2.7 Code.

X (Twitter)

View original
View post on X
View original
View post on X
View original
View post on X

YouTube

View original
Watch on YouTube
View original
Watch on YouTube
View original
Watch on YouTube

Kimi K2.7 Code FAQs

Common questions about using Kimi K2.7 Code on TokenHub.

What is Kimi K2.7 Code?+

Kimi K2.7 Code is a coding-focused agentic model designed for software development and long-horizon programming tasks.

What is Kimi K2.7 Code best for?+

It is well suited to repository navigation, code generation, refactoring, debugging, testing, and tool-using coding agents.

What are its main strengths and tradeoffs?+

It offers strong coding-agent behavior and a 256K context window, but reasoning can increase latency and cost; review important changes before merging.

How should I call Kimi K2.7 Code through TokenHub?+

Select this model in TokenHub and use the provider's documented API-compatible settings; technical integrations may require the model ID kimi-for-coding.

Who should choose Kimi K2.7 Code instead of Kimi K2.6 or Kimi K3?+

Choose it when software engineering is the priority and you want a stable coding-focused workflow without needing Kimi K3's million-token context.

Ready to use Kimi K2.7 Code?

Use one API key to access Kimi K2.7 Code and more AI models through TokenHub.

Create API key