packages/kilo-docs/pages/getting-started/byok.md
Bring Your Own Key (BYOK) lets you use your own API keys when using the Kilo Gateway, while retaining Kilo platform features like Code Reviews and Cloud Agents.
A user or organization may want to use BYOK to:
Kilo Gateway supports BYOK keys for these providers.
Use your provider API key to route matching models through your account:
These providers offer coding-focused subscriptions or dedicated endpoints. Bring the API key issued by your plan to use its included models through the Kilo Gateway:
Account.Add Your First Key, select the provider, and paste your API key.AWS Bedrock requires credentials in a different format than other providers. Instead of a single API key, you must provide your AWS credentials as a JSON object:
{
"accessKeyId": "AKIA...",
"secretAccessKey": "...",
"region": "us-east-1"
}
| Field | Description |
|---|---|
accessKeyId | Your AWS access key ID |
secretAccessKey | Your AWS secret access key |
region | The AWS region where Bedrock is enabled (e.g., us-east-1, eu-west-1) |
Your IAM user or role must have the following permissions:
bedrock:InvokeModelbedrock:InvokeModelWithResponseStreamBYOK badge in the model picker. The badge does not apply to models selected through other providers.BYOK badge, for example Claude Sonnet 4.5 if you configured BYOK for Anthropic, or GLM-4.7 if you configured the Z.ai Coding Plan.