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
3 changes: 3 additions & 0 deletions packages/proxy/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = {
"accounts/fireworks/models/mistral-small-24b-instruct-2501": ["fireworks"],
"accounts/fireworks/models/mixtral-8x7b-instruct": ["fireworks"],
"accounts/fireworks/models/phi-3-vision-128k-instruct": ["fireworks"],
"anthropic.claude-sonnet-4-6": ["bedrock"],

Choose a reason for hiding this comment

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

P1 Badge Use versioned Bedrock model IDs for Sonnet 4.6

The new Bedrock entries use anthropic.claude-sonnet-4-6 / us.anthropic.claude-sonnet-4-6, but every other Anthropic Bedrock ID in this table is versioned (for example ...-v1:0 immediately below), and the Bedrock client forwards the selected model string directly as modelId (packages/proxy/src/providers/bedrock.ts). In environments using Bedrock secrets, this makes the newly added Sonnet 4.6 model selection fail with an unknown/invalid model ID instead of invoking Anthropic Sonnet 4.6.

Useful? React with 👍 / 👎.

Copy link
Contributor Author

@knjiang knjiang Feb 17, 2026

Choose a reason for hiding this comment

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

image

according to website this is the format for sonnet-46

"us.anthropic.claude-sonnet-4-6": ["bedrock"],
"anthropic.claude-sonnet-4-5-20250929-v1:0": ["bedrock"],
"us.anthropic.claude-sonnet-4-5-20250929-v1:0": ["bedrock"],
"anthropic.claude-sonnet-4-20250514-v1:0": ["bedrock"],
Expand Down Expand Up @@ -560,6 +562,7 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = {
"publishers/mistralai/models/mistral-nemo": ["vertex"],
"publishers/mistralai/models/codestral-2501": ["vertex"],
"publishers/qwen/models/qwen3-235b-a22b-instruct-2507-maas": ["vertex"],
"publishers/anthropic/models/claude-sonnet-4-6": ["vertex"],
"publishers/anthropic/models/claude-sonnet-4-5": ["vertex"],
"publishers/anthropic/models/claude-sonnet-4-5@20250929": ["vertex"],
"publishers/anthropic/models/claude-sonnet-4": ["vertex"],
Expand Down
55 changes: 55 additions & 0 deletions packages/proxy/schema/model_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,20 @@
"displayName": "Text Davinci 003",
"deprecated": true
},
"claude-sonnet-4-6": {
"format": "anthropic",
"flavor": "chat",
"multimodal": true,
"input_cost_per_mil_tokens": 3,
"output_cost_per_mil_tokens": 15,
"input_cache_read_cost_per_mil_tokens": 0.3,
"input_cache_write_cost_per_mil_tokens": 3.75,
"displayName": "Claude 4.6 Sonnet",
"reasoning": true,
"reasoning_budget": true,
"max_input_tokens": 200000,
"max_output_tokens": 64000
},
"claude-sonnet-4-5": {
"format": "anthropic",
"flavor": "chat",
Expand Down Expand Up @@ -3194,6 +3208,35 @@
"max_input_tokens": 42000,
"max_output_tokens": 4000
},
"us.anthropic.claude-sonnet-4-6": {
"format": "anthropic",
"flavor": "chat",
"multimodal": true,
"input_cost_per_mil_tokens": 3.3,
"output_cost_per_mil_tokens": 16.5,
"input_cache_read_cost_per_mil_tokens": 0.33,
"input_cache_write_cost_per_mil_tokens": 4.125,
"displayName": "US Claude 4.6 Sonnet",
"reasoning": true,
"reasoning_budget": true,
"parent": "anthropic.claude-sonnet-4-6",
"max_input_tokens": 200000,
"max_output_tokens": 64000
},
"anthropic.claude-sonnet-4-6": {
"format": "anthropic",
"flavor": "chat",
"multimodal": true,
"input_cost_per_mil_tokens": 3,
"output_cost_per_mil_tokens": 15,
"input_cache_read_cost_per_mil_tokens": 0.3,
"input_cache_write_cost_per_mil_tokens": 3.75,
"displayName": "Claude 4.6 Sonnet",
"reasoning": true,
"reasoning_budget": true,
"max_input_tokens": 200000,
"max_output_tokens": 64000
},
"anthropic.claude-sonnet-4-5-20250929-v1:0": {
"format": "anthropic",
"flavor": "chat",
Expand Down Expand Up @@ -4042,6 +4085,18 @@
"flavor": "chat",
"parent": "publishers/google/models/gemini-1.0-pro"
},
"publishers/anthropic/models/claude-sonnet-4-6": {
"format": "anthropic",
"flavor": "chat",
"multimodal": true,
"input_cost_per_mil_tokens": 3,
"output_cost_per_mil_tokens": 15,
"displayName": "Claude 4.6 Sonnet",
"reasoning": true,
"reasoning_budget": true,
"max_input_tokens": 200000,
"max_output_tokens": 64000
},
"publishers/anthropic/models/claude-sonnet-4-5": {
"format": "anthropic",
"flavor": "chat",
Expand Down