Lyceum

Kimi K2.7 Code

kimi-k2-7-code

Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking

VisionTool CallingCachingReasoningWebJSON

Quick facts

Released
June 2026
Model type
Open-weight
Model family
Kimi Code
Input modalities
Supports: Text, Image, Video
Output modalities
Supports: Text
Available regions
EU
Zero data retention
Yes
Available on nexos.ai
Yes

Pricing and specifications of Kimi K2.7 Code

Explore Kimi K2.7 Code pricing per million input, output, and cached tokens, along with its context window and maximum output limits.

Input / 1MOutput / 1MCached input / 1MContextMax output
$1.25$4.50$0.31262K262K

Available providers

Provider Region Input / 1M Output / 1M Cache / 1M ZDR
Lyceum EU $1.25 $4.50 $0.31

Specifications

Context window

262K tokens

Max output

262K tokens

Input

Output

Benchmarks of Kimi K2.7 Code

How Kimi K2.7 Code scores on independent benchmarks tracked by Epoch AI.

Quality

Epoch Capabilities Index

151.2

ECI rank

#66 of 258

GPQA Diamond

Graduate-level scientific reasoning

87.3%

FrontierMath

Expert-level mathematics

56.9%

OTIS Mock AIME

Competition mathematics

95.6%

WeirdML

Novel machine-learning tasks

54.1%

APEX-Agents

Long-horizon professional services tasks

37.6%

SimpleQA Verified

Short-form factual accuracy

36.5%

Benchmark data: Epoch AI, ‘Capabilities & benchmarking’, licensed under CC BY 4.0.

Quickstart

Start using Kimi K2.7 Code

Model ID

kimi-k2-7-code

Base URL

https://api.nexos.ai/v1

Code

from openai import OpenAI

# Get your API key from the nexos.ai dashboard
client = OpenAI(
    base_url="https://api.nexos.ai/v1",
    api_key="YOUR_NEXOS_API_KEY",
)

response = client.chat.completions.create(
    model="kimi-k2-7-code",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)
import OpenAI from 'openai';

// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
  baseURL: 'https://api.nexos.ai/v1',
  apiKey: 'YOUR_NEXOS_API_KEY',
});

const response = await client.chat.completions.create({
  model: 'kimi-k2-7-code',
  messages: [{ role: 'user', content: 'Hello!' }],
});

console.log(response.choices[0].message.content);
curl https://api.nexos.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2-7-code",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Other Moonshot AI models

Models from Moonshot AI with comparable capabilities and pricing.

ModelInputOutputContextCapabilitiesRegion
Kimi K3.1 Pro$2.00$10.001M
VisionToolsThinkWebJSON
EUGlobal
Kimi K2.6
$0.95$4.00246K
VisionToolsWebJSON
Global
Kimi K3
$3.00$15.001M
VisionToolsCacheThinkWebJSON
USGlobal

Start building with Kimi K2.7 Code

Access Kimi K2.7 Code and 200+ other AI models through nexos.ai.

FAQ

Common questions about Kimi K2.7 Code, its availability and usage.