Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(bedrock_mantle): align gpt-5.6-sol pricing with the AWS in-region model card

Devin AI2299846b48e4
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 94e20fa0213..b91c7274a1d 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -57990,14 +57990,14 @@
"supports_tool_choice": true
},
"bedrock_mantle/openai.gpt-5.6-sol": {
- "input_cost_per_token": 5.5e-06,
- "input_cost_per_token_above_272k_tokens": 1.1e-05,
- "cache_creation_input_token_cost": 6.875e-06,
- "cache_creation_input_token_cost_above_272k_tokens": 1.375e-05,
- "cache_read_input_token_cost": 5.5e-07,
- "cache_read_input_token_cost_above_272k_tokens": 1.1e-06,
- "output_cost_per_token": 3.3e-05,
- "output_cost_per_token_above_272k_tokens": 4.95e-05,
+ "input_cost_per_token": 4.4e-06,
+ "input_cost_per_token_above_272k_tokens": 8.8e-06,
+ "cache_creation_input_token_cost": 5.5e-06,
+ "cache_creation_input_token_cost_above_272k_tokens": 1.1e-05,
+ "cache_read_input_token_cost": 4.4e-07,
+ "cache_read_input_token_cost_above_272k_tokens": 8.8e-07,
+ "output_cost_per_token": 2.2e-05,
+ "output_cost_per_token_above_272k_tokens": 3.3e-05,
"search_context_cost_per_query": {
"search_context_size_high": 0.012,
"search_context_size_low": 0.012,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 94e20fa0213..b91c7274a1d 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -57990,14 +57990,14 @@
"supports_tool_choice": true
},
"bedrock_mantle/openai.gpt-5.6-sol": {
- "input_cost_per_token": 5.5e-06,
- "input_cost_per_token_above_272k_tokens": 1.1e-05,
- "cache_creation_input_token_cost": 6.875e-06,
- "cache_creation_input_token_cost_above_272k_tokens": 1.375e-05,
- "cache_read_input_token_cost": 5.5e-07,
- "cache_read_input_token_cost_above_272k_tokens": 1.1e-06,
- "output_cost_per_token": 3.3e-05,
- "output_cost_per_token_above_272k_tokens": 4.95e-05,
+ "input_cost_per_token": 4.4e-06,
+ "input_cost_per_token_above_272k_tokens": 8.8e-06,
+ "cache_creation_input_token_cost": 5.5e-06,
+ "cache_creation_input_token_cost_above_272k_tokens": 1.1e-05,
+ "cache_read_input_token_cost": 4.4e-07,
+ "cache_read_input_token_cost_above_272k_tokens": 8.8e-07,
+ "output_cost_per_token": 2.2e-05,
+ "output_cost_per_token_above_272k_tokens": 3.3e-05,
"search_context_cost_per_query": {
"search_context_size_high": 0.012,
"search_context_size_low": 0.012,
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 901c005f5a3..81c39f736a5 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
@@ -1839,6 +1839,22 @@ class TestBedrockMantleResponsesSigV4:
class TestBedrockMantleResponsesPricing:
+ @pytest.mark.parametrize(
+ "model",
+ ["openai.gpt-5.6-sol", "openai.gpt-5.6-terra", "openai.gpt-5.6-luna"],
+ )
+ def test_mantle_matches_in_region_converse_pricing(self, local_cost_map, model):
+ mantle = litellm.model_cost[f"bedrock_mantle/{model}"]
+ converse = litellm.model_cost[f"us.{model}"]
+
+ cost_fields = [k for k in converse if "cost" in k and k != "search_context_cost_per_query"]
+ assert cost_fields, "expected cost fields on the converse entry"
+ for field in cost_fields:
+ assert mantle.get(field) == pytest.approx(converse[field]), (
+ f"{model}: {field} is {mantle.get(field)} on bedrock_mantle "
+ f"but {converse[field]} on us. (bedrock_converse)"
+ )
+
def test_models_registered(self, local_cost_map):
assert "bedrock_mantle/openai.gpt-5.5" in litellm.bedrock_mantle_models
assert "bedrock_mantle/openai.gpt-5.4" in litellm.bedrock_mantle_models