From 453db3dc80f7bfc238b1805efa40a8deec6f8c11 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 13 Dec 2024 08:11:24 -0800 Subject: [PATCH 1/2] added gemini-2.0-flash-exp --- model_prices_and_context_window.json | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 521ecc2273..efd39dd9ad 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -2769,6 +2769,42 @@ "supports_response_schema": true, "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-1.5-flash" }, + "gemini-2.0-flash-exp": { + "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, + "litellm_provider": "vertex_ai-language-models", + "mode": "chat", + "supports_system_messages": true, + "supports_function_calling": true, + "supports_vision": true, + "supports_response_schema": true, + "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2" + }, + "gemini-2.0-flash-exp": { + "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, + "litellm_provider": "gemini", + "mode": "chat", + "supports_system_messages": true, + "supports_function_calling": true, + "supports_vision": true, + "supports_response_schema": true, + "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2" + }, "gemini-1.5-flash-001": { "max_tokens": 8192, "max_input_tokens": 1000000, From f0adf0b245b100e3fda24e99303a9b1d5d43ee16 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 15 Dec 2024 15:56:54 -0800 Subject: [PATCH 2/2] correct gemini keys --- model_prices_and_context_window.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index efd39dd9ad..debbe82a49 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -2769,7 +2769,7 @@ "supports_response_schema": true, "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-1.5-flash" }, - "gemini-2.0-flash-exp": { + "vertex_ai-language-models/gemini-2.0-flash-exp": { "max_tokens": 8192, "max_input_tokens": 1048576, "max_output_tokens": 8192, @@ -2787,7 +2787,7 @@ "supports_response_schema": true, "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2" }, - "gemini-2.0-flash-exp": { + "gemini/gemini-2.0-flash-exp": { "max_tokens": 8192, "max_input_tokens": 1048576, "max_output_tokens": 8192,