From f030c8dbb25019b31c0c6388d78391374204e1a9 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 23:03:33 +0000 Subject: [PATCH 1/2] fix(cost-map): bump bedrock_mantle gpt-5.6 sol/terra/luna context window to 1M --- litellm/model_prices_and_context_window_backup.json | 6 +++--- model_prices_and_context_window.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 02b3cde217a5..3e69d75859a2 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -45227,7 +45227,7 @@ "cache_read_input_token_cost": 5.5e-07, "output_cost_per_token": 3.3e-05, "litellm_provider": "bedrock_mantle", - "max_input_tokens": 272000, + "max_input_tokens": 1000000, "max_output_tokens": 128000, "max_tokens": 128000, "mode": "responses", @@ -45255,7 +45255,7 @@ "cache_read_input_token_cost": 2.2e-07, "output_cost_per_token": 1.32e-05, "litellm_provider": "bedrock_mantle", - "max_input_tokens": 272000, + "max_input_tokens": 1000000, "max_output_tokens": 128000, "max_tokens": 128000, "mode": "responses", @@ -45283,7 +45283,7 @@ "cache_read_input_token_cost": 2.2e-08, "output_cost_per_token": 1.32e-06, "litellm_provider": "bedrock_mantle", - "max_input_tokens": 272000, + "max_input_tokens": 1000000, "max_output_tokens": 128000, "max_tokens": 128000, "mode": "responses", diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index bc7330ec99c3..a102543b98ce 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -45348,7 +45348,7 @@ "cache_read_input_token_cost": 5.5e-07, "output_cost_per_token": 3.3e-05, "litellm_provider": "bedrock_mantle", - "max_input_tokens": 272000, + "max_input_tokens": 1000000, "max_output_tokens": 128000, "max_tokens": 128000, "mode": "responses", @@ -45376,7 +45376,7 @@ "cache_read_input_token_cost": 2.2e-07, "output_cost_per_token": 1.32e-05, "litellm_provider": "bedrock_mantle", - "max_input_tokens": 272000, + "max_input_tokens": 1000000, "max_output_tokens": 128000, "max_tokens": 128000, "mode": "responses", @@ -45404,7 +45404,7 @@ "cache_read_input_token_cost": 2.2e-08, "output_cost_per_token": 1.32e-06, "litellm_provider": "bedrock_mantle", - "max_input_tokens": 272000, + "max_input_tokens": 1000000, "max_output_tokens": 128000, "max_tokens": 128000, "mode": "responses", From ba74adf1c956c0925027d2ab03c83b627a551292 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 21:23:22 +0000 Subject: [PATCH 2/2] test(bedrock_mantle): expect 1M context window for gpt-5.6 variants Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../test_bedrock_mantle_responses_transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py b/tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py index bea979aec64a..5e26c72e2877 100644 --- a/tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py +++ b/tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py @@ -1532,7 +1532,7 @@ def test_gpt_5_6_pricing_and_mode( assert info["cache_creation_input_token_cost"] == pytest.approx(cache_creation_cost) assert info["cache_read_input_token_cost"] == pytest.approx(cache_read_cost) assert info["output_cost_per_token"] == pytest.approx(output_cost) - assert info["max_input_tokens"] == 272000 + assert info["max_input_tokens"] == 1000000 @pytest.mark.parametrize( "model, input_cost, output_cost",