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
Fix gemini-2.5-flash-image-preview model routing
Tim Elfrink282617f2bcc7
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 29100016bb0..43ea3af320f 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -9126,7 +9126,7 @@"max_tokens": 65535,"max_video_length": 1,"max_videos_per_prompt": 10,- "mode": "chat",+ "mode": "image_generation","output_cost_per_image": 0.039,"output_cost_per_reasoning_token": 3e-05,"output_cost_per_token": 3e-05,@@ -10489,7 +10489,7 @@"max_tokens": 65535,"max_video_length": 1,"max_videos_per_prompt": 10,- "mode": "chat",+ "mode": "image_generation","output_cost_per_image": 0.039,"output_cost_per_reasoning_token": 3e-05,"output_cost_per_token": 3e-05,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 29100016bb0..43ea3af320f 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -9126,7 +9126,7 @@"max_tokens": 65535,"max_video_length": 1,"max_videos_per_prompt": 10,- "mode": "chat",+ "mode": "image_generation","output_cost_per_image": 0.039,"output_cost_per_reasoning_token": 3e-05,"output_cost_per_token": 3e-05,@@ -10489,7 +10489,7 @@"max_tokens": 65535,"max_video_length": 1,"max_videos_per_prompt": 10,- "mode": "chat",+ "mode": "image_generation","output_cost_per_image": 0.039,"output_cost_per_reasoning_token": 3e-05,"output_cost_per_token": 3e-05,