From d3cad97ebbaa17eabe953cd034a348d814fea650 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 22 Mar 2025 18:48:33 -0700 Subject: [PATCH] add gpt-4o-2024-08-06 pricing for web tools --- litellm/model_prices_and_context_window_backup.json | 8 +++++++- model_prices_and_context_window.json | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 61f2703f55..1d4353e3ed 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -548,7 +548,13 @@ "supports_vision": true, "supports_prompt_caching": true, "supports_system_messages": true, - "supports_tool_choice": 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-2024-11-20": { "max_tokens": 16384, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 61f2703f55..1d4353e3ed 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -548,7 +548,13 @@ "supports_vision": true, "supports_prompt_caching": true, "supports_system_messages": true, - "supports_tool_choice": 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-2024-11-20": { "max_tokens": 16384,