Kimi K2.7 Code

kimi-k2.7-code by Moonshot AI Released June 13, 2026
Reasoning · Function calling · Structured output · Prompt caching · Image input · Video input · EU hosting · Up to 35% off
Input from
$0.6175 / 1M
Output from
$2.6 / 1M
Cached input from
$0.1235 / 1M
Context window
262K
Endpoints
6
from 6 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 6 endpoints from 6 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

6 endpoints from 6 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
Qwenqwen/kimi-k2.7-code
Global
262K
$0.95$0.6175
$2.6
$0.1235
−35% · Reasoning · Tools · JSON · Cache · Vision
DeepInfra (United States)deepinfra/moonshotai/Kimi-K2.7-Code
United States
262K
$0.68
$3.4
$0.136
Reasoning · Tools · JSON · Cache · Vision
GreenPT (Europe)greenpt/kimi-k2.7-code
Europe
256K
$0.8462
$4.2312
$0.2176
Reasoning · Tools · JSON · Cache · Vision
Tencent Cloud (Asia)tencent/kimi-k2.7-code
Asia
256K
$0.95
$4
$0.19
Reasoning · Tools · JSON · Cache
Moonshot AI (Asia)moonshot/kimi-k2.7-code
Asia
262K
$0.95
$4
$0.19
Official · Reasoning · Tools · JSON · Cache · Vision
TensorX (Europe)tensorx/moonshotai/kimi-k2.7-code
Europe
262K
$1.25
$4.5
$0.3125
Reasoning · Tools · JSON · Cache · Vision

Performance

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

Fastest first token
0.32 s
GreenPT (Europe)
Lowest latency
0.87 s
GreenPT (Europe)
Highest throughput
62.43 tok/s
DeepInfra (United States)
Best availability
100%
TensorX (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Qwen
4.05 s
5.28 s
19.16 s
27.6 tok/s
100%
96.66%
1.21%
0%
DeepInfra (United States)
1.79 s
8.78 s
56.29 s
62.43 tok/s
99.84%
91%
0.36%
0%
GreenPT (Europe)
0.32 s
0.87 s
6.49 s
58.78 tok/s
97.87%
2.5%
4.17%
0%
Moonshot AI (Asia)
3.09 s
8.5 s
40.65 s
35.49 tok/s
99.96%
96.28%
0.2%
0%
TensorX (Europe)
3.46 s
7.71 s
26.85 s
33.59 tok/s
100%
95.92%
1.9%
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": "kimi-k2.7-code",
        "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.

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

Can I run Kimi K2.7 Code in the EU? 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. ‖ How fast is Kimi K2.7 Code? Over the last 30 days, the fastest first token was 0.32 s (GreenPT (Europe)) and the highest throughput was 62.43 tokens per second (DeepInfra (United States)).