diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 612e5ad1a1..309cb25ee0 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -8196,6 +8196,24 @@ "deprecation_date": "2025-02-22", "supports_tool_choice": true }, + "perplexity/sonar": { + "max_tokens": 127072, + "max_input_tokens": 127072, + "max_output_tokens": 127072, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000001, + "litellm_provider": "perplexity", + "mode": "chat" + }, + "perplexity/sonar-pro": { + "max_tokens": 200000, + "max_input_tokens": 200000, + "max_output_tokens": 8096, + "input_cost_per_token": 0.000003, + "output_cost_per_token": 0.000015, + "litellm_provider": "perplexity", + "mode": "chat" + }, "perplexity/pplx-7b-chat": { "max_tokens": 8192, "max_input_tokens": 8192, @@ -9068,4 +9086,4 @@ "output_cost_per_second": 0.00, "litellm_provider": "assemblyai" } -} \ No newline at end of file +} diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 612e5ad1a1..309cb25ee0 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -8196,6 +8196,24 @@ "deprecation_date": "2025-02-22", "supports_tool_choice": true }, + "perplexity/sonar": { + "max_tokens": 127072, + "max_input_tokens": 127072, + "max_output_tokens": 127072, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000001, + "litellm_provider": "perplexity", + "mode": "chat" + }, + "perplexity/sonar-pro": { + "max_tokens": 200000, + "max_input_tokens": 200000, + "max_output_tokens": 8096, + "input_cost_per_token": 0.000003, + "output_cost_per_token": 0.000015, + "litellm_provider": "perplexity", + "mode": "chat" + }, "perplexity/pplx-7b-chat": { "max_tokens": 8192, "max_input_tokens": 8192, @@ -9068,4 +9086,4 @@ "output_cost_per_second": 0.00, "litellm_provider": "assemblyai" } -} \ No newline at end of file +}