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

Setup guide - Documented by Goose

Use Kimi in Goose

goose ships a built-in declarative Moonshot provider, defined in the official block/goose repo. It reads MOONSHOT_API_KEY, takes an optional MOONSHOT_BASE_URL, and lists kimi-k3 (1,048,576 context), kimi-k2.7-code, kimi-k2.7-code-highspeed and kimi-k2.6. You set it up through the documented goose configure > Configure Providers flow.

Last verified 5 steps4 official sources

Steps

  1. Step 1.

    Run goose configure.

    Terminal
    goose configure
  2. Step 2.

    Select Configure Providers from the menu and press Enter.

  3. Step 3.

    Choose the Moonshot provider. Use the arrow keys to move through the options, or start typing to filter the list.

  4. Step 4.

    Enter your MOONSHOT_API_KEY when prompted. For MOONSHOT_BASE_URL, the provider definition says: "Use https://api.moonshot.ai/v1 for international access outside China Mainland."

    Snippet
    https://api.moonshot.ai/v1
  5. Step 5.

    Select kimi-k3 from the model list. The change takes effect the next time you start a session.

Caveats

  • The Moonshot provider, its env vars and its model list come from crates/goose-providers/src/declarative/definitions/moonshot.json in the official block/goose repo (read 2026-10-17). The goose docs provider table does not list Moonshot; the configure flow is the documented generic one.
  • MOONSHOT_BASE_URL defaults to https://api.moonshot.cn/v1/chat/completions (China endpoint). Kimi's docs say platform.kimi.ai keys only work with api.moonshot.ai, so international users must override it. The definition suggests https://api.moonshot.ai/v1; we did not test whether goose also needs the /chat/completions suffix there.
  • The bundled list also includes discontinued ids (kimi-k2-0711-preview, kimi-k2-0905-preview, kimi-k2-thinking, kimi-k2-thinking-turbo, kimi-k2-turbo-preview, kimi-k2.5). Do not pick these.
  • Per the goose docs, goose configure does not support entering custom model names; edit GOOSE_MODEL in config.yaml for models not in the list.

FAQ

How do I use Kimi in Goose?

goose ships a built-in declarative Moonshot provider, defined in the official block/goose repo. It reads MOONSHOT_API_KEY, takes an optional MOONSHOT_BASE_URL, and lists kimi-k3 (1,048,576 context), kimi-k2.7-code, kimi-k2.7-code-highspeed and kimi-k2.6. You set it up through the documented goose configure > Configure Providers flow.

Which Kimi model ids work in Goose?

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

Is this an official Kimi and Goose setup?

Goose 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.