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
build: bump
Krrish Dholakia505d2fe0c794
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 321ca9af0c2..fa716e3e12b 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -6474,7 +6474,8 @@"text"],"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",- "supports_web_search": true+ "supports_web_search": true,+ "supports_url_context": true},"gemini/gemini-2.5-flash-preview-04-17": {"max_tokens": 65535,@@ -6556,7 +6557,8 @@],"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview","supports_parallel_function_calling": true,- "supports_web_search": true+ "supports_web_search": true,+ "supports_url_context": true},"gemini-2.5-flash-preview-04-17": {"max_tokens": 65535,@@ -6633,7 +6635,8 @@"supports_tool_choice": true,"source": "https://ai.google.dev/pricing#2_0flash","supports_parallel_function_calling": true,- "supports_web_search": true+ "supports_web_search": true,+ "supports_url_context": true},"gemini-2.0-flash-lite": {"max_input_tokens": 1048576,@@ -6966,7 +6969,8 @@],"supports_tool_choice": true,"source": "https://ai.google.dev/pricing#2_0flash",- "supports_web_search": true+ "supports_web_search": true,+ "supports_url_context": true},"gemini/gemini-2.0-flash-lite": {"max_input_tokens": 1048576,@@ -7107,7 +7111,8 @@"text"],"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",- "supports_web_search": true+ "supports_web_search": true,+ "supports_url_context": true},"gemini/gemini-2.5-pro-preview-03-25": {"max_tokens": 65535,@@ -8824,20 +8829,6 @@"notes": "'supports_image_input' is a deprecated field. Use 'supports_embedding_image_input' instead."}},- "embed-v4.0": {- "max_tokens": 1024,- "max_input_tokens": 1024,- "input_cost_per_token": 1.2e-07,- "input_cost_per_image": 4.7e-07,- "output_cost_per_token": 0.0,- "litellm_provider": "cohere",- "mode": "embedding",- "supports_image_input": true,- "supports_embedding_image_input": true,- "metadata": {- "notes": "'supports_image_input' is a deprecated field. Use 'supports_embedding_image_input' instead."- }- },"replicate/meta/llama-2-13b": {"max_tokens": 4096,"max_input_tokens": 4096,@@ -12015,34 +12006,6 @@"mode": "chat","supports_tool_choice": true},- "together_ai/deepseek-ai/DeepSeek-R1": {- "litellm_provider": "together_ai",- "supports_function_calling": true,- "supports_parallel_function_calling": true,- "mode": "chat",- "supports_tool_choice": true- },- "together_ai/deepseek-ai/DeepSeek-R1-Distill-Llama-70B": {- "litellm_provider": "together_ai",- "supports_function_calling": true,- "supports_parallel_function_calling": true,- "mode": "chat",- "supports_tool_choice": true- },- "together_ai/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B": {- "litellm_provider": "together_ai",- "supports_function_calling": true,- "supports_parallel_function_calling": true,- "mode": "chat",- "supports_tool_choice": true- },- "together_ai/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B": {- "litellm_provider": "together_ai",- "supports_function_calling": true,- "supports_parallel_function_calling": true,- "mode": "chat",- "supports_tool_choice": true- },"together_ai/mistralai/Mistral-Small-24B-Instruct-2501": {"litellm_provider": "together_ai","supports_function_calling": true,diff --git a/pyproject.toml b/pyproject.tomlindex 3e665b720bd..ccce4017c09 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "litellm"-version = "1.72.1"+version = "1.72.2"description = "Library to easily interface with LLM API providers"authors = ["BerriAI"]license = "MIT"@@ -138,7 +138,7 @@ requires = ["poetry-core", "wheel"]build-backend = "poetry.core.masonry.api"[tool.commitizen]-version = "1.72.1"+version = "1.72.2"version_files = ["pyproject.toml:^version"]diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex 1ca834b65cb..489e513896e 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -429,6 +429,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():"supports_video_input": {"type": "boolean"},"supports_vision": {"type": "boolean"},"supports_web_search": {"type": "boolean"},+ "supports_url_context": {"type": "boolean"},"supports_reasoning": {"type": "boolean"},"tool_use_system_prompt_tokens": {"type": "number"},"tpm": {"type": "number"},