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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test fix vertex ai
Ishaan Jaff1910cf849676
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 33448775b5c..6ac7e4e1943 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -7164,54 +7164,6 @@"cache_read_input_token_cost": 3.125e-07,"supports_prompt_caching": true},- "gemini/gemini-2.0-flash-live-001": {- "max_tokens": 65535,- "max_input_tokens": 1048576,- "max_output_tokens": 65535,- "max_images_per_prompt": 3000,- "max_videos_per_prompt": 10,- "max_video_length": 1,- "max_audio_length_hours": 8.4,- "max_audio_per_prompt": 1,- "max_pdf_size_mb": 30,- "input_cost_per_token": 3.5e-07,- "input_cost_per_audio_token": 2.1e-06,- "input_cost_per_image": 2.1e-06,- "input_cost_per_video_per_second": 2.1e-06,- "output_cost_per_token": 1.5e-06,- "output_cost_per_audio_token": 8.5e-06,- "litellm_provider": "gemini",- "mode": "chat",- "rpm": 10,- "tpm": 250000,- "supports_system_messages": true,- "supports_function_calling": true,- "supports_vision": true,- "supports_reasoning": true,- "supports_response_schema": true,- "supports_audio_output": true,- "supports_tool_choice": true,- "supported_endpoints": [- "/v1/chat/completions",- "/v1/completions"- ],- "supported_modalities": [- "text",- "image",- "audio",- "video"- ],- "supported_output_modalities": [- "text",- "audio"- ],- "source": "https://ai.google.dev/gemini-api/docs/models#gemini-2-0-flash-live-001",- "supports_web_search": true,- "supports_url_context": true,- "supports_pdf_input": true,- "cache_read_input_token_cost": 7.5e-08,- "supports_prompt_caching": true- },"gemini/gemini-2.5-pro-exp-03-25": {"max_tokens": 65535,"max_input_tokens": 1048576,@@ -7393,6 +7345,54 @@"cache_read_input_token_cost": 7.5e-08,"supports_prompt_caching": true},+ "gemini/gemini-2.0-flash-live-001": {+ "max_tokens": 65535,+ "max_input_tokens": 1048576,+ "max_output_tokens": 65535,+ "max_images_per_prompt": 3000,+ "max_videos_per_prompt": 10,+ "max_video_length": 1,+ "max_audio_length_hours": 8.4,+ "max_audio_per_prompt": 1,+ "max_pdf_size_mb": 30,+ "input_cost_per_token": 3.5e-07,+ "input_cost_per_audio_token": 2.1e-06,+ "input_cost_per_image": 2.1e-06,+ "input_cost_per_video_per_second": 2.1e-06,+ "output_cost_per_token": 1.5e-06,+ "output_cost_per_audio_token": 8.5e-06,+ "litellm_provider": "gemini",+ "mode": "chat",+ "rpm": 10,+ "tpm": 250000,+ "supports_system_messages": true,+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_audio_output": true,+ "supports_tool_choice": true,+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/completions"+ ],+ "supported_modalities": [+ "text",+ "image",+ "audio",+ "video"+ ],+ "supported_output_modalities": [+ "text",+ "audio"+ ],+ "source": "https://ai.google.dev/gemini-api/docs/models#gemini-2-0-flash-live-001",+ "supports_web_search": true,+ "supports_url_context": true,+ "supports_pdf_input": true,+ "cache_read_input_token_cost": 7.5e-08,+ "supports_prompt_caching": true+ },"gemini/gemini-2.5-flash-preview-tts": {"max_tokens": 65535,"max_input_tokens": 1048576,@@ -8656,7 +8656,6 @@"supports_response_schema": true,"supports_audio_output": true,"supports_tool_choice": true,-"supported_endpoints": ["/v1/chat/completions","/v1/completions"diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.pyindex bdca05a59aa..bbb663c5bf1 100644--- a/tests/local_testing/test_amazing_vertex_completion.py+++ b/tests/local_testing/test_amazing_vertex_completion.py@@ -66,6 +66,7 @@ VERTEX_MODELS_TO_NOT_TEST = ["gemini-2.0-flash-thinking-exp","gemini-2.0-flash-thinking-exp-01-21","gemini-2.0-flash-preview-image-generation",+ "gemini-2.0-flash-live-preview-04-09",]