AI Studio currently supports Bedrock models in
us-east-1, us-west-1,
us-west-2, and eu-west-1 regions only. See Regional
considerations for details.Prerequisites
Before adding Bedrock models to AI Studio, you need:- An AWS account with access to Amazon Bedrock
- Credentials for one of the supported authentication methods (see Configure AWS credentials)
- Permission to invoke the models you want to use in your selected region
Configure AWS credentials
AI Studio supports three authentication methods for AWS Bedrock. Choose the method that matches how your organization manages AWS access.- Bedrock API key
- AWS access keys
- AWS assume role
Amazon Bedrock API keys authenticate requests with a bearer token. Generate a long-term key in the Amazon Bedrock console.
- Sign in to the Amazon Bedrock console
- In the left navigation pane, select API keys
- Open the Long-term API keys tab and select Generate long-term API keys
- Choose an expiration period and optional advanced permissions
- Select Generate, then copy the key and store it securely
Add Bedrock models in AI Studio
After configuring your AWS credentials, add Bedrock models to AI Studio.- Navigate to Models & Guardrails > Models in AI Studio
- Under Bring your own model, select + Add model
- Select Amazon Bedrock as the provider, then select Next
- Select the model from the Model name dropdown
- Enter a unique Display name for the model
- Provide credentials using one of the following options (not both):
- Select an existing credential set from the Credentials name dropdown
- Enter a new Credential name and the authentication fields for your chosen method, using the values from Configure AWS credentials
- Configure team access:
- All teams: Anyone with builder access can use the model
- Specific teams: Restrict to selected teams
- Select Save
Regional considerations
AI Studio supports Bedrock models in the following AWS regions:- US East (
us-east-1) - US West (
us-west-1) - US West 2 (
us-west-2) - EU West (
eu-west-1)
Support for additional AWS regions is coming soon.
- Select a supported region where your credentials can invoke the model
- Ensure your credentials have permissions in the same region you select
- Some Bedrock models are only available in specific regions—check the Amazon Bedrock regional availability documentation
Monitor costs
AWS bills Bedrock usage directly to your AWS account based on the tokens processed. WRITER also charges a 10% pass-through fee on external model usage, paid via credits. AI Studio tracks usage and costs for external models, providing visibility into spending across all your models in one place.Troubleshoot Bedrock configuration
Invalid credentials error
If you see an “Invalid credentials” or “Authentication failed” error:- Verify credentials are copied correctly without extra spaces
- For Bedrock API keys, confirm the key is still active and has not expired
- For access keys, check that the keys are still active in the IAM console
- For assume role, verify the Role ARN, External ID (if required), that the role trust policy allows the source principal, and that the source user’s identity policy allows
sts:AssumeRoleon the target role ARN - Ensure the credentials allow
bedrock:InvokeModelon the model or inference profile ARNs you configured - For streaming failures, confirm the policy also allows
bedrock:InvokeModelWithResponseStream
Model not available error
If a model doesn’t appear or returns an error:- Confirm the model appears in the Bedrock Model catalog for your region
- For Anthropic models, confirm you completed the first-time use form if prompted
- Verify you selected the correct region in AI Studio
- Check that your credentials allow access to the specific model or inference profile ARNs in your IAM policy
Duplicate model in WRITER Agent
If the model dropdown shows a confusing duplicate:- Check whether the same model is already enabled as a WRITER-managed catalog model on the Models page
- Use a distinct Display name for the BYOM entry, or delete the extra BYOM model if you intended to use the WRITER-managed version
Form will not save
If the Add model form does not save:- Clear either the Credentials name dropdown or the new credential fields so only one path is filled
- Confirm all required fields for the selected authentication method are complete
Next steps
- Add external models: Learn about managing external models in AI Studio
- Choose a model: Compare Palmyra models with external provider models
- Amazon Bedrock documentation: Explore Bedrock’s full capabilities