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]

correct model map

Sameer Kankutee656b2a47b2a
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 13a45fd1650..a1e3e42a9c5 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -33337,6 +33337,72 @@
"source": "https://console.cloud.google.com/vertex-ai/publishers/openai/model-garden/gpt-oss-120b-maas",
"supports_reasoning": true
},
+ "vertex_ai/xai/grok-4.1-fast-non-reasoning": {
+ "cache_read_input_token_cost": 5e-08,
+ "input_cost_per_token": 2e-07,
+ "litellm_provider": "vertex_ai",
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 2000000,
+ "max_tokens": 2000000,
+ "mode": "chat",
+ "output_cost_per_token": 5e-07,
+ "source": "https://docs.x.ai/docs/models (Vertex AI Model Garden)",
+ "supports_function_calling": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_web_search": true
+ },
+ "vertex_ai/xai/grok-4.1-fast-reasoning": {
+ "cache_read_input_token_cost": 5e-08,
+ "input_cost_per_token": 2e-07,
+ "litellm_provider": "vertex_ai",
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 2000000,
+ "max_tokens": 2000000,
+ "mode": "chat",
+ "output_cost_per_token": 5e-07,
+ "source": "https://docs.x.ai/docs/models (Vertex AI Model Garden)",
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_web_search": true
+ },
+ "vertex_ai/xai/grok-4.20-non-reasoning": {
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "vertex_ai",
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 2000000,
+ "max_tokens": 2000000,
+ "mode": "chat",
+ "output_cost_per_token": 6e-06,
+ "source": "https://docs.x.ai/docs/models (Vertex AI Model Garden)",
+ "supports_function_calling": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_web_search": true
+ },
+ "vertex_ai/xai/grok-4.20-reasoning": {
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "vertex_ai",
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 2000000,
+ "max_tokens": 2000000,
+ "mode": "chat",
+ "output_cost_per_token": 6e-06,
+ "source": "https://docs.x.ai/docs/models (Vertex AI Model Garden)",
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_web_search": true
+ },
"vertex_ai/qwen/qwen3-235b-a22b-instruct-2507-maas": {
"input_cost_per_token": 2.5e-07,
"litellm_provider": "vertex_ai-qwen_models",
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index a3047118fe3..d21a4bf11d6 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -33391,7 +33391,7 @@
"source": "https://console.cloud.google.com/vertex-ai/publishers/openai/model-garden/gpt-oss-120b-maas",
"supports_reasoning": true
},
- "vertex_ai/openai/xai/grok-4.1-fast-non-reasoning": {
+ "vertex_ai/xai/grok-4.1-fast-non-reasoning": {
"cache_read_input_token_cost": 5e-08,
"input_cost_per_token": 2e-07,
"litellm_provider": "vertex_ai",
@@ -33407,7 +33407,7 @@
"supports_vision": true,
"supports_web_search": true
},
- "vertex_ai/openai/xai/grok-4.1-fast-reasoning": {
+ "vertex_ai/xai/grok-4.1-fast-reasoning": {
"cache_read_input_token_cost": 5e-08,
"input_cost_per_token": 2e-07,
"litellm_provider": "vertex_ai",
@@ -33424,7 +33424,7 @@
"supports_vision": true,
"supports_web_search": true
},
- "vertex_ai/openai/xai/grok-4.20-non-reasoning": {
+ "vertex_ai/xai/grok-4.20-non-reasoning": {
"cache_read_input_token_cost": 2e-07,
"input_cost_per_token": 2e-06,
"litellm_provider": "vertex_ai",
@@ -33440,7 +33440,7 @@
"supports_vision": true,
"supports_web_search": true
},
- "vertex_ai/openai/xai/grok-4.20-reasoning": {
+ "vertex_ai/xai/grok-4.20-reasoning": {
"cache_read_input_token_cost": 2e-07,
"input_cost_per_token": 2e-06,
"litellm_provider": "vertex_ai",