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
fixes misconfigured OCI models by setting supports_tool_choice: true
Timothy Lowrimore51b52534fb4f
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 2502ce56350..651f394f7a9 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -18019,7 +18019,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-4-scout-17b-16e-instruct": {@@ -18032,7 +18032,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-3.3-70b-instruct": {@@ -18045,7 +18045,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-3.2-90b-vision-instruct": {@@ -18058,7 +18058,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-3.1-405b-instruct": {@@ -18071,7 +18071,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},@@ -18085,7 +18085,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3": {@@ -18098,7 +18098,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3-mini": {@@ -18111,7 +18111,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3-fast": {@@ -18124,7 +18124,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3-mini-fast": {@@ -18137,7 +18137,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"}}diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 2502ce56350..651f394f7a9 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -18019,7 +18019,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-4-scout-17b-16e-instruct": {@@ -18032,7 +18032,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-3.3-70b-instruct": {@@ -18045,7 +18045,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-3.2-90b-vision-instruct": {@@ -18058,7 +18058,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/meta.llama-3.1-405b-instruct": {@@ -18071,7 +18071,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},@@ -18085,7 +18085,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3": {@@ -18098,7 +18098,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3-mini": {@@ -18111,7 +18111,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3-fast": {@@ -18124,7 +18124,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"},"oci/xai.grok-3-mini-fast": {@@ -18137,7 +18137,7 @@"mode": "chat","supports_function_calling": true,"supports_response_schema": false,- "supports_tool_choice": false,+ "supports_tool_choice": true,"source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing"}}