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
add azure_ai grok-4 model family (#15137)
Mubashir Osmanif2107a189dac
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 1d12d1a74a1..bae7c11e66c 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -3308,6 +3308,64 @@"supports_tool_choice": true,"supports_web_search": true},+ "azure_ai/grok-4": {+ "input_cost_per_token": 5.5e-06,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 2.75e-05,+ "source": "https://azure.microsoft.com/en-us/blog/grok-4-is-now-available-in-azure-ai-foundry-unlock-frontier-intelligence-and-business-ready-capabilities/",+ "supports_function_calling": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },+ "azure_ai/grok-4-fast-non-reasoning": {+ "input_cost_per_token": 5e-06,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 2.5e-03,+ "source": "https://azure.microsoft.com/en-us/blog/grok-4-is-now-available-in-azure-ai-foundry-unlock-frontier-intelligence-and-business-ready-capabilities/",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },+ "azure_ai/grok-4-fast-reasoning": {+ "input_cost_per_token": 5.8e-06,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 2.9e-03,+ "source": "https://azure.microsoft.com/en-us/blog/grok-4-is-now-available-in-azure-ai-foundry-unlock-frontier-intelligence-and-business-ready-capabilities/",+ "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": 3.5e-06,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 1.75e-05,+ "source": "https://azure.microsoft.com/en-us/blog/grok-4-is-now-available-in-azure-ai-foundry-unlock-frontier-intelligence-and-business-ready-capabilities/",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_web_search": true+ },"azure_ai/jais-30b-chat": {"input_cost_per_token": 0.0032,"litellm_provider": "azure_ai",