Skip to content
Merged
Show file tree
Hide file tree
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: 3 additions & 3 deletions packages/types/src/providers/bedrock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const bedrockModels = {
maxCachePoints: 4,
cachableFields: ["system", "messages", "tools"],
},
"anthropic.claude-sonnet-4-6-20260114-v1:0": {
"anthropic.claude-sonnet-4-6": {
maxTokens: 8192,
contextWindow: 200_000, // Default 200K, extendable to 1M with beta flag 'context-1m-2025-08-07'
supportsImages: true,
Expand Down Expand Up @@ -523,7 +523,7 @@ export const BEDROCK_REGIONS = [
export const BEDROCK_1M_CONTEXT_MODEL_IDS = [
"anthropic.claude-sonnet-4-20250514-v1:0",
"anthropic.claude-sonnet-4-5-20250929-v1:0",
"anthropic.claude-sonnet-4-6-20260114-v1:0",
"anthropic.claude-sonnet-4-6",
"anthropic.claude-opus-4-6-v1",
] as const

Expand All @@ -538,7 +538,7 @@ export const BEDROCK_1M_CONTEXT_MODEL_IDS = [
export const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS = [
"anthropic.claude-sonnet-4-20250514-v1:0",
"anthropic.claude-sonnet-4-5-20250929-v1:0",
"anthropic.claude-sonnet-4-6-20260114-v1:0",
"anthropic.claude-sonnet-4-6",
"anthropic.claude-haiku-4-5-20251001-v1:0",
"anthropic.claude-opus-4-5-20251101-v1:0",
"anthropic.claude-opus-4-6-v1",
Expand Down
2 changes: 1 addition & 1 deletion src/api/providers/__tests__/bedrock.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ describe("AwsBedrockHandler", () => {

it("should apply 1M tier pricing when awsBedrock1MContext is true for Claude Sonnet 4.6", () => {
const handler = new AwsBedrockHandler({
apiModelId: "anthropic.claude-sonnet-4-6-20260114-v1:0",
apiModelId: "anthropic.claude-sonnet-4-6",
awsAccessKey: "test",
awsSecretKey: "test",
awsRegion: "us-east-1",
Expand Down
Loading