Feat: add xAI provider (#8781)

### What problem does this PR solve?

Add xAI provider (experimental feature, requires user feedback).

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Yongteng Lei
2025-07-11 10:35:23 +08:00
committed by GitHub
parent fc0c81acc6
commit 1895667573
4 changed files with 76 additions and 0 deletions

View File

@ -141,6 +141,61 @@
}
]
},
{
"name": "xAI",
"logo": "",
"tags": "LLM",
"status": "1",
"llm": [
{
"llm_name": "grok-4",
"tags": "LLM,CHAT,256k",
"max_tokens": 256000,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "grok-3",
"tags": "LLM,CHAT,130k",
"max_tokens": 131072,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "grok-3-fast",
"tags": "LLM,CHAT,130k",
"max_tokens": 131072,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "grok-3-mini",
"tags": "LLM,CHAT,130k",
"max_tokens": 131072,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "grok-3-mini-mini-fast",
"tags": "LLM,CHAT,130k",
"max_tokens": 131072,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "grok-2-vision",
"tags": "LLM,CHAT,IMAGE2TEXT,32k",
"max_tokens": 32768,
"model_type": "image2text",
"is_tools": true
}
]
},
{
"name": "Tongyi-Qianwen",
"logo": "",