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
feat: add Azure AI grok-4-1-fast model support (#22587)
Emerson Gomes0e78aa4cf178
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 303cffb407d..c75a67cfc19 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -6100,6 +6100,35 @@"supports_tool_choice": true,"supports_web_search": true},+ "azure_ai/grok-4-1-fast-non-reasoning": {+ "input_cost_per_token": 2e-07,+ "output_cost_per_token": 5e-07,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "source": "https://techcommunity.microsoft.com/t5/Azure-AI-Foundry-Blog/Grok-4-0-Goes-GA-in-Microsoft-Foundry-and-Grok-4-1-Fast-Arrives/ba-p/4497964",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },+ "azure_ai/grok-4-1-fast-reasoning": {+ "input_cost_per_token": 2e-07,+ "output_cost_per_token": 5e-07,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "source": "https://techcommunity.microsoft.com/t5/Azure-AI-Foundry-Blog/Grok-4-0-Goes-GA-in-Microsoft-Foundry-and-Grok-4-1-Fast-Arrives/ba-p/4497964",+ "supports_function_calling": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },"azure_ai/grok-code-fast-1": {"input_cost_per_token": 2e-07,"litellm_provider": "azure_ai",diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 303cffb407d..c75a67cfc19 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -6100,6 +6100,35 @@"supports_tool_choice": true,"supports_web_search": true},+ "azure_ai/grok-4-1-fast-non-reasoning": {+ "input_cost_per_token": 2e-07,+ "output_cost_per_token": 5e-07,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "source": "https://techcommunity.microsoft.com/t5/Azure-AI-Foundry-Blog/Grok-4-0-Goes-GA-in-Microsoft-Foundry-and-Grok-4-1-Fast-Arrives/ba-p/4497964",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },+ "azure_ai/grok-4-1-fast-reasoning": {+ "input_cost_per_token": 2e-07,+ "output_cost_per_token": 5e-07,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "source": "https://techcommunity.microsoft.com/t5/Azure-AI-Foundry-Blog/Grok-4-0-Goes-GA-in-Microsoft-Foundry-and-Grok-4-1-Fast-Arrives/ba-p/4497964",+ "supports_function_calling": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },"azure_ai/grok-code-fast-1": {"input_cost_per_token": 2e-07,"litellm_provider": "azure_ai",