packages/kilo-docs/pages/ai-providers/bedrock.md
Kilo Code supports accessing models through Amazon Bedrock, a fully managed service that makes a selection of high-performing foundation models (FMs) from leading AI companies available via a single API. This provider connects directly to AWS Bedrock and authenticates with the provided credentials.
Website: https://aws.amazon.com/bedrock/
aws configure
You have three options for configuring AWS credentials:
bedrock:InvokeModel).{% tabs %} {% tab label="VSCode" %}
The extension stores these credentials in Kilo's credential store, not in kilo.json.
{% /tab %} {% tab label="CLI" %}
Bedrock supports a Bedrock API key or the AWS credentials chain.
Bedrock API key:
export AWS_BEARER_TOKEN_BEDROCK="your-bedrock-api-key"
AWS access key environment variables:
export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_SESSION_TOKEN="your-session-token" # Optional
export AWS_REGION="us-east-1"
Or use an AWS profile:
aws configure --profile bedrock
export AWS_PROFILE="bedrock"
Config file (~/.config/kilo/kilo.json or ./kilo.json):
{
"provider": {
"amazon-bedrock": {},
},
}
Then set your default model:
{
"model": "amazon-bedrock/anthropic.claude-sonnet-4-20250514-v1:0",
}
{% /tab %} {% /tabs %}
bedrock:InvokeModel permission is required.