From c7338f979814cdc7e503dc235c0788b3a84256d1 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 5 Jul 2024 22:17:32 -0700 Subject: [PATCH] build(model_prices_and_context_window.json): add openai + azure tts pricing --- ...odel_prices_and_context_window_backup.json | 20 +++++++++++++++++++ model_prices_and_context_window.json | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 34b1613445e..367ddba0f42 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -398,6 +398,26 @@ "output_cost_per_second": 0.0001, "litellm_provider": "openai" }, + "tts-1": { + "mode": "audio_speech", + "input_cost_per_character": 0.000015, + "litellm_provider": "openai" + }, + "tts-1-hd": { + "mode": "audio_speech", + "input_cost_per_character": 0.000030, + "litellm_provider": "openai" + }, + "azure/tts-1": { + "mode": "audio_speech", + "input_cost_per_character": 0.000015, + "litellm_provider": "azure" + }, + "azure/tts-1-hd": { + "mode": "audio_speech", + "input_cost_per_character": 0.000030, + "litellm_provider": "azure" + }, "azure/whisper-1": { "mode": "audio_transcription", "input_cost_per_second": 0, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 34b1613445e..367ddba0f42 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -398,6 +398,26 @@ "output_cost_per_second": 0.0001, "litellm_provider": "openai" }, + "tts-1": { + "mode": "audio_speech", + "input_cost_per_character": 0.000015, + "litellm_provider": "openai" + }, + "tts-1-hd": { + "mode": "audio_speech", + "input_cost_per_character": 0.000030, + "litellm_provider": "openai" + }, + "azure/tts-1": { + "mode": "audio_speech", + "input_cost_per_character": 0.000015, + "litellm_provider": "azure" + }, + "azure/tts-1-hd": { + "mode": "audio_speech", + "input_cost_per_character": 0.000030, + "litellm_provider": "azure" + }, "azure/whisper-1": { "mode": "audio_transcription", "input_cost_per_second": 0,