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
add search_context_cost_per_1k_calls
Ishaan Jaff4683b8ea7031
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex c5e03290139..8733730946c 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -74,7 +74,36 @@"supports_vision": true,"supports_prompt_caching": true,"supports_system_messages": true,- "supports_tool_choice": true+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }+ },+ "gpt-4o-search-preview": {+ "max_tokens": 16384,+ "max_input_tokens": 128000,+ "max_output_tokens": 16384,+ "input_cost_per_token": 0.0000025,+ "output_cost_per_token": 0.000010,+ "input_cost_per_token_batches": 0.00000125,+ "output_cost_per_token_batches": 0.00000500,+ "cache_read_input_token_cost": 0.00000125,+ "litellm_provider": "openai",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_prompt_caching": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }},"gpt-4.5-preview": {"max_tokens": 16384,@@ -199,7 +228,12 @@"supports_vision": true,"supports_prompt_caching": true,"supports_system_messages": true,- "supports_tool_choice": true+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }},"gpt-4o-mini-2024-07-18": {"max_tokens": 16384,@@ -218,7 +252,12 @@"supports_vision": true,"supports_prompt_caching": true,"supports_system_messages": true,- "supports_tool_choice": true+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }},"o1-pro": {"max_tokens": 100000,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex c5e03290139..8733730946c 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -74,7 +74,36 @@"supports_vision": true,"supports_prompt_caching": true,"supports_system_messages": true,- "supports_tool_choice": true+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }+ },+ "gpt-4o-search-preview": {+ "max_tokens": 16384,+ "max_input_tokens": 128000,+ "max_output_tokens": 16384,+ "input_cost_per_token": 0.0000025,+ "output_cost_per_token": 0.000010,+ "input_cost_per_token_batches": 0.00000125,+ "output_cost_per_token_batches": 0.00000500,+ "cache_read_input_token_cost": 0.00000125,+ "litellm_provider": "openai",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_prompt_caching": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }},"gpt-4.5-preview": {"max_tokens": 16384,@@ -199,7 +228,12 @@"supports_vision": true,"supports_prompt_caching": true,"supports_system_messages": true,- "supports_tool_choice": true+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }},"gpt-4o-mini-2024-07-18": {"max_tokens": 16384,@@ -218,7 +252,12 @@"supports_vision": true,"supports_prompt_caching": true,"supports_system_messages": true,- "supports_tool_choice": true+ "supports_tool_choice": true,+ "search_context_cost_per_1k_calls": {+ "low_context": 30.00,+ "medium_context": 35.00,+ "high_context": 50.00+ }},"o1-pro": {"max_tokens": 100000,