kimi-k2.7-code

Operational
Ranked #38 in the capability rankings
Reasoning
Tools
Files
Open weights
Vision
Video
256K

Standard & Paid Price

The locked value is the exact Paid Price after your first top-up; the discount is derived from the two absolute prices
Unlock with a top-up
MeterStandard PricePaid PriceSave
Input price$0.9500 / 1M tokens$0.7600 / 1M tokens-20%
Completion price$4.0000 / 1M tokens$3.2000 / 1M tokens-20%
Cache read price$0.1900 / 1M tokens$0.1520 / 1M tokens-20%
Billing details
Vendor list price comparison

Description

Moonshot Kimi K2.7 Code — Kimi's dedicated coding model, which the vendor measures as improving instruction compliance and long-horizon coding over K2.6 while cutting overthinking by about 30% on average. 256K context window, 32,768 default output tokens. Accepts text, images, and video as base64 content and returns text. Thinking is mandatory and returns an error if disabled; tool_choice is limited to auto or none and reasoning_content must be carried across multi-step tool calls.

Capabilities

Input modalities
text, image, video
Output modalities
text
Tasks
chat, reasoning, vision, file-video-understanding

API endpoints

  • POST /v1/messages (anthropic)
  • POST /v1/chat/completions (openai)