add xai/grok-code-fast (#14054)

This commit is contained in:
Ishaan Jaff 2025-08-28 18:10:04 -07:00 committed by GitHub
parent 3fe05b300a
commit 81db36c06c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 84 additions and 0 deletions

View file

@ -5598,6 +5598,48 @@
"supports_tool_choice": true,
"supports_web_search": true
},
"xai/grok-code-fast-1": {
"max_tokens": 256000,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"input_cost_per_token": 0.2e-06,
"output_cost_per_token": 1.5e-06,
"cache_read_input_token_cost": 0.02e-06,
"litellm_provider": "xai",
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_reasoning": true,
"source": "https://docs.x.ai/docs/models"
},
"xai/grok-code-fast": {
"max_tokens": 256000,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"input_cost_per_token": 0.2e-06,
"output_cost_per_token": 1.5e-06,
"cache_read_input_token_cost": 0.02e-06,
"litellm_provider": "xai",
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_reasoning": true,
"source": "https://docs.x.ai/docs/models"
},
"xai/grok-code-fast-1-0825": {
"max_tokens": 256000,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"input_cost_per_token": 0.2e-06,
"output_cost_per_token": 1.5e-06,
"cache_read_input_token_cost": 0.02e-06,
"litellm_provider": "xai",
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_reasoning": true,
"source": "https://docs.x.ai/docs/models"
},
"xai/grok-4": {
"max_tokens": 256000,
"max_input_tokens": 256000,

View file

@ -5598,6 +5598,48 @@
"supports_tool_choice": true,
"supports_web_search": true
},
"xai/grok-code-fast-1": {
"max_tokens": 256000,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"input_cost_per_token": 0.2e-06,
"output_cost_per_token": 1.5e-06,
"cache_read_input_token_cost": 0.02e-06,
"litellm_provider": "xai",
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_reasoning": true,
"source": "https://docs.x.ai/docs/models"
},
"xai/grok-code-fast": {
"max_tokens": 256000,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"input_cost_per_token": 0.2e-06,
"output_cost_per_token": 1.5e-06,
"cache_read_input_token_cost": 0.02e-06,
"litellm_provider": "xai",
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_reasoning": true,
"source": "https://docs.x.ai/docs/models"
},
"xai/grok-code-fast-1-0825": {
"max_tokens": 256000,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"input_cost_per_token": 0.2e-06,
"output_cost_per_token": 1.5e-06,
"cache_read_input_token_cost": 0.02e-06,
"litellm_provider": "xai",
"mode": "chat",
"supports_function_calling": true,
"supports_tool_choice": true,
"supports_reasoning": true,
"source": "https://docs.x.ai/docs/models"
},
"xai/grok-4": {
"max_tokens": 256000,
"max_input_tokens": 256000,