Skip to content

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]

fix: gpt-realtime-1.5 only supports /v1/realtime endpoint

Chesarsda73e54b1bd9
diff --git a/litellm/llms/openai/chat/gpt_audio_transformation.py b/litellm/llms/openai/chat/gpt_audio_transformation.py
index 66270b1da9d..581ffea2db4 100644
--- a/litellm/llms/openai/chat/gpt_audio_transformation.py
+++ b/litellm/llms/openai/chat/gpt_audio_transformation.py
@@ -29,9 +29,7 @@ class OpenAIGPTAudioConfig(OpenAIGPTConfig):
return all_openai_params + audio_specific_params
def is_model_gpt_audio_model(self, model: str) -> bool:
- if model in litellm.open_ai_chat_completion_models and (
- "audio" in model or "realtime" in model
- ):
+ if model in litellm.open_ai_chat_completion_models and "audio" in model:
return True
return False
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 041f76af70b..66d5f8b7c35 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -20816,8 +20816,6 @@
"output_cost_per_audio_token": 6.4e-05,
"output_cost_per_token": 1.6e-05,
"supported_endpoints": [
- "/v1/chat/completions",
- "/v1/responses",
"/v1/realtime"
],
"supported_modalities": [