Skip to content

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]

opnerouter/x-ai/grok-4-fast:free" to model_prices_and_context_window.json (#14779)

Gagan Raj Chinkaa5ed3446cde3
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index aa30efd606e..256dfeb3718 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -16900,6 +16900,20 @@
"supports_tool_choice": true,
"supports_web_search": true
},
+ "openrouter/x-ai/grok-4-fast:free": {
+ "input_cost_per_token": 0,
+ "litellm_provider": "openrouter",
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 30000,
+ "max_tokens": 2000000,
+ "mode": "chat",
+ "output_cost_per_token": 0,
+ "source": "https://openrouter.ai/x-ai/grok-4-fast:free",
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "supports_web_search": false
+ },
"ovhcloud/DeepSeek-R1-Distill-Llama-70B": {
"input_cost_per_token": 6.7e-07,
"litellm_provider": "ovhcloud",
@@ -21463,4 +21477,4 @@
"supports_vision": true,
"supports_web_search": true
}
-}
\ No newline at end of file
+}
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index aa30efd606e..256dfeb3718 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -16900,6 +16900,20 @@
"supports_tool_choice": true,
"supports_web_search": true
},
+ "openrouter/x-ai/grok-4-fast:free": {
+ "input_cost_per_token": 0,
+ "litellm_provider": "openrouter",
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 30000,
+ "max_tokens": 2000000,
+ "mode": "chat",
+ "output_cost_per_token": 0,
+ "source": "https://openrouter.ai/x-ai/grok-4-fast:free",
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "supports_web_search": false
+ },
"ovhcloud/DeepSeek-R1-Distill-Llama-70B": {
"input_cost_per_token": 6.7e-07,
"litellm_provider": "ovhcloud",
@@ -21463,4 +21477,4 @@
"supports_vision": true,
"supports_web_search": true
}
-}
\ No newline at end of file
+}