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 merge conflicts

Sameer Kankute786bd6ebc082
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 757c291e352..0da47634a94 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -1083,7 +1083,7 @@
"supports_vision": true,
"tool_use_system_prompt_tokens": 346
},
- "us.anthropic.claude-opus-4-6-v1": {
+ "us.anthropic.claude-opus-4-6-v1:0": {
"cache_creation_input_token_cost": 6.875e-06,
"cache_creation_input_token_cost_above_200k_tokens": 1.375e-05,
"cache_read_input_token_cost": 5.5e-07,
@@ -3494,29 +3494,6 @@
"supports_tool_choice": true,
"supports_vision": true
},
- "azure/gpt-5-search-api": {
- "cache_read_input_token_cost": 1.25e-07,
- "input_cost_per_token": 1.25e-06,
- "litellm_provider": "azure",
- "max_input_tokens": 128000,
- "max_output_tokens": 4096,
- "max_tokens": 4096,
- "mode": "chat",
- "output_cost_per_token": 1e-05,
- "search_context_cost_per_query": {
- "search_context_size_high": 0.05,
- "search_context_size_low": 0.03,
- "search_context_size_medium": 0.035
- },
- "supports_function_calling": true,
- "supports_parallel_function_calling": true,
- "supports_prompt_caching": true,
- "supports_response_schema": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "supports_vision": true,
- "supports_web_search": true
- },
"azure/gpt-5-2025-08-07": {
"cache_read_input_token_cost": 1.25e-07,
"input_cost_per_token": 1.25e-06,
@@ -18820,29 +18797,6 @@
"supports_service_tier": true,
"supports_vision": true
},
- "gpt-5-search-api": {
- "cache_read_input_token_cost": 1.25e-07,
- "input_cost_per_token": 1.25e-06,
- "litellm_provider": "openai",
- "max_input_tokens": 128000,
- "max_output_tokens": 4096,
- "max_tokens": 4096,
- "mode": "chat",
- "output_cost_per_token": 1e-05,
- "search_context_cost_per_query": {
- "search_context_size_high": 0.05,
- "search_context_size_low": 0.03,
- "search_context_size_medium": 0.035
- },
- "supports_function_calling": true,
- "supports_parallel_function_calling": true,
- "supports_prompt_caching": true,
- "supports_response_schema": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "supports_vision": true,
- "supports_web_search": true
- },
"gpt-5.1": {
"cache_read_input_token_cost": 1.25e-07,
"cache_read_input_token_cost_priority": 2.5e-07,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index eee30b36ab3..0da47634a94 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -1083,7 +1083,7 @@
"supports_vision": true,
"tool_use_system_prompt_tokens": 346
},
- "us.anthropic.claude-opus-4-6-v1": {
+ "us.anthropic.claude-opus-4-6-v1:0": {
"cache_creation_input_token_cost": 6.875e-06,
"cache_creation_input_token_cost_above_200k_tokens": 1.375e-05,
"cache_read_input_token_cost": 5.5e-07,
diff --git a/tests/test_litellm/test_claude_opus_4_6_config.py b/tests/test_litellm/test_claude_opus_4_6_config.py
index 03a1a750772..071d0a26369 100644
--- a/tests/test_litellm/test_claude_opus_4_6_config.py
+++ b/tests/test_litellm/test_claude_opus_4_6_config.py
@@ -26,12 +26,6 @@ def test_opus_4_6_model_pricing_and_capabilities():
"tool_use_system_prompt_tokens": 346,
"max_input_tokens": 1000000,
},
- "anthropic.claude-opus-4-6-v1:0": {
- "provider": "bedrock_converse",
- "has_long_context_pricing": True,
- "tool_use_system_prompt_tokens": 346,
- "max_input_tokens": 1000000,
- },
"anthropic.claude-opus-4-6-v1": {
"provider": "bedrock_converse",
"has_long_context_pricing": True,
@@ -98,26 +92,6 @@ def test_opus_4_6_bedrock_regional_model_pricing():
"cache_creation_input_token_cost_above_200k_tokens": 1.25e-05,
"cache_read_input_token_cost_above_200k_tokens": 1e-06,
},
- "global.anthropic.claude-opus-4-6-v1": {
- "input_cost_per_token": 5e-06,
- "output_cost_per_token": 2.5e-05,
- "cache_creation_input_token_cost": 6.25e-06,
- "cache_read_input_token_cost": 5e-07,
- "input_cost_per_token_above_200k_tokens": 1e-05,
- "output_cost_per_token_above_200k_tokens": 3.75e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 1.25e-05,
- "cache_read_input_token_cost_above_200k_tokens": 1e-06,
- },
- "us.anthropic.claude-opus-4-6-v1:0": {
- "input_cost_per_token": 5.5e-06,
- "output_cost_per_token": 2.75e-05,
- "cache_creation_input_token_cost": 6.875e-06,
- "cache_read_input_token_cost": 5.5e-07,
- "input_cost_per_token_above_200k_tokens": 1.1e-05,
- "output_cost_per_token_above_200k_tokens": 4.125e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 1.375e-05,
- "cache_read_input_token_cost_above_200k_tokens": 1.1e-06,
- },
"us.anthropic.claude-opus-4-6-v1": {
"input_cost_per_token": 5.5e-06,
"output_cost_per_token": 2.75e-05,
@@ -128,16 +102,6 @@ def test_opus_4_6_bedrock_regional_model_pricing():
"cache_creation_input_token_cost_above_200k_tokens": 1.375e-05,
"cache_read_input_token_cost_above_200k_tokens": 1.1e-06,
},
- "eu.anthropic.claude-opus-4-6-v1:0": {
- "input_cost_per_token": 5.5e-06,
- "output_cost_per_token": 2.75e-05,
- "cache_creation_input_token_cost": 6.875e-06,
- "cache_read_input_token_cost": 5.5e-07,
- "input_cost_per_token_above_200k_tokens": 1.1e-05,
- "output_cost_per_token_above_200k_tokens": 4.125e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 1.375e-05,
- "cache_read_input_token_cost_above_200k_tokens": 1.1e-06,
- },
"eu.anthropic.claude-opus-4-6-v1": {
"input_cost_per_token": 5.5e-06,
"output_cost_per_token": 2.75e-05,
@@ -148,7 +112,7 @@ def test_opus_4_6_bedrock_regional_model_pricing():
"cache_creation_input_token_cost_above_200k_tokens": 1.375e-05,
"cache_read_input_token_cost_above_200k_tokens": 1.1e-06,
},
- "apac.anthropic.claude-opus-4-6-v1:0": {
+ "apac.anthropic.claude-opus-4-6-v1": {
"input_cost_per_token": 5.5e-06,
"output_cost_per_token": 2.75e-05,
"cache_creation_input_token_cost": 6.875e-06,
@@ -212,14 +176,8 @@ def test_opus_4_6_alias_and_dated_metadata_match():
def test_opus_4_6_bedrock_converse_registration():
- assert "anthropic.claude-opus-4-6-v1:0" in litellm.BEDROCK_CONVERSE_MODELS
assert "anthropic.claude-opus-4-6-v1" in litellm.BEDROCK_CONVERSE_MODELS
- assert "anthropic.claude-opus-4-6-v1" in litellm.bedrock_converse_models
- assert "global.anthropic.claude-opus-4-6-v1:0" in litellm.bedrock_converse_models
assert "global.anthropic.claude-opus-4-6-v1" in litellm.bedrock_converse_models
- assert "us.anthropic.claude-opus-4-6-v1:0" in litellm.bedrock_converse_models
assert "us.anthropic.claude-opus-4-6-v1" in litellm.bedrock_converse_models
- assert "eu.anthropic.claude-opus-4-6-v1:0" in litellm.bedrock_converse_models
assert "eu.anthropic.claude-opus-4-6-v1" in litellm.bedrock_converse_models
- assert "apac.anthropic.claude-opus-4-6-v1:0" in litellm.bedrock_converse_models
assert "apac.anthropic.claude-opus-4-6-v1" in litellm.bedrock_converse_models