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 gemini-robotics-er-1.5-preview entry
Sameer Kankutebe8a76f27038
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 64f90048493..e2e3ee9428a 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -13521,6 +13521,42 @@"supports_vision": true,"supports_web_search": true},+ "gemini-robotics-er-1.5-preview": {+ "cache_read_input_token_cost": 0,+ "input_cost_per_token": 3e-07,+ "input_cost_per_audio_token": 1e-06,+ "litellm_provider": "gemini",+ "max_input_tokens": 1048576,+ "max_output_tokens": 65535,+ "max_tokens": 65535,+ "mode": "chat",+ "output_cost_per_token": 2.5e-06,+ "output_cost_per_reasoning_token": 2.5e-06,+ "source": "https://ai.google.dev/gemini-api/docs/models#gemini-robotics-er-1-5-preview",+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/completions"+ ],+ "supported_modalities": [+ "text",+ "image",+ "video",+ "audio"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_audio_output": false,+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_prompt_caching": false,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "supports_url_context": true,+ "supports_vision": true+ },"gemini/gemini-robotics-er-1.5-preview": {"cache_read_input_token_cost": 0,"input_cost_per_token": 3e-07,@@ -24255,6 +24291,72 @@"supports_reasoning": true,"supports_tool_choice": true},+ "openrouter/xiaomi/mimo-v2-flash": {+ "input_cost_per_token": 9e-08,+ "output_cost_per_token": 2.9e-07,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 262144,+ "max_output_tokens": 16384,+ "max_tokens": 16384,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": false,+ "supports_prompt_caching": false+ },+ "openrouter/z-ai/glm-4.7": {+ "input_cost_per_token": 4e-07,+ "output_cost_per_token": 1.5e-06,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 202752,+ "max_output_tokens": 64000,+ "max_tokens": 64000,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": true,+ "supports_prompt_caching": false,+ "supports_assistant_prefill": true+ },+ "openrouter/z-ai/glm-4.7-flash": {+ "input_cost_per_token": 7e-08,+ "output_cost_per_token": 4e-07,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 200000,+ "max_output_tokens": 32000,+ "max_tokens": 32000,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": true,+ "supports_prompt_caching": false+ },+ "openrouter/minimax/minimax-m2.1": {+ "input_cost_per_token": 2.7e-07,+ "output_cost_per_token": 1.2e-06,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 204000,+ "max_output_tokens": 64000,+ "max_tokens": 64000,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": true,+ "supports_prompt_caching": false,+ "supports_computer_use": false+ },"ovhcloud/DeepSeek-R1-Distill-Llama-70B": {"input_cost_per_token": 6.7e-07,"litellm_provider": "ovhcloud",@@ -34554,4 +34656,4 @@"output_cost_per_token": 0,"supports_reasoning": true}-}+}\ No newline at end of filediff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 5a8e6354b7f..e2e3ee9428a 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -13521,6 +13521,42 @@"supports_vision": true,"supports_web_search": true},+ "gemini-robotics-er-1.5-preview": {+ "cache_read_input_token_cost": 0,+ "input_cost_per_token": 3e-07,+ "input_cost_per_audio_token": 1e-06,+ "litellm_provider": "gemini",+ "max_input_tokens": 1048576,+ "max_output_tokens": 65535,+ "max_tokens": 65535,+ "mode": "chat",+ "output_cost_per_token": 2.5e-06,+ "output_cost_per_reasoning_token": 2.5e-06,+ "source": "https://ai.google.dev/gemini-api/docs/models#gemini-robotics-er-1-5-preview",+ "supported_endpoints": [+ "/v1/chat/completions",+ "/v1/completions"+ ],+ "supported_modalities": [+ "text",+ "image",+ "video",+ "audio"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_audio_output": false,+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_prompt_caching": false,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_system_messages": true,+ "supports_tool_choice": true,+ "supports_url_context": true,+ "supports_vision": true+ },"gemini/gemini-robotics-er-1.5-preview": {"cache_read_input_token_cost": 0,"input_cost_per_token": 3e-07,@@ -24255,8 +24291,7 @@"supports_reasoning": true,"supports_tool_choice": true},- {- "openrouter/xiaomi/mimo-v2-flash": {+ "openrouter/xiaomi/mimo-v2-flash": {"input_cost_per_token": 9e-08,"output_cost_per_token": 2.9e-07,"cache_creation_input_token_cost": 0.0,@@ -24272,56 +24307,55 @@"supports_vision": false,"supports_prompt_caching": false},- "openrouter/z-ai/glm-4.7": {- "input_cost_per_token": 4e-07,- "output_cost_per_token": 1.5e-06,- "cache_creation_input_token_cost": 0.0,- "cache_read_input_token_cost": 0.0,- "litellm_provider": "openrouter",- "max_input_tokens": 202752,- "max_output_tokens": 64000,- "max_tokens": 64000,- "mode": "chat",- "supports_function_calling": true,- "supports_tool_choice": true,- "supports_reasoning": true,- "supports_vision": true,- "supports_prompt_caching": false,- "supports_assistant_prefill": true- },- "openrouter/z-ai/glm-4.7-flash": {- "input_cost_per_token": 7e-08,- "output_cost_per_token": 4e-07,- "cache_creation_input_token_cost": 0.0,- "cache_read_input_token_cost": 0.0,- "litellm_provider": "openrouter",- "max_input_tokens": 200000,- "max_output_tokens": 32000,- "max_tokens": 32000,- "mode": "chat",- "supports_function_calling": true,- "supports_tool_choice": true,- "supports_reasoning": true,- "supports_vision": true,- "supports_prompt_caching": false- },- "openrouter/minimax/minimax-m2.1": {- "input_cost_per_token": 2.7e-07,- "output_cost_per_token": 1.2e-06,- "cache_creation_input_token_cost": 0.0,- "cache_read_input_token_cost": 0.0,- "litellm_provider": "openrouter",- "max_input_tokens": 204000,- "max_output_tokens": 64000,- "max_tokens": 64000,- "mode": "chat",- "supports_function_calling": true,- "supports_tool_choice": true,- "supports_reasoning": true,- "supports_vision": true,- "supports_prompt_caching": false,- "supports_computer_use": false- }+ "openrouter/z-ai/glm-4.7": {+ "input_cost_per_token": 4e-07,+ "output_cost_per_token": 1.5e-06,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 202752,+ "max_output_tokens": 64000,+ "max_tokens": 64000,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": true,+ "supports_prompt_caching": false,+ "supports_assistant_prefill": true+ },+ "openrouter/z-ai/glm-4.7-flash": {+ "input_cost_per_token": 7e-08,+ "output_cost_per_token": 4e-07,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 200000,+ "max_output_tokens": 32000,+ "max_tokens": 32000,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": true,+ "supports_prompt_caching": false+ },+ "openrouter/minimax/minimax-m2.1": {+ "input_cost_per_token": 2.7e-07,+ "output_cost_per_token": 1.2e-06,+ "cache_creation_input_token_cost": 0.0,+ "cache_read_input_token_cost": 0.0,+ "litellm_provider": "openrouter",+ "max_input_tokens": 204000,+ "max_output_tokens": 64000,+ "max_tokens": 64000,+ "mode": "chat",+ "supports_function_calling": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_vision": true,+ "supports_prompt_caching": false,+ "supports_computer_use": false},"ovhcloud/DeepSeek-R1-Distill-Llama-70B": {"input_cost_per_token": 6.7e-07,