Skip to main content
Bring your own key
Bring your own key

Add a Moonshot API key to Kilo

Moonshot BYOK is the pay-as-you-go API route. It is different from a Kimi Code membership key.

Models
Kimi models offered through the Moonshot API
Billing
Provider pay-as-you-go billing
Connect with
Moonshot API key

How to connect Moonshot AI to Kilo

  1. 1

    Create a Moonshot AI moonshot api key

    Sign in to Moonshot AI, enable API billing if required, and create a credential for Kilo. Copy it when it is shown and keep it private.

  2. 2

    Open Kilo BYOK settings

    Open the Kilo BYOK page and choose Moonshot AI from the provider list.

  3. 3

    Add the moonshot api key

    Paste the Moonshot AI credential, complete any provider-specific fields, and save it. Kilo validates the configuration before using it.

  4. 4

    Select a model and verify usage

    Choose a model supplied by Moonshot AI, send a test request, and confirm the request appears in your provider usage dashboard.

Before you connect

  • Do not use this entry for Kimi Code membership quota.
  • Use the Kimi Code subscription guide for a plan-specific key.

Compare this with every inference option

Compare subscriptions, provider keys, Kilo Gateway, and local models before choosing how to power Kilo.

View the inference comparison