Post-Cutoff

Moonshot AIKimi K2 familyCurrentCode modelReleased Jun 2026

Kimi K2.7 Code

Cheaper-than-K3 coding agent model for Kimi Code CLI, Claude Code, Codex, OpenCode.

Model idkimi-k2.7-code

Price$0.95 in, $4 out per 1M tokens

Checked29 September 2026

Where it stands

3newer code models since its release

All code models

Weights
Weights are public. Licence: Modified MIT. See the licence for commercial terms.

How to call it

5 ways to use Kimi K2.7 Code, with the model id each provider expects.

Providers, model ids, endpoints and docs for Kimi K2.7 Code
ProviderModel idEndpointDocs
Kimi API (Moonshot) kimi-k2.7-code https://api.moonshot.ai/v1 platform.kimi.ai
Kimi API (Moonshot) high-speed kimi-k2.7-code-highspeed https://api.moonshot.ai/v1 platform.kimi.ai
OpenRouter moonshotai/kimi-k2.7-code openrouter.ai
Hugging Face huggingface.co
Web app kimi.com

Pricing

Prices for Kimi K2.7 Code
Input$0.95 per 1M tokens
Output$4 per 1M tokens
Cache read$0.19 per 1M tokens

As published: “per 1M tokens (USD); kimi-k2.7-code-highspeed: 1.90 in / 8.00 out / 0.38 cache hit”.

Source: platform.kimi.ai, checked 29 September 2026.

Specs

Input
Text, images and video
Output
Text
Context window
262,144 tokens
Max output
Not published
Open weights
Yes
Licence
Modified MIT
Released
June 2026
Status
Current
Type
Code model

What stands out

What its maker marketed at launch, and what people found later, each with its source.

  • Coding-specialized K2.6 derivative

    Built on Kimi K2.6 (1T total / 32B active, MLA, 400M vision encoder) and tuned for long-horizon real-world coding.

    Source: huggingface.co

  • ~30% fewer thinking tokens than K2.6

    Higher task success with about 30% lower thinking-token usage vs K2.6.

    Source: huggingface.co

  • High-speed tier

    kimi-k2.7-code-highspeed outputs ~180 tok/s (up to ~260 tok/s on short context).

    Source: platform.kimi.ai

Notes

Dedicated coding model; pairs with Kimi Code CLI.

curl https://api.moonshot.ai/v1/chat/completions \
 -H "Authorization: Bearer $MOONSHOT_API_KEY" -H "Content-Type: application/json" \
 -d '{"model":"kimi-k2.7-code","messages":[{"role":"user","content":"Write a Python quicksort"}]}'

Sources: https://platform.kimi.ai/docs/models · https://platform.kimi.ai/docs/pricing/chat · https://huggingface.co/moonshotai/Kimi-K2.7-Code

Not yet checked against an official source: Release day not verified (HF 2026-06-11, OpenRouter 2026-06-12). Max output not verified.