mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
## Summary Follows up on https://github.com/coder/coder/pull/24032 Renames "Coder session token" to "Coder API token" in AI Gateway client documentation pages. Also renames the `CODER_SESSION_TOKEN` env var to `CODER_API_TOKEN` in Codex CLI examples and Copilot proxy configuration. Note: "Coder session token" is still used in some parts of the documentation where it make sense. --------- Co-authored-by: Susana Ferreira <susana@coder.com>
1.3 KiB
1.3 KiB
Kilo Code
Kilo Code allows you to configure providers via the UI and can be set up to use AI Gateway.
Centralized API Key
OpenAI Compatible
- Open Kilo Code in VS Code.
- Go to Settings.
- Provider: Select OpenAI.
- Base URL: Enter
https://coder.example.com/api/v2/aibridge/openai/v1. - API Key: Enter your Coder API token.
- Model ID: Enter the model you wish to use (e.g.,
gpt-5.2-codex).
Anthropic
- Open Kilo Code in VS Code.
- Go to Settings.
- Provider: Select Anthropic.
- Base URL: Enter
https://coder.example.com/api/v2/aibridge/anthropic. - API Key: Enter your Coder API token.
- 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

