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 gpt-4o-search-preview-2025-03-11 to model cost map
Ishaan Jaff647bc314de30
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 6131afdd51c..9e1a92cf382 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -82,6 +82,31 @@"supports_system_messages": true,"supports_tool_choice": true},+ "gpt-4o-search-preview-2025-03-11": {+ "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,+ "supports_web_search": true,+ "search_context_cost_per_query": {+ "search_context_size_low": 0.030,+ "search_context_size_medium": 0.035,+ "search_context_size_high": 0.050+ }+ },"gpt-4o-search-preview": {"max_tokens": 16384,"max_input_tokens": 128000,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 6131afdd51c..9e1a92cf382 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -82,6 +82,31 @@"supports_system_messages": true,"supports_tool_choice": true},+ "gpt-4o-search-preview-2025-03-11": {+ "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,+ "supports_web_search": true,+ "search_context_cost_per_query": {+ "search_context_size_low": 0.030,+ "search_context_size_medium": 0.035,+ "search_context_size_high": 0.050+ }+ },"gpt-4o-search-preview": {"max_tokens": 16384,"max_input_tokens": 128000,