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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(bedrock): lower claude sonnet 5.5 cache read price to the aws offer index (#45216)
berriai-litellm-provider-info-sync[bot]c52082e10c52
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex dd21840d205..e7bdcd06cef 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -79407,7 +79407,7 @@"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.5e-06,"cache_creation_input_token_cost_above_1hr": 4e-06,- "cache_read_input_token_cost": 2e-07,+ "cache_read_input_token_cost": 1e-07,"input_cost_per_token": 2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79477,14 +79477,14 @@"cache_creation_input_token_cost": 2.75e-06,"input_cost_per_token": 2.2e-06,"output_cost_per_token": 1.1e-05,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"au.anthropic.claude-sonnet-5-5": {"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79519,7 +79519,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"azure_ai/claude-sonnet-5-5": {"supports_mid_conversation_system": true,@@ -79562,7 +79562,7 @@"bedrock_output_config_effort_ceiling": "xhigh","cache_creation_input_token_cost": 3e-06,"cache_creation_input_token_cost_above_1hr": 4.8e-06,- "cache_read_input_token_cost": 2.4e-07,+ "cache_read_input_token_cost": 1.2e-07,"input_cost_per_token": 2.4e-06,"litellm_provider": "bedrock","supports_tool_search": true,@@ -79574,6 +79574,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json","supports_adaptive_thinking": true,"supports_assistant_prefill": false,"supports_computer_use": true,@@ -79597,7 +79598,7 @@"bedrock_output_config_effort_ceiling": "xhigh","cache_creation_input_token_cost": 3e-06,"cache_creation_input_token_cost_above_1hr": 4.8e-06,- "cache_read_input_token_cost": 2.4e-07,+ "cache_read_input_token_cost": 1.2e-07,"input_cost_per_token": 2.4e-06,"litellm_provider": "bedrock","supports_tool_search": true,@@ -79609,6 +79610,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json","supports_adaptive_thinking": true,"supports_assistant_prefill": false,"supports_computer_use": true,@@ -79631,7 +79633,7 @@"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79666,13 +79668,13 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"global.anthropic.claude-sonnet-5-5": {"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.5e-06,"cache_creation_input_token_cost_above_1hr": 4e-06,- "cache_read_input_token_cost": 2e-07,+ "cache_read_input_token_cost": 1e-07,"input_cost_per_token": 2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79707,13 +79709,13 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"jp.anthropic.claude-sonnet-5-5": {"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79748,7 +79750,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"openrouter/anthropic/claude-sonnet-5.5": {"input_cost_per_token": 2e-06,@@ -79858,7 +79860,7 @@"bedrock_output_config_effort_ceiling": "xhigh","cache_creation_input_token_cost": 3e-06,"cache_creation_input_token_cost_above_1hr": 4.8e-06,- "cache_read_input_token_cost": 2.4e-07,+ "cache_read_input_token_cost": 1.2e-07,"input_cost_per_token": 2.4e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79870,7 +79872,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/",+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json","supports_adaptive_thinking": true,"supports_assistant_prefill": false,"supports_computer_use": true,@@ -79893,7 +79895,7 @@"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79928,7 +79930,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"vertex_ai/claude-sonnet-5-5": {"regional_endpoint_uplift_multiplier": 1.1,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex dd21840d205..e7bdcd06cef 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -79407,7 +79407,7 @@"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.5e-06,"cache_creation_input_token_cost_above_1hr": 4e-06,- "cache_read_input_token_cost": 2e-07,+ "cache_read_input_token_cost": 1e-07,"input_cost_per_token": 2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79477,14 +79477,14 @@"cache_creation_input_token_cost": 2.75e-06,"input_cost_per_token": 2.2e-06,"output_cost_per_token": 1.1e-05,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"au.anthropic.claude-sonnet-5-5": {"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79519,7 +79519,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"azure_ai/claude-sonnet-5-5": {"supports_mid_conversation_system": true,@@ -79562,7 +79562,7 @@"bedrock_output_config_effort_ceiling": "xhigh","cache_creation_input_token_cost": 3e-06,"cache_creation_input_token_cost_above_1hr": 4.8e-06,- "cache_read_input_token_cost": 2.4e-07,+ "cache_read_input_token_cost": 1.2e-07,"input_cost_per_token": 2.4e-06,"litellm_provider": "bedrock","supports_tool_search": true,@@ -79574,6 +79574,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json","supports_adaptive_thinking": true,"supports_assistant_prefill": false,"supports_computer_use": true,@@ -79597,7 +79598,7 @@"bedrock_output_config_effort_ceiling": "xhigh","cache_creation_input_token_cost": 3e-06,"cache_creation_input_token_cost_above_1hr": 4.8e-06,- "cache_read_input_token_cost": 2.4e-07,+ "cache_read_input_token_cost": 1.2e-07,"input_cost_per_token": 2.4e-06,"litellm_provider": "bedrock","supports_tool_search": true,@@ -79609,6 +79610,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json","supports_adaptive_thinking": true,"supports_assistant_prefill": false,"supports_computer_use": true,@@ -79631,7 +79633,7 @@"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79666,13 +79668,13 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"global.anthropic.claude-sonnet-5-5": {"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.5e-06,"cache_creation_input_token_cost_above_1hr": 4e-06,- "cache_read_input_token_cost": 2e-07,+ "cache_read_input_token_cost": 1e-07,"input_cost_per_token": 2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79707,13 +79709,13 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"jp.anthropic.claude-sonnet-5-5": {"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79748,7 +79750,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"openrouter/anthropic/claude-sonnet-5.5": {"input_cost_per_token": 2e-06,@@ -79858,7 +79860,7 @@"bedrock_output_config_effort_ceiling": "xhigh","cache_creation_input_token_cost": 3e-06,"cache_creation_input_token_cost_above_1hr": 4.8e-06,- "cache_read_input_token_cost": 2.4e-07,+ "cache_read_input_token_cost": 1.2e-07,"input_cost_per_token": 2.4e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79870,7 +79872,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/",+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json","supports_adaptive_thinking": true,"supports_assistant_prefill": false,"supports_computer_use": true,@@ -79893,7 +79895,7 @@"bedrock_converse_supports_strict_tools": false,"cache_creation_input_token_cost": 2.75e-06,"cache_creation_input_token_cost_above_1hr": 4.4e-06,- "cache_read_input_token_cost": 2.2e-07,+ "cache_read_input_token_cost": 1.1e-07,"input_cost_per_token": 2.2e-06,"litellm_provider": "bedrock_converse","supports_tool_search": true,@@ -79928,7 +79930,7 @@"supports_forced_tool_use": false,"thinking_always_on": true,"prompt_cache_min_tokens": 512,- "source": "https://aws.amazon.com/bedrock/pricing/"+ "source": "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json"},"vertex_ai/claude-sonnet-5-5": {"regional_endpoint_uplift_multiplier": 1.1,