Open-weight models

Everything about Kimi K2.7 Code

Kimi K2.7 Code in numbers: price per token, context window, independent benchmark scores and comparable models, based on public data checked on October 22, 2026.

Data as of October 22, 2026

Key figures

DeveloperMoonshot AI
ReleasedJune 12, 2026
Knowledge cutoffJanuary 2025
Context window262,144 tokens (≈ 393 pages)
Maximum output262,144 tokens
Input price$0.95 per million tokens (developer's price)
Output price$4 per million tokens
Open weightsYes
Reasoning modeYes
Tool callingYes
Structured output (JSON)Yes
Accepted inputstext, image, video
Providers offering it60
Capability index66.7 / 100

Overview

Released on June 12, 2026, Kimi K2.7 Code is one of the 6 Moonshot AI models tracked on this site. It is an open-weight model: you can host it yourself on infrastructure you control, and 60 API providers listed on models.dev also offer it. It has a reasoning mode: it can "think" before answering, which helps with multi-step problems but uses more tokens, and therefore more money. That makes it 4 months old as of October 22, 2026.

We file it under open-weight models (68 models in this category on the site).

Pricing and budget

Kimi K2.7 Code costs $0.95 per million input tokens and $4 per million output tokens (developer's price, checked on October 22, 2026).

In practice, an agent task that reads 20,000 tokens and writes 2,000 costs about $0.027, or $27 for 1,000 such tasks.

That is 4 times the median output price of open-weight models ($1).

Tokens read back from cache cost $0.19 per million, which helps an agent that keeps resending the same context.

To estimate your own budget, use the agent cost calculator.

Measured performance

According to results published by Epoch AI (checked on October 22, 2026), Kimi K2.7 Code has a capability index of 66.7 out of 100, computed on 5 benchmarks from our basket.

It is not among the top 30 of the weekly ranking.

  • GPQA Diamond (PhD-level science questions): 87.9% — the best tracked model, Gemini 4 Argon, reaches 96.4%
  • OTIS Mock AIME (competition mathematics problems): 95.6% — the best tracked model, GPT-5.5 Pro, reaches 100%
  • FrontierMath (very hard research-level mathematics): 54% — the best tracked model, GPT-6 Astra, reaches 93.7%
  • FrontierCode (advanced programming tasks): 30.1% — the best tracked model, Claude Opus 5.5, reaches 54.6%

What it can do

Its context window reaches 262,144 tokens, roughly 393 pages of text at 500 words per page: enough for a long report or several contracts at once. A single answer can run to 262,144 tokens.

It accepts as input: text, image and video. Its knowledge stops at January 2025: beyond that, it needs web search or your documents.

It can call tools (functions, APIs) and return structured JSON output, which makes it a possible foundation for an AI agent.

The weights are published on Hugging Face (moonshotai/Kimi-K2.7-Code). See also our list of open-source models.

When to choose it

Given its category, Kimi K2.7 Code is mainly aimed at projects where you want control over your data or hosting, or want to adapt the model to your field.

Before adopting it, test it on your own examples: benchmarks measure standard tasks, not your job.

What could replace it?

In the same category, the models closest to Kimi K2.7 Code are:

Independent benchmark scores

BenchmarkWhat it measuresScore
GPQA DiamondPhD-level science questions87.9%
OTIS Mock AIMEcompetition mathematics problems95.6%
FrontierMathvery hard research-level mathematics54%
FrontierCodeadvanced programming tasks30.1%
APEX-Agentsprofessional tasks carried out by an agent37.6%

Similar models

Other Moonshot AI models

Frequently asked questions

How much does Kimi K2.7 Code cost?

As of October 22, 2026, Kimi K2.7 Code costs $0.95 per million input tokens and $4 per million output tokens (developer's price). A task that reads 20,000 tokens and writes 2,000 costs about $0.027.

What is the context window of Kimi K2.7 Code?

262,144 tokens, roughly 393 pages of text. An answer can reach 262,144 tokens.

Is Kimi K2.7 Code open source?

Its weights are published: you can install it on your own servers. Check the license before commercial use.

How good is Kimi K2.7 Code?

Its capability index is 66.7 out of 100 (5 benchmarks, Epoch AI data).

Can you build an agent with Kimi K2.7 Code?

Yes: it can call tools and return structured JSON, the two basic building blocks of an agent.

Data sources

Data as of October 22, 2026

Report an error

Does a figure, a date or a fact look wrong? Tell us: every report is checked.