Claude Code is a programming agent product from Anthropic. Its interface, configuration options, and supported capabilities may change across Claude Code versions. This guide is based on the official Kimi API calling method and describes a general integration approach: forwarding Claude Code model requests to the Kimi API through environment variables.
Install Claude Code
If you have already installed Claude Code, you can skip this step.macOS And Linux
Windows
Configure Environment Variables
After installing Claude Code, set the environment variables as shown below and then start Claude.Get an API Key: Visit Kimi Open Platform to create an API key, and choose the default project.
macOS And Linux
Windows
Confirm That The Environment Variables Took Effect
In Claude Code, enter/status to confirm the model status:

Try Thinking Mode
After configuring the model, open Claude Code and pressTab to switch modes. If the switch succeeds, you will see the “Thinking on” indicator.
