Benefits
- Unlimited Usage - No credit restrictions when using your own credentials
- Cost Control - Charges appear on your AWS bill, giving you full visibility and control
- Data Residency - Route requests through specific AWS regions (US, EU, APAC) for compliance
- Automatic Model Selection - System automatically chooses optimal models
- Seamless Fallback - Automatically falls back to platform credentials if your credentials fail
Prerequisites
- Advanced or Enterprise subscription plan - BYOK is only available for Advanced and Enterprise tier users
- AWS account with Amazon Bedrock access enabled
- IAM credentials with Bedrock permissions (access key ID and secret access key)
- Model access - Both Claude Sonnet 4.5 and Opus 4.5 models must be enabled in your AWS account
Supported Providers
- AWS IAM (Current)
- Bedrock API Keys (Coming Soon)
AWS IAM Credentials
Use your AWS IAM user or role credentials to authenticate with Amazon Bedrock.Required Credentials:- Access Key ID
- Secret Access Key
- Session Token (optional, for temporary credentials)
- Works with existing IAM users and roles
- Supports temporary credentials via AWS STS
- Automatic token refresh for session tokens
- Full integration with AWS security policies
Long-term credentials (AKIA prefix) enable automatic session token refresh. Temporary credentials (ASIA prefix) cannot be automatically refreshed.
AWS Bedrock Model Access
Before configuring BYOK, you must request access to Claude models in your AWS account. While AWS has simplified access for many serverless models (granted automatically upon first invocation), Claude models still require manual approval via a use case form. For more information, refer to the AWS Bedrock Model Access documentation.Request Access to Claude Models
1
Open Amazon Bedrock Console
Log in to AWS Console and navigate to
Amazon Bedrock
2
Navigate to Model Access
In the left navigation pane, click Model access
3
Modify Model Access
Click Modify model access button
4
Select Claude Models
Enable access to both:
- Claude Sonnet 4.5 (
anthropic.claude-sonnet-4-5-20250929-v1:0) - Claude Opus 4.5 (
anthropic.claude-opus-4-5-20251101-v1:0)
5
Submit Use Case Details
Click Submit use case details and complete the form with:
- Your use case description
- Expected usage patterns
- Compliance requirements (if applicable)
6
Wait for Approval
Access is typically granted immediately upon successful submission. You’ll
receive confirmation when access is enabled.
Important: You must request access to both Sonnet 4.5 and Opus 4.5
models. CloudThinker automatically selects the appropriate model based on task
requirements.
IAM Credentials Setup
Your AWS IAM user must have permissions to invoke Bedrock models. Follow these steps to create an IAM user with the required permissions using AWS CLI.Step 1: Create IAM User
Step 2: Create Policy File
Step 3: Attach Policy to User
Step 4: Create Access Keys
AccessKeyId and SecretAccessKey from the output - you’ll need these for CloudThinker.
Step 5: Verify Credentials
Configure a local profile to test the credentials:These commands require an AWS profile with IAM administrative permissions (
iam:CreateUser, iam:PutUserPolicy, iam:CreateAccessKey). Alternatively, you can create the IAM user via the AWS Console.Setup in CloudThinker
Once you have AWS Bedrock model access and IAM credentials configured, set up BYOK in CloudThinker:1
Navigate to BYOK Settings
Go to Settings → BYOK Settings (or navigate to
/byok-settings in
the app)2
Select AWS Bedrock
Choose AWS Bedrock as your provider
3
Enter Credentials
Provide your AWS credentials:
- Access Key ID - Your AWS access key (AKIA or ASIA prefix)
- Secret Access Key - Your AWS secret key
- Session Token (optional) - Required only for temporary credentials
4
Select Inference Profile
Choose an inference profile:
- Global - Routes to any commercial AWS region
- US - Routes within US regions only
- EU - Routes within EU regions only (data residency)
- APAC - Routes within APAC regions only
5
Test Connection
Click Test Connection to verify:
- Credentials are valid
- Both Sonnet 4.5 and Opus 4.5 models are accessible
- Permissions are correctly configured
6
Save Configuration
After successful test, click Save to store your BYOK configuration
Inference Profiles
Bedrock inference profiles control how requests are routed across AWS regions. Choose the profile that best matches your requirements:| Profile | Purpose |
|---|---|
| Global | Routes to any commercial AWS region for maximum throughput |
| US | Routes within US regions only for US data residency |
| EU | Routes within EU regions only for GDPR compliance |
| APAC | Routes within APAC regions only for regional data residency |
For supported regions and inference profile details, refer to the AWS Bedrock Supported Regions and Models documentation.
How It Works
Automatic Model Selection
CloudThinker automatically selects the optimal model based on task requirements. You don’t need to manually select models - the system chooses the best option automatically. For more details about the available models, refer to the AWS Bedrock Supported Foundation Models documentation.Workspace Owner Inheritance
When a workspace owner configures BYOK, all workspace members automatically inherit access to those credentials. This means:- Workspace owner configures BYOK once
- All members can use BYOK without individual configuration
- Credentials are managed centrally by the workspace owner
- Members’ LLM usage routes through the owner’s AWS account
Fallback Mechanism
If your BYOK credentials fail (due to rate limits, expired tokens, or permission issues), CloudThinker automatically falls back to platform credentials. This ensures:- No service interruption
- Seamless user experience
- Automatic recovery when credentials are restored
Troubleshooting
Model access denied errors
Model access denied errors
- Verify you’ve submitted the use case form in Bedrock Console
- Check that both Sonnet 4.5 and Opus 4.5 models are enabled
- Confirm access was granted (check Model access page in Bedrock Console)
- Wait a few minutes after form submission for access to propagate
IAM permission errors
IAM permission errors
- Verify your IAM policy includes
bedrock:InvokeModelandbedrock:InvokeModelWithResponseStream - Check that model ARNs in the policy match the models you’re using
- Ensure inference profile ARNs are included if using profiles (global, us, eu, apac)
- Test IAM permissions directly in AWS Console
Credential validation failures
Credential validation failures
- Verify access key ID and secret access key are correct
- Check that credentials haven’t been rotated or revoked
- For temporary credentials, ensure session token hasn’t expired
- Test credentials using AWS CLI:
aws sts get-caller-identity
Test connection fails
Test connection fails
- Verify both Sonnet 4.5 and Opus 4.5 models are accessible
- Check IAM permissions include both model ARNs
- Ensure Bedrock service is enabled in your AWS account
- Check AWS region selection matches your model access
BYOK not working in workspace
BYOK not working in workspace
- Verify workspace owner has configured BYOK
- Check that BYOK is enabled (not disabled) in settings
- Confirm workspace owner’s plan is Advanced or Enterprise
- Check workspace owner’s credentials are still valid
Session token expiration
Session token expiration
- Long-term credentials (AKIA) are automatically refreshed
- Temporary credentials (ASIA) cannot be refreshed - reconfigure with new credentials
- Check
session_token_expires_attimestamp in configuration - Reconfigure if automatic refresh fails