Correct Bedrock Opus 4.6 model id (#9126)

This commit is contained in:
AJ Juaire
2026-02-05 12:21:37 -08:00
committed by GitHub
parent 462438ece5
commit 26391c94e9
4 changed files with 11 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"cline": patch
---
Fix Bedrock model id
+2 -2
View File
@@ -113,8 +113,8 @@ interface ProviderChainOptions {
// a special jp inference profile was created for opus 4.6, sonnet 4.5 & haiku 4.5
// https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html
const JP_SUPPORTED_CRIS_MODELS = [
"anthropic.claude-opus-4-6-v1:0",
"anthropic.claude-opus-4-6-v1:0:1m",
"anthropic.claude-opus-4-6-v1",
"anthropic.claude-opus-4-6-v1:1m",
"anthropic.claude-sonnet-4-5-20250929-v1:0",
"anthropic.claude-sonnet-4-5-20250929-v1:0:1m",
"anthropic.claude-haiku-4-5-20251001-v1:0",
+2 -2
View File
@@ -460,7 +460,7 @@ export const bedrockModels = {
cacheReadsPrice: 0.3,
tiers: CLAUDE_SONNET_1M_TIERS,
},
"anthropic.claude-opus-4-6-v1:0": {
"anthropic.claude-opus-4-6-v1": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
@@ -472,7 +472,7 @@ export const bedrockModels = {
cacheWritesPrice: 6.25,
cacheReadsPrice: 0.5,
},
"anthropic.claude-opus-4-6-v1:0:1m": {
"anthropic.claude-opus-4-6-v1:1m": {
maxTokens: 8192,
contextWindow: 1_000_000,
supportsImages: true,
@@ -13,8 +13,8 @@ import { getModeSpecificFields, normalizeApiConfiguration } from "../utils/provi
import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers"
export const SUPPORTED_BEDROCK_THINKING_MODELS = [
"anthropic.claude-opus-4-6-v1:0",
`anthropic.claude-opus-4-6-v1:0${CLAUDE_SONNET_1M_SUFFIX}`,
"anthropic.claude-opus-4-6-v1",
`anthropic.claude-opus-4-6-v1${CLAUDE_SONNET_1M_SUFFIX}`,
"anthropic.claude-3-7-sonnet-20250219-v1:0",
"anthropic.claude-sonnet-4-20250514-v1:0",
"anthropic.claude-sonnet-4-5-20250929-v1:0",