Files
ragflow/conf/models/xai.json
Jin Hai f670913bb4 Refactor model type to model class (#14426)
### What problem does this PR solve?

As title

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-04-28 16:05:15 +08:00

42 lines
766 B
JSON

{
"name": "xAI",
"url": {
"default": "https://api.x.ai/v1"
},
"url_suffix": {
"chat": "chat/completions"
},
"class": "grok",
"models": [
{
"name": "grok-4",
"max_tokens": 256000,
"model_types": ["chat"]
},
{
"name": "grok-3",
"max_tokens": 131072,
"model_types": ["chat"]
},
{
"name": "grok-3-fast",
"max_tokens": 131072,
"model_types": ["chat"]
},
{
"name": "grok-3-mini",
"max_tokens": 131072,
"model_types": ["chat"]
},
{
"name": "grok-3-mini-mini-fast",
"max_tokens": 131072,
"model_types": ["chat"]
},
{
"name": "grok-2-vision",
"max_tokens": 32768,
"model_types": ["vision"]
}
]
}