Skip to main content

MoonshotAI: Kimi K2.7 Code Coding Benchmark

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...

Context262,144tokens
Max Output235,929tokens
Inputmodalities
Price$0.67/1M input

Try MoonshotAI: Kimi K2.7 Code in Kilo Code

Experience this model with the most popular open source coding agent. Free to start, pay only for AI usage. Use in popular IDEs like VS Code, JetBrains, command line, or cloud agents.

5M+

Downloads

500+

models supported

Free

to Start

Access 500+ models including MoonshotAI: Kimi K2.7 Code and many more in Kilo Code

Coding Performance

Coding benchmarks and performance metrics for development tasks

Kilo Bench

% Completion on Terminal Bench 2.0
60.7%
Cost per attempt (USD)
$32.94
Benchmark
Terminal Bench 2.0

Official Kilo eval results. Cost is averaged per complete benchmark attempt.

Benchmark
Score
60.8%
47.8%
44.7%
79.3%
63.1%

Speed & Efficiency

Metric
Value
Output Speed
93 tok/s

Performance metrics from Artificial Analysis

Security

Enkrypt AI red-team scores for MoonshotAI: Kimi K2.7 Code. Each value is the share of successful attacks on a 0–100 scale — lower is safer.

Overall risk
27.7

Lower is safer

Safety

37.2/ 100

Composite safety risk from Enkrypt red-team evaluations. Lower is safer.

NIST

28.0/ 100

Average attack success across NIST-mapped tests: bias, harm, toxicity, CBRN, and insecure code.

OWASP

31.0/ 100

Weighted average of the same tests using OWASP Top 10 for LLMs 2025 risk rankings.

Attack categories

Percentage of successful attacks in each Enkrypt red-team category.

Jailbreak21.6/ 100

Share of jailbreak tests that bypassed the model's safety constraints.

Bias84.2/ 100

Share of tests that elicited biased responses.

Harmful content1.7/ 100

Share of tests that produced dangerous, violent, or hateful content.

Toxicity2.9/ 100

Share of tests that produced toxic or abusive content.

CBRN42.0/ 100

Share of tests that elicited chemical, biological, radiological, or nuclear assistance.

Insecure code7.6/ 100

Share of tests that produced vulnerable or malicious code.

Score
Value
Overall risk
27.7 / 100
Safety
37.2 / 100
NIST
28.0 / 100
OWASP
31.0 / 100
Jailbreak
21.6 / 100
Bias
84.2 / 100
Harmful content
1.7 / 100
Toxicity
2.9 / 100
CBRN
42.0 / 100
Insecure code
7.6 / 100

Security scores from the Enkrypt AI Safety Leaderboard · Last checked Oct 5, 2026

Real-World Usage

Real-world usage statistics from the Kilo Code community

Weekly Token Usage

Mode Rankings (Last Week)

Where this model ranks for each built-in mode

Code

Write, modify, and refactor code

No data

Ask

Get answers and explanations

#99

Debug

Diagnose and fix software issues

No data

Orchestrator

Coordinate tasks across multiple modes

No data

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$0.67
per 1M tokens
Output Tokens
$3.35
per 1M tokens

Example Cost

Analyzing a 10,000 line codebase (≈40k input tokens, 10k output tokens) costs approximately $0.0603

Coding Capabilities

Features and parameters relevant to coding tasks

Coding Features

Function Calling
Can call external functions/APIs
Tool Choice
Control over function selection
Structured Outputs
JSON schema validation
Reasoning Tokens
Extended thinking for complex problems

Pricing details from OpenRouter

Technical Details

Architecture and implementation specifications

Specifications
Model ID
moonshotai/kimi-k2.7-code
Artificial Analysis Slug
kimi-k2-7-code
Created
June 12, 2026
Tokenizer
Other
Input Modalities
TextImage
Context Window
262,144 tokens
Max Completion Tokens
235,929 tokens
Input Price
$0.67 per 1M tokens
Output Price
$3.35 per 1M tokens
Cache Read Price
$0.18 per 1M tokens
Content Moderation
Disabled

Ready to try MoonshotAI: Kimi K2.7 Code?

Install Kilo Code and start using MoonshotAI: Kimi K2.7 Code for your coding projects today. Choose from 500+ AI models with complete freedom.

  1. Install Kilo Code

    Get the extension from VS Code Marketplace, JetBrains Plugin Repository, or the CLI.

  2. Open the model selector

    Click the model name in the Kilo Code chat panel to open the selector.

  3. Choose your model

    Search or browse to find and select your preferred model.

  4. Start coding

    Use Code, Ask, Debug, or Plan mode — the model is ready immediately.