Skip to main content
Moonshot AIJun 13, 2026

Kimi K2.7 Code

kimi-k2-7-codePrivateOpen weights

Kimi K2.7 Code is Moonshot AI’s coding-focused agentic model built on Kimi K2.6, with 1T total parameters and 32B active parameters. It always operates in thinking mode, supports text and image input, and targets long-horizon software engineering, agentic task decomposition, and multi-turn coding workflows with 256K context.

$0.75/$3.50
per 1M in / out
256K
context window
64K
max output
How it comparesamong 143 text models
GPQA Diamondhigher than 46%84.3%
Blended pricecheaper than 56%$1.44
Context windowlarger than 22%256K
Max outputlarger than 37%64K

Further right is better. Hover a dot for its model.

Time to first token— 
Output speed— 
Uptime— 

Last 24 hours of Venice traffic.How it’s measured

Capabilities

What the model takes in, returns and supports through the API.

InTextImage
OutText

Not supportedvideo input, audio input, X search and log probabilities

Benchmarks

GPQA Diamond
84.3%73rd of 139 · 18 score higher for less, including DeepSeek v4.1 Flash (1017), MiniMax M2.5 and DeepSeek V4.1 Flash 1017 Uncensored

Specs

Model ID
kimi-k2-7-code
Endpoint
POST /api/v1/chat/completions
Context window
256,000 tokens
Max output
65,536 tokens
Reasoning
low · medium · high · default high
Precision
INT4
Privacy
Private
Added
Jun 13, 2026

Compare

ModelInputOutputGPQA DiamondContextMax outputFirst tokenSpeed
Kimi K2.7 Code$0.75$3.5084.3%256K64K——
Qwen 3.6 Plus Uncensored$0.625$3.7589.9%1M64K——
NVIDIA Nemotron 3 Ultra$0.625$3.1379.8%256K32K——
Seed 2.1 Turbo$0.625$3.1370.7%256K64K——
Grok Build 0.1$1.00$2.0089.6%256K64K——

Pricing

Billed per token in USD. Reasoning tokens bill as output.

Input$0.75per 1M tokens
Cached input$0.1679% off input
Output$3.50per 1M tokens

Estimate a workload

$0.0032per request
$32.50for 10,000 requests

Blended price against similar models

Kimi K2.7 Code$1.44

Per 1M tokens at three input tokens for each output token.

Quickstart

OpenAI-compatible: point any OpenAI SDK at the Venice base URL with a Venice API key.

curl https://api.venice.ai/api/v1/chat/completions \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2-7-code",
"messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
"reasoning_effort": "high"
}'
Base URL https://api.venice.ai/api/v1

Parameters

ParameterValuesNotes
modelkimi-k2-7-codeRequired
messagestext · image_urlContent parts the model reads
max_completion_tokensUp to 65,536Counts reasoning tokens
reasoning_effortlow | medium | highDefault high
toolsFunction definitionsWith tool_choice
response_format{ type: "json_schema" }Output that matches a schema
streamtrue | falseServer-sent events
venice_parameters.enable_web_searchauto | on | offWeb results and citations