From 20a41a67d605450ee2f0b0caa5656b520661ebe8 Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 15 Dec 2025 19:55:55 -0300 Subject: [PATCH] fix: update gemini-live model supported_endpoints to /vertex_ai/live The gemini-live-2.5-flash-preview-native-audio-09-2025 model only works with WebSocket (Live API), not REST endpoints. Changed supported_endpoints from /v1/chat/completions to /vertex_ai/live to reflect the actual passthrough endpoint available in LiteLLM proxy. --- litellm/model_prices_and_context_window_backup.json | 6 ++---- model_prices_and_context_window.json | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index fc8c90ad77..bf86c3ffb2 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -14745,8 +14745,7 @@ "output_cost_per_token": 2e-06, "source": "https://ai.google.dev/gemini-api/docs/pricing", "supported_endpoints": [ - "/v1/chat/completions", - "/v1/completions" + "/vertex_ai/live" ], "supported_modalities": [ "text", @@ -14791,8 +14790,7 @@ "rpm": 100000, "source": "https://ai.google.dev/gemini-api/docs/pricing", "supported_endpoints": [ - "/v1/chat/completions", - "/v1/completions" + "/vertex_ai/live" ], "supported_modalities": [ "text", diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index fc8c90ad77..bf86c3ffb2 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -14745,8 +14745,7 @@ "output_cost_per_token": 2e-06, "source": "https://ai.google.dev/gemini-api/docs/pricing", "supported_endpoints": [ - "/v1/chat/completions", - "/v1/completions" + "/vertex_ai/live" ], "supported_modalities": [ "text", @@ -14791,8 +14790,7 @@ "rpm": 100000, "source": "https://ai.google.dev/gemini-api/docs/pricing", "supported_endpoints": [ - "/v1/chat/completions", - "/v1/completions" + "/vertex_ai/live" ], "supported_modalities": [ "text",