From c19da446b8bdaefaeb1d4f79a896fa0fb94e4f2f Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 16 Apr 2026 21:47:58 +0530 Subject: [PATCH] Fix model names --- docs/my-website/blog/claude_opus_4_7/index.md | 2 +- litellm/constants.py | 3 +-- litellm/model_prices_and_context_window_backup.json | 10 +++++----- model_prices_and_context_window.json | 10 +++++----- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/docs/my-website/blog/claude_opus_4_7/index.md b/docs/my-website/blog/claude_opus_4_7/index.md index 16b4275e3ad..17c45e58de4 100644 --- a/docs/my-website/blog/claude_opus_4_7/index.md +++ b/docs/my-website/blog/claude_opus_4_7/index.md @@ -178,7 +178,7 @@ curl --location 'http://0.0.0.0:4000/chat/completions' \ model_list: - model_name: claude-opus-4-7 litellm_params: - model: bedrock/anthropic.claude-opus-4-7-v1 + model: bedrock/anthropic.claude-opus-4-7 aws_access_key_id: os.environ/AWS_ACCESS_KEY_ID aws_secret_access_key: os.environ/AWS_SECRET_ACCESS_KEY aws_region_name: us-east-1 diff --git a/litellm/constants.py b/litellm/constants.py index aee66f0eea5..fbdb5013dfb 100644 --- a/litellm/constants.py +++ b/litellm/constants.py @@ -1090,8 +1090,7 @@ BEDROCK_CONVERSE_MODELS = [ "openai.gpt-oss-120b-1:0", "anthropic.claude-haiku-4-5-20251001-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", - "anthropic.claude-opus-4-7-v1:0", - "anthropic.claude-opus-4-7-v1", + "anthropic.claude-opus-4-7", "anthropic.claude-opus-4-6-v1:0", "anthropic.claude-opus-4-6-v1", "anthropic.claude-sonnet-4-6", diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 577bf1dc292..37f347bbb44 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -1120,7 +1120,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "anthropic.claude-opus-4-7-v1": { + "anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.25e-06, "cache_read_input_token_cost": 5e-07, "input_cost_per_token": 5e-06, @@ -1149,7 +1149,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "global.anthropic.claude-opus-4-7-v1": { + "global.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.25e-06, "cache_read_input_token_cost": 5e-07, "input_cost_per_token": 5e-06, @@ -1178,7 +1178,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "us.anthropic.claude-opus-4-7-v1": { + "us.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.875e-06, "cache_read_input_token_cost": 5.5e-07, "input_cost_per_token": 5.5e-06, @@ -1207,7 +1207,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "eu.anthropic.claude-opus-4-7-v1": { + "eu.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.875e-06, "cache_read_input_token_cost": 5.5e-07, "input_cost_per_token": 5.5e-06, @@ -1236,7 +1236,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "au.anthropic.claude-opus-4-7-v1": { + "au.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.875e-06, "cache_read_input_token_cost": 5.5e-07, "input_cost_per_token": 5.5e-06, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 577bf1dc292..37f347bbb44 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -1120,7 +1120,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "anthropic.claude-opus-4-7-v1": { + "anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.25e-06, "cache_read_input_token_cost": 5e-07, "input_cost_per_token": 5e-06, @@ -1149,7 +1149,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "global.anthropic.claude-opus-4-7-v1": { + "global.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.25e-06, "cache_read_input_token_cost": 5e-07, "input_cost_per_token": 5e-06, @@ -1178,7 +1178,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "us.anthropic.claude-opus-4-7-v1": { + "us.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.875e-06, "cache_read_input_token_cost": 5.5e-07, "input_cost_per_token": 5.5e-06, @@ -1207,7 +1207,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "eu.anthropic.claude-opus-4-7-v1": { + "eu.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.875e-06, "cache_read_input_token_cost": 5.5e-07, "input_cost_per_token": 5.5e-06, @@ -1236,7 +1236,7 @@ "supports_native_structured_output": true, "supports_max_reasoning_effort": true }, - "au.anthropic.claude-opus-4-7-v1": { + "au.anthropic.claude-opus-4-7": { "cache_creation_input_token_cost": 6.875e-06, "cache_read_input_token_cost": 5.5e-07, "input_cost_per_token": 5.5e-06,