Kimi+ 会员限时特惠
Kimi K3 · 15 天免费体验
2.8T 前沿模型 · 100 万 token 上下文 · 深度研究
免费 ¥199 / 15 天
  • Kimi K3 无限畅聊:2.8T 参数前沿模型
  • 100 万 token 上下文,超长文档轻松解析
  • Deep Research 深度研究,多格式专业报告
  • Agent Swarm 智能体集群,并行处理任务
  • AI Slides · Sheets · Docs 咨询级办公产出
立即开启 15 天免费体验
Skip to content

Model Configuration

This page covers the models Kimi Code provides and how to switch between them in each client.

Model Overview

Kimi Code currently offers three models—K3, K2.8 Preview, and K2.7 Code HighSpeed—across four model IDs, selectable by model ID in clients or third-party tools. Model specs:

Recommended model launch

K2.8 Preview is now fully rolled out in Kimi Code — kimi-for-coding is upgraded in place with no configuration changes: performance close to K3, with low / high / max thinking effort levels and up to 1M context. See What's New.

Model IDk3k3-256kkimi-for-codingkimi-for-coding-highspeed
Model versionK3K3K2.8 PreviewK2.7 Code HighSpeed
DescriptionThe most capable flagship coding model: 2.8T parameters, 1M context windowThe 256K context version of K3 — k3 (1M) consumes about twice as much quota as k3-256kPerformance close to K3 with more efficient thinking; good at code completion and routine development tasksThe high-speed version of K2.7 Code, with the same coding ability and ~5–6× faster output
SpeedRegularRegularRegularHighSpeed (6× speed, 3× quota usage)
Context window1048576 (for higher-tier members)262144 only1048576262144
Reasoningreasoning_effort:low / high / max
(default high)
reasoning_effort:low / high / max (default high)reasoning_effort:low / high / max
(default max)
Thinking:ON
Availability (new plans)Plus and above
1M context for Pro and above
Plus and abovePlus and abovePro and above
Availability (legacy plans)Moderato and above
1M context for Allegretto and above
Moderato and aboveAndante and aboveAllegretto and above
Multimodal inputImage, videoImage onlyImage, videoImage, video

Need a higher membership plan?

Different membership plans unlock different models, context windows, and speeds. Upgrade your plan →

Why did usage go up after the new model launched?

After switching models, the context cache built earlier no longer hits on the new model, so that context has to be re-prefilled. Usage therefore looks higher right after switching. Recommended action:

  • Start a new session when using the new model: this gives better results and lower consumption.
Why do I still get a 401 with the correct model ID?

When the requested capability exceeds your plan's entitlements, the server returns 401. Three common cases:

  • No K3 access: your plan is below Moderato / Plus and can't call k3, k3-256k (the new Go tier has no coding quota) — upgrade to Moderato / Plus or above.
  • No 1M access: on a Moderato / Plus plan, k3 supports up to 256K context; up to 1M context is available on Allegretto / Pro or above. k3-256k has a fixed 256K context limit.
  • No HighSpeed access: some plans don't include HighSpeed — upgrade to Allegretto / Pro or above to call kimi-for-coding-highspeed.

For the full error text and how to handle it, see the Error Reference.

Why isn't HighSpeed noticeably faster?

Two common reasons:

  • Mistyped model ID: the HighSpeed ID must be kimi-for-coding-highspeed; a wrong value silently falls back to the standard kimi-for-coding — no error, no speedup.
  • Tools and scripts dominate: HighSpeed only speeds up model output. Tool calls (reading/writing files, running commands, etc.) and script execution are unaffected, so when they take up most of a turn the overall speedup feels small.
How to reduce the overhead of switching reasoning effort?

Switching reasoning effort invalidates the context cache you've built up, so context that would have hit the cache must be re-prefilled. To avoid triggering re-prefill too often:

  • Pick an effort that fits the task and keep it consistent within a session;
  • When you genuinely need a different effort, start a new session rather than switching back and forth in a long session.
Switching between K3 (1M) and K3-256k

Switching from K3 (1M) to K3-256k: if the current session's context already exceeds 256k, some coding tools (such as Kimi Code CLI and Claude Code) will perform a compact on the tool side. Recommendations:

  1. Manually run compact once before switching to compress the context to within 256k. This preserves the key points of the task, keeps the session intact, and lets you benefit from more durable quota after switching.
  2. If the conversation history includes video files, switching directly will fail because K3-256k does not support video input. Please compact first, then switch.

Switching from K3-256k to K3 (1M): if k3-256k is close to the 256k limit and you don't want compact to lose information, you can switch directly to 1M. The current version switching from 256k to 1M does not affect the cache.

How to Switch Models

Usage notes

  • Start a new session when switching model IDs: switching models invalidates the context cache you've built up. We recommend starting a new session to get the best experience and avoid extra token consumption.
  • Fill in the Model ID, not the model version name: when calling a model, use one of the Model IDs from the table above (k3, k3-256k, kimi-for-coding, kimi-for-coding-highspeed). Entering a model version name like K3 or K2.8 Preview will cause the call to fail.
  • Thinking off routes to K2.8 Preview (no thinking): with thinking disabled, requests to the K3 series and K2.8 Preview are served by K2.8 Preview with thinking off.

Ways to switch to the target model:

Official clients

  • Kimi Code Desktop: switch models in the model picker inside the Composer; if the target model isn't listed yet, restart the app or sign in again.
  • Official Kimi Code CLI: type /model to switch models—no config changes needed; if the latest model isn't listed yet, /logout and sign in again with /login.
  • Kimi Code for VS Code: pick the target model from the dropdown menu in the input bar; if it isn't listed yet, restart VS Code or reinstall the extension.

Third-party tools

Set the tool's Model ID to the target model. Detailed steps:

  1. Create an API Key in the Kimi Code Console.
  2. Fill in the Base URL and the corresponding Model ID in your tool.

Kimi Code API supports both OpenAI and Anthropic protocols. Base URLs:

ProtocolBase URL
OpenAI compatibleChina https://api.kimi.com/coding/v1
Overseas https://api.kimi.ai/coding/v1
Anthropic compatibleChina https://api.kimi.com/coding/
Overseas https://api.kimi.ai/coding/

For detailed setup steps, see the corresponding tool guide:

Effort mapping in third-party tools

Both K3 and K2.8 Preview support low / high / max thinking effort levels; the effort a tool sends is mapped as below:

# default
null / undefined       → model default (high for K3, max for K2.8 Preview)
any other unknown       → HTTP 400 error

# → max
ultra / max / xhigh     → max

# → high (recommended)
high / medium           → high

# → low
low / minimum / light   → low

# → thinking disabled
none                    → thinking.type disabled