Coder logo

Kilo Code

Kilo Code

> [!NOTE] > AI Gateway is part of AI Governance, which is > included with a Premium license.

Kilo Code allows you to configure providers via the UI and can be set up to use AI Gateway.

Centralized API Key

OpenAI Compatible

  1. Open Kilo Code in VS Code.
  2. Go to Settings.
  3. Provider: Select OpenAI.
  4. Base URL: Enter https://coder.kyzdt.dev/api/v2/ai-gateway/openai/v1.
  5. API Key: Enter your Coder API token.
  6. Model ID: Enter the model you wish to use (e.g., gpt-5.2-codex).

Anthropic

  1. Open Kilo Code in VS Code.
  2. Go to Settings.
  3. Provider: Select Anthropic.
  4. Base URL: Enter https://coder.kyzdt.dev/api/v2/ai-gateway/anthropic.
  5. API Key: Enter your Coder API token.
  6. Model ID: Select your desired Claude model.

BYOK (Personal API Key)

> [!NOTE] > Kilo Code supports sending custom headers, but the integration does not currently work reliably with AI Gateway.

References: Kilo Code Configuration