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]

remove extra model check

Sameer Kankutea2a81e7dfa7e
diff --git a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py
index aa1769ebf7a..84a5958ee5e 100644
--- a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py
+++ b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py
@@ -235,11 +235,6 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
# Check for Gemini 3 models
if "gemini-3" in model:
return True
-
- # Check for gemini-3-flash-preview
- if "gemini-3-flash-preview" in model.lower():
- return True
-
return False
def _supports_penalty_parameters(self, model: str) -> bool: