From 07d0129043a019662c1dbed2312c04f676678452 Mon Sep 17 00:00:00 2001 From: Chesars Date: Fri, 13 Mar 2026 23:06:43 -0300 Subject: [PATCH] fix(model-prices): remove duplicate vertex_ai/gemini-embedding-2-preview entry Fixes #23578 The key "vertex_ai/gemini-embedding-2-preview" appeared twice in the JSON with different pricing. In JSON, duplicate keys cause the second to silently overwrite the first. Removed the second (text-only) entry and kept the first which has complete multimodal pricing (audio, image, video) sourced from Vertex AI pricing docs. --- model_prices_and_context_window.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 9c829e4cfd7..f8a137711e4 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -14584,18 +14584,6 @@ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing", "uses_embed_content": true }, - "vertex_ai/gemini-embedding-2-preview": { - "input_cost_per_token": 1.5e-07, - "litellm_provider": "vertex_ai", - "max_input_tokens": 8192, - "max_tokens": 8192, - "mode": "embedding", - "output_cost_per_token": 0, - "output_vector_size": 3072, - "source": "https://ai.google.dev/gemini-api/docs/embeddings#multimodal", - "supports_multimodal": true, - "uses_embed_content": true - }, "gemini/gemini-embedding-001": { "input_cost_per_token": 1.5e-07, "litellm_provider": "gemini",