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
Add vertex ai gemini 3 flash in model map
Sameer Kankute39e16b38c88c
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex ad2861df4e0..f7032021ecb 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -12969,6 +12969,48 @@"supports_vision": true,"supports_web_search": true},+ "vertex_ai/gemini-3-flash-preview": {+ "cache_read_input_token_cost": 1.25e-08,+ "input_cost_per_token": 5e-07,+ "input_cost_per_audio_token": 1e-06,+ "litellm_provider": "vertex_ai",+ "max_audio_length_hours": 8.4,+ "max_audio_per_prompt": 1,+ "max_images_per_prompt": 3000,+ "max_input_tokens": 1048576,+ "max_output_tokens": 65535,+ "max_pdf_size_mb": 30,+ "max_tokens": 65535,+ "max_video_length": 1,+ "max_videos_per_prompt": 10,+ "mode": "chat",+ "output_cost_per_token": 3e-06,+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/completions",+ "/v1/batch"+ ],+ "supported_modalities": [+ "text",+ "image",+ "audio",+ "video"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_audio_input": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "supports_video_input": true,+ "supports_vision": true,+ "supports_web_search": true+ },"gemini-2.5-pro-exp-03-25": {"cache_read_input_token_cost": 3.125e-07,"input_cost_per_token": 1.25e-06,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex ad2861df4e0..f7032021ecb 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -12969,6 +12969,48 @@"supports_vision": true,"supports_web_search": true},+ "vertex_ai/gemini-3-flash-preview": {+ "cache_read_input_token_cost": 1.25e-08,+ "input_cost_per_token": 5e-07,+ "input_cost_per_audio_token": 1e-06,+ "litellm_provider": "vertex_ai",+ "max_audio_length_hours": 8.4,+ "max_audio_per_prompt": 1,+ "max_images_per_prompt": 3000,+ "max_input_tokens": 1048576,+ "max_output_tokens": 65535,+ "max_pdf_size_mb": 30,+ "max_tokens": 65535,+ "max_video_length": 1,+ "max_videos_per_prompt": 10,+ "mode": "chat",+ "output_cost_per_token": 3e-06,+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/completions",+ "/v1/batch"+ ],+ "supported_modalities": [+ "text",+ "image",+ "audio",+ "video"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_audio_input": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "supports_video_input": true,+ "supports_vision": true,+ "supports_web_search": true+ },"gemini-2.5-pro-exp-03-25": {"cache_read_input_token_cost": 3.125e-07,"input_cost_per_token": 1.25e-06,