Moonshot AIKimi K2.7

Kimi K2.7 Code

Kimi K2.7 Code is a coding-focused multimodal model. It requires thinking mode. Downloadable weights remain listed under a modified MIT license.

Deprecated API; check access details

Check eligibility before integration

Practical guidance. A retained API guide does not establish that a new account can call its model. For new work, check the current catalog and account eligibility before building around this endpoint. Existing integrations should plan a migration without treating their current responses as evidence of indefinite support.

Use visual evidence in coding work

The guide supports image and video inputs with tool calls. Media token usage depends on image resolution and video keyframes. Moonshot recommends no more than 4K images or Full HD video for this workflow.Kimi K2.7 Code API guide

Practical guidance. For a visual bug, provide the relevant screen or short clip. Sending a full recording can add processing and review cost without clarifying the failing step.

K3 tool loading needs a separate adapter

Dynamic tool declarations within system messages are documented for K3.1 Pro and K3. Other models can fail with a tokenization error.Kimi dynamic tool loading

Practical guidance. Keep model-specific request construction explicit during migration. Test the old and new tool flows against their own request contracts.

Highspeed endpoint

This endpoint serves the same K2.7 Code model at a higher output rate. Moonshot gives approximate rates of 180 tokens per second, rising to 260 in short-context cases.Kimi K2.7 Code API guide

Practical guidance. Use the exact endpoint identifier and price when comparing response times and costs. Compare complete tasks with the same prompts and tool inputs.

Specifications & access

Kimi K2.7 Code specifications
DetailValue and conditions
StatusDeprecated API; check access details
AccessAPI, Downloadable
Model identifierskimi-k2.7-codemoonshotai/Kimi-K2.7-Codekimi-k2.7-code-highspeed
Context window262,144 tokens

Published API context limit. Input, reasoning and output must fit within the request budget.

Kimi inference billing
API eligibilityExisting users registered before 1 November 2026; planned retirement in late December 2026.Kimi model catalog
WeightsPublished by Moonshot AI under Modified MIT terms. API retirement and weight availability are separate.Kimi K2.7 Code model card

Related models

  • A K3-derived multimodal model with sparse attention, 2.8T total parameters and 104B active parameters.

    Launch date not confirmedAPI · Downloadable
  • A text, image and video model with selectable thinking and non-thinking modes.

    Launch date not confirmedDeprecated API; check access detailsAPI · Downloadable