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]

Add aistudio GEMINI 2.0 to model_prices_and_context_window.json (#8335)

Luis Sanchez1b4f0f719245
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 71650cd42aa..18d17d32ea2 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -3653,6 +3653,29 @@
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
"supports_tool_choice": true
},
+ "gemini/gemini-2.0-flash": {
+ "max_tokens": 8192,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 8192,
+ "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_audio_token": 0.001,
+ "input_cost_per_token": 0.00015,
+ "output_cost_per_token": 0.0006,
+ "litellm_provider": "gemini",
+ "mode": "chat",
+ "supports_system_messages": true,
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_response_schema": true,
+ "supports_audio_output": true,
+ "supports_tool_choice": true,
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash"
+ },
"gemini-2.0-flash-001": {
"max_tokens": 8192,
"max_input_tokens": 1048576,