1.5 KiB
1.5 KiB
sidebar_label
| sidebar_label |
|---|
| Bring Your Own Key (BYOK) |
Bring Your Own Key (BYOK) for Kilo Gateway
Bring Your Own Key (BYOK) lets you use your own API keys when using the Kilo Gateway, including Kilo platform features like Code Reviews and Cloud Agents.
A user or organization may want to use BYOK to:
- Use subscriptions with third-party AI providers, for example Z.AI or Minimax
- Attribute usage against existing provider commitments or agreements
- Use existing credits with a provider
Supported BYOK providers
Kilo Gateway currently supports BYOK keys for these providers:
- Anthropic
- OpenAI
- Google AI Studio
- Minimax
- Mistral AI
- xAI
- Z.AI
Add a BYOK key
- Log into the Kilo platform and select the account or organization you want to add the BYOK key to.
- Navigate to the Bring Your Own Key (BYOK) page, available in the sidebar under
Account. - Click
Add Your First Key, select the provider, and paste your API key. - Save.
How Bring Your Own Key works
- When you use the Kilo Gateway provider, Kilo checks if there’s a BYOK key for the selected model’s provider.
- If a matching BYOK key exists, the request is routed using your key.
- If the key is invalid, the request fails. It does not fall back to using Kilo's keys.
Limitations
- BYOK is not fully supported by Agent Manager. See Agent Manager for details.