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 unsupported stop param for grok-code models (#14565)
Sameer Kankute7fd6e62570b9
diff --git a/litellm/llms/xai/chat/transformation.py b/litellm/llms/xai/chat/transformation.pyindex 78c20ac5731..b01f6c18466 100644--- a/litellm/llms/xai/chat/transformation.py+++ b/litellm/llms/xai/chat/transformation.py@@ -80,6 +80,8 @@ class XAIChatConfig(OpenAIGPTConfig):return Falseelif "grok-4" in model:return False+ elif "grok-code-fast" in model:+ return Falsereturn Truedef _supports_frequency_penalty(self, model: str) -> bool: