Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Setup guide - Documented by Cline

Use Kimi in Cline

Cline has a built-in Moonshot provider. The docs give a shared flow: select Moonshot under API Provider, paste the key, choose a model. In the current Cline source the provider defaults to kimi-k3, with a Moonshot Entrypoint selector for api.moonshot.ai or api.moonshot.cn.

Last verified 5 steps4 official sources

Steps

  1. Step 1.

    Sign in to the Moonshot platform and create an API key in account settings.

  2. Step 2.

    Open Cline settings.

  3. Step 3.

    Select Moonshot from API Provider and paste your key in the matching credential field.

  4. Step 4.

    In Moonshot Entrypoint, choose api.moonshot.ai (the international endpoint that matches platform.kimi.ai keys).

  5. Step 5.

    Choose a model from Model, for example kimi-k3.

Caveats

  • The Cline docs page gives only the generic three-step flow. The Moonshot Entrypoint dropdown (api.moonshot.ai / api.moonshot.cn), the default model kimi-k3, the base URL https://api.moonshot.ai/v1 and MOONSHOT_API_KEY come from the official cline/cline repo (MoonshotProvider.tsx and sdk/packages/llms/src/providers/providers.generated.ts, read 2026-10-17).
  • Kimi's docs say keys created on platform.kimi.ai only work with https://api.moonshot.ai/v1, so leave the entrypoint on api.moonshot.ai unless your key is from platform.moonshot.cn.

FAQ

How do I use Kimi in Cline?

Cline has a built-in Moonshot provider. The docs give a shared flow: select Moonshot under API Provider, paste the key, choose a model. In the current Cline source the provider defaults to kimi-k3, with a Moonshot Entrypoint selector for api.moonshot.ai or api.moonshot.cn.

Which Kimi model ids work in Cline?

The official docs read for this guide list kimi-k3, kimi-k2.7-code and kimi-k2.6. Requests go to https://api.moonshot.ai/v1.

Is this an official Kimi and Cline setup?

Cline documents this setup in its own docs. It was last checked against 4 official pages on October 17, 2026.

Sources

Last verified against 4 official pages.

Newsletter

New models, set up the day they ship

One email per week. New model releases, the coding tools that support them and how to wire them up.