Kimi K2.7 Code

kimi-k2.7-code by Moonshot AI Released June 13, 2026
ReasoningFunction callingStructured outputPrompt cachingWeb searchComputer useImage inputFile inputAudio inputVideo inputEU hostingFree endpointUp to 35% off
Input from
$0.6175 / 1M
Output from
$2.6 / 1M
Cached input from
$0.1235 / 1M
Context window
262K
Endpoints
7
from 7 providers
Regions
Global, Asia, Europe, United States

About Kimi K2.7 Code

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.

Kimi K2.7 Code is a chat model by Moonshot AI, available on Eden AI through 7 endpoints from 7 providers, from $0.618 per million input tokens and $2.6 per million output tokens, with a context window of up to 262K tokens.

Providers and prices

7 endpoints from 7 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you. .

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
QwenOfficial−35%qwen/kimi-k2.7-code
Global
262K
$0.95$0.6175
$2.6
$0.1235
ReasoningToolsJSONCacheVisionWeb
DeepInfra (United States)Official−%deepinfra/moonshotai/Kimi-K2.7-Code
United States
262K
$0.68$0.68
$3.4
$0.136
ReasoningToolsJSONCacheVisionWeb
Tencent Cloud (Asia)Official−%tencent/kimi-k2.7-code
Asia
256K
$0.95$0.95
$4
$0.19
ReasoningToolsJSONCacheVisionWeb
Cloudflare (CF/MOONSHOTAI/KIMI-K2.7-CODE)Official−%cloudflare/@cf/moonshotai/kimi-k2.7-code
CF/MOONSHOTAI/KIMI-K2.7-CODE
262K
$0.95$0.95
$4
$0.19
ReasoningToolsJSONCacheVisionWeb
Moonshot AI (Asia)Official−%moonshot/kimi-k2.7-code
Asia
262K
$0.95$0.95
$4
$0.19
ReasoningToolsJSONCacheVisionWeb
NebiusOfficial−%nebius/moonshotai/Kimi-K2.7-Code
Global
262K
$0.95$0.95
$4
$0.95
ReasoningToolsJSONCacheVisionWeb
TensorX (Europe)Official−%tensorx/moonshotai/kimi-k2.7-code
Europe
262K
$1.25$1.25
$4.5
$0.3125
ReasoningToolsJSONCacheVisionWeb

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
1.08 s
TensorX (Europe)
Lowest latency
2.47 s
TensorX (Europe)
Highest throughput
87.09 tok/s
TensorX (Europe)
Best availability
100%
TensorX (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Qwen
3.64 s
7.31 s
25.83 s
22.33 tok/s
100%
95.32%
2.79%
0%
DeepInfra (United States)
4.57 s
15.76 s
160.31 s
14.74 tok/s
100%
93.25%
16.67%
0%
Tencent Cloud (Asia)
s
s
s
tok/s
%
%
%
%
Cloudflare (CF/MOONSHOTAI/KIMI-K2.7-CODE)
s
s
s
tok/s
%
%
%
%
Moonshot AI (Asia)
3.38 s
6.71 s
29.98 s
30.62 tok/s
100%
96.24%
0.23%
0%
Nebius
s
s
s
tok/s
%
%
%
%
TensorX (Europe)
1.08 s
2.47 s
13.47 s
87.09 tok/s
100%
96.95%
2.25%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Kimi K2.7 Code with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Kimi K2.7 Code

On Eden AI, prices for this model start at $0.6175 per million input tokens and $2.6 per million output tokens. Prices differ by endpoint; the providers table lists each one. .

Up to 262K tokens, depending on the endpoint.

7 endpoints from 7 providers, available in: Global, Asia, Europe, United States. All of them are called with the same Eden AI API key.

Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU.

Over the last 30 days, the fastest first token was 1.08 s (TensorX (Europe)) and the highest throughput was 87.09 tokens per second (TensorX (Europe)).