forked from phoenix/litellm-mirror
(feat) add XAI ChatCompletion Support (#6373)
* init commit for XAI * add full logic for xai chat completion * test_completion_xai * docs xAI * add xai/grok-beta * test_xai_chat_config_get_openai_compatible_provider_info * test_xai_chat_config_map_openai_params * add xai streaming test
This commit is contained in:
parent
9545b0e5cd
commit
5652c375b3
9 changed files with 400 additions and 0 deletions
|
@ -1502,6 +1502,17 @@
|
|||
"mode": "completion",
|
||||
"source": "https://docs.mistral.ai/capabilities/code_generation/"
|
||||
},
|
||||
"xai/grok-beta": {
|
||||
"max_tokens": 131072,
|
||||
"max_input_tokens": 131072,
|
||||
"max_output_tokens": 131072,
|
||||
"input_cost_per_token": 0.000005,
|
||||
"output_cost_per_token": 0.000015,
|
||||
"litellm_provider": "xai",
|
||||
"mode": "chat",
|
||||
"supports_function_calling": true,
|
||||
"supports_vision": true
|
||||
},
|
||||
"deepseek-coder": {
|
||||
"max_tokens": 4096,
|
||||
"max_input_tokens": 128000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue