From 703f619e08d9303104de986071c15cfa3e06394e Mon Sep 17 00:00:00 2001 From: Justin Tahara <105671973+justin-tahara@users.noreply.github.com> Date: Fri, 21 Nov 2025 19:06:26 -0800 Subject: [PATCH] feat(bedrock): Add Claude 4.5 to US Gov Cloud (#16957) * feat(bedrock): Add Claude 4.5 to US Gov Cloud * Adding west and tests --- ...odel_prices_and_context_window_backup.json | 14 ++++++++++ model_prices_and_context_window.json | 28 +++++++++++++++++++ .../llm_translation/test_bedrock_govcloud.py | 2 ++ 3 files changed, 44 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 0cede07df9..a7b75cb001 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -5573,6 +5573,20 @@ "supports_tool_choice": true, "supports_vision": true }, + "bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0": { + "input_cost_per_token": 3.3e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "max_tokens": 4096, + "mode": "chat", + "output_cost_per_token": 1.65e-05, + "supports_function_calling": true, + "supports_pdf_input": true, + "supports_response_schema": true, + "supports_tool_choice": true, + "supports_vision": true + }, "bedrock/us-gov-east-1/meta.llama3-70b-instruct-v1:0": { "input_cost_per_token": 2.65e-06, "litellm_provider": "bedrock", diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 0cede07df9..39a1ec2986 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -5573,6 +5573,20 @@ "supports_tool_choice": true, "supports_vision": true }, + "bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0": { + "input_cost_per_token": 3.3e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "max_tokens": 4096, + "mode": "chat", + "output_cost_per_token": 1.65e-05, + "supports_function_calling": true, + "supports_pdf_input": true, + "supports_response_schema": true, + "supports_tool_choice": true, + "supports_vision": true + }, "bedrock/us-gov-east-1/meta.llama3-70b-instruct-v1:0": { "input_cost_per_token": 2.65e-06, "litellm_provider": "bedrock", @@ -5700,6 +5714,20 @@ "supports_tool_choice": true, "supports_vision": true }, + "bedrock/us-gov-west-1/claude-sonnet-4-5-20250929-v1:0": { + "input_cost_per_token": 3.3e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "max_tokens": 4096, + "mode": "chat", + "output_cost_per_token": 1.65e-05, + "supports_function_calling": true, + "supports_pdf_input": true, + "supports_response_schema": true, + "supports_tool_choice": true, + "supports_vision": true + }, "bedrock/us-gov-west-1/meta.llama3-70b-instruct-v1:0": { "input_cost_per_token": 2.65e-06, "litellm_provider": "bedrock", diff --git a/tests/llm_translation/test_bedrock_govcloud.py b/tests/llm_translation/test_bedrock_govcloud.py index 19a94bb29b..381c9a95d5 100644 --- a/tests/llm_translation/test_bedrock_govcloud.py +++ b/tests/llm_translation/test_bedrock_govcloud.py @@ -45,6 +45,8 @@ class TestBedrockGovCloudSupport: assert "bedrock/us-gov-west-1/anthropic.claude-3-5-sonnet-20240620-v1:0" in model_cost assert "bedrock/us-gov-east-1/anthropic.claude-3-haiku-20240307-v1:0" in model_cost assert "bedrock/us-gov-west-1/anthropic.claude-3-haiku-20240307-v1:0" in model_cost + assert "bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0" in model_cost + assert "bedrock/us-gov-west-1/claude-sonnet-4-5-20250929-v1:0" in model_cost # Test Llama models in GovCloud assert "bedrock/us-gov-east-1/meta.llama3-8b-instruct-v1:0" in model_cost