Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions relay/channel/aws/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var awsModelIDMap = map[string]string{
"claude-opus-4-20250514": "anthropic.claude-opus-4-20250514-v1:0",
"claude-opus-4-1-20250805": "anthropic.claude-opus-4-1-20250805-v1:0",
"claude-sonnet-4-5-20250929": "anthropic.claude-sonnet-4-5-20250929-v1:0",
"claude-haiku-4-5-20251001": "anthropic.claude-haiku-4-5-20251001-v1:0",
// Nova models
"nova-micro-v1:0": "amazon.nova-micro-v1:0",
"nova-lite-v1:0": "amazon.nova-lite-v1:0",
Expand Down Expand Up @@ -75,6 +76,11 @@ var awsModelCanCrossRegionMap = map[string]map[string]bool{
"ap": true,
"eu": true,
},
"anthropic.claude-haiku-4-5-20251001-v1:0": {
"us": true,
"ap": true,
"eu": true,
},
Comment on lines +79 to +83

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

LGTM! Verify regional availability with AWS Bedrock documentation.

The cross-region configuration is consistent with similar Claude 4.5 models and correctly uses the full model ID as the key.

Please verify that the regional availability (us, ap, eu) is accurate for this model:


🌐 Web query:

AWS Bedrock Claude Haiku 4.5 20251001 regional availability

💡 Result:

Short answer — As of the Claude Haiku 4.5 release (model id/date 2025-10-01), Amazon Bedrock exposes Haiku 4.5 via global cross-region inference and region-specific (US and EU) inference profiles. Key details:

  • Global inference profile id: global.anthropic.claude-haiku-4-5-20251001-v1:0; callable from us-west-2, us-east-2, and us-east-1 (routes to all commercial AWS Regions). [1][2]

  • US (regional) profile id: us.anthropic.claude-haiku-4-5-20251001-v1:0; source Regions that can call it: us-west-2, us-west-1, us-east-2, us-east-1 (destination routing includes us-east-1, us-east-2, us-west-1, us-west-2 as shown per source). [1]

  • EU (regional) profile id: eu.anthropic.claude-haiku-4-5-20251001-v1:0; source Regions listed include eu-west-3, eu-west-2, eu-west-1, eu-south-2, eu-south-1, eu-north-1, eu-central-2, eu-central-1 with destination routing across EU regions (eu-central-1, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-3). [1]

  • Anthropic docs confirm the Bedrock model name mapping for Haiku 4.5: anthropic.claude-haiku-4-5-20251001-v1:0 (Bedrock) / claude-haiku-4-5-20251001 (Claude API). [2]

Sources: AWS Bedrock documentation (inference profiles / region support) and Anthropic Claude 4.5 availability notes. [1][2]

References
[1] Amazon Bedrock — Supported inference profiles & region routing (model / inference-profile details).
[2] Anthropic — What's new / Claude 4.5 availability and Bedrock model names.


I found information about US and EU regional availability, but the search results don't explicitly confirm an AP (Asia Pacific) cross-region profile. Let me search more specifically for APAC region support:

Remove or correct the "ap" region entry—AWS Bedrock doesn't provide an APAC cross-region inference profile for Claude Haiku 4.5.

AWS Bedrock only documents an AU (Australia) inference profile for Claude Haiku 4.5, not an APAC or "ap" profile. A Global profile exists for this model, and a Japan-specific profile (jp.anthropic.claude-haiku-4-5-20251001-v1:0) is available, but there is no generic APAC cross-region profile documented.

Additionally, if an APAC profile did exist, the code should use the "apac" prefix (not "ap"), as AWS uses "us.", "eu.", or "apac." prefixes for inference profile IDs.

Either remove the "ap" entry or verify the intended region and use the correct prefix.

🤖 Prompt for AI Agents
In relay/channel/aws/constants.go around lines 79 to 83, the map entry for
"anthropic.claude-haiku-4-5-20251001-v1:0" incorrectly lists "ap" (APAC) which
is not a documented AWS Bedrock cross-region profile for Claude Haiku 4.5;
remove the "ap" entry or replace it with the correct documented region key
(e.g., "au" for Australia, "jp" for Japan, or a Global flag) and if an APAC
profile is intended use the proper "apac" prefix per AWS naming; update the
constant to match AWS Bedrock docs and verify the region keys in other entries
for consistency.

// Nova models - all support three major regions
"amazon.nova-micro-v1:0": {
"us": true,
Expand Down