Skip to content

Commit 0bcbe71

Browse files
committed
fix: correct Bedrock model ID for Claude Opus 4.6
Remove the :0 suffix from the Claude Opus 4.6 model ID to match the correct AWS Bedrock model identifier. The model ID was "anthropic.claude-opus-4-6-v1:0" but should be "anthropic.claude-opus-4-6-v1" per AWS Bedrock documentation. Fixes #11231
1 parent 2d5e633 commit 0bcbe71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/types/src/providers/bedrock.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const bedrockModels = {
119119
maxCachePoints: 4,
120120
cachableFields: ["system", "messages", "tools"],
121121
},
122-
"anthropic.claude-opus-4-6-v1:0": {
122+
"anthropic.claude-opus-4-6-v1": {
123123
maxTokens: 8192,
124124
contextWindow: 200_000, // Default 200K, extendable to 1M with beta flag 'context-1m-2025-08-07'
125125
supportsImages: true,
@@ -499,7 +499,7 @@ export const BEDROCK_REGIONS = [
499499
export const BEDROCK_1M_CONTEXT_MODEL_IDS = [
500500
"anthropic.claude-sonnet-4-20250514-v1:0",
501501
"anthropic.claude-sonnet-4-5-20250929-v1:0",
502-
"anthropic.claude-opus-4-6-v1:0",
502+
"anthropic.claude-opus-4-6-v1",
503503
] as const
504504

505505
// Amazon Bedrock models that support Global Inference profiles
@@ -514,7 +514,7 @@ export const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS = [
514514
"anthropic.claude-sonnet-4-5-20250929-v1:0",
515515
"anthropic.claude-haiku-4-5-20251001-v1:0",
516516
"anthropic.claude-opus-4-5-20251101-v1:0",
517-
"anthropic.claude-opus-4-6-v1:0",
517+
"anthropic.claude-opus-4-6-v1",
518518
] as const
519519

520520
// Amazon Bedrock Service Tier types

0 commit comments

Comments
 (0)