Skip to main content
Watch: Anthropic Just Hit the Brakes on Its Next AI Model

Setup guide - Documented by Continue

Use Kimi in Continue

Continue documents a built-in moonshot provider in config.yaml with apiKey, apiBase and model options. Its default apiBase is the China endpoint and its listed models are deprecated or missing from Moonshot's model list, so set apiBase to Kimi's international base URL and model to kimi-k3.1-pro.

Last verified 2 steps4 official sources

Steps

  1. Step 1.

    Get an API key from the Kimi API Platform (https://platform.kimi.ai/console/api-keys).

  2. Step 2.

    Add a moonshot model to your Continue config.yaml. Continue documents apiBase as a configurable option; override it to Kimi's international endpoint and use a current model id.

    YAML
    name: My Config
    version: 0.0.1
    schema: v1
    
    models:
      - name: Kimi K3.1 Pro
        provider: moonshot
        model: kimi-k3.1-pro
        apiKey: <YOUR_MOONSHOT_API_KEY>
        apiBase: https://api.moonshot.ai/v1/

Caveats

  • This combines Continue's documented moonshot provider and apiBase option with Moonshot's documented base URL (https://api.moonshot.ai/v1) and current model id. Continue's own example uses model: kimi-k2.
  • Continue's default apiBase is https://api.moonshot.cn/v1/. Moonshot says platform.kimi.ai keys only work with https://api.moonshot.ai/v1, so the override is needed for international keys.
  • Of the models Continue's page lists, kimi-k2.5 and moonshot-v1-8k/32k/128k appear under Deprecated Models on Moonshot's model list, and kimi-k2 does not appear there at all.

FAQ

How do I use Kimi in Continue?

Continue documents a built-in moonshot provider in config.yaml with apiKey, apiBase and model options. Its default apiBase is the China endpoint and its listed models are deprecated or missing from Moonshot's model list, so set apiBase to Kimi's international base URL and model to kimi-k3.1-pro.

Which Kimi model ids work in Continue?

The official docs read for this guide list kimi-k3.1-pro and kimi-k3. Requests go to https://api.moonshot.ai/v1/.

Is this an official Kimi and Continue setup?

Continue documents this setup in its own docs. It was last checked against 4 official pages on November 8, 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.