Files
ragflow/conf/models/xai.json
Jin Hai 6c29128de1 Refactor model provider and command (#13887)
### What problem does this PR solve?

Introduce 5 new tables, including model groups and provider instance.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-04-02 20:20:35 +08:00

52 lines
1016 B
JSON

{
"name": "xAI",
"tags": "LLM",
"url": "https://api.x.ai/v1",
"url_suffix": {
"chat": "chat/completions"
},
"models": [
{
"name": "grok-4",
"max_tokens": 256000,
"model_types": ["llm"],
"features": {}
},
{
"name": "grok-3",
"max_tokens": 131072,
"model_types": ["llm"],
"features": {}
},
{
"name": "grok-3-fast",
"max_tokens": 131072,
"model_types": ["llm"],
"features": {}
},
{
"name": "grok-3-mini",
"max_tokens": 131072,
"model_types": ["llm"],
"features": {}
},
{
"name": "grok-3-mini-mini-fast",
"max_tokens": 131072,
"model_types": ["llm"],
"features": {}
},
{
"name": "grok-2-vision",
"max_tokens": 32768,
"model_types": ["vlm"],
"features": {
"multimodal": {
"enabled": true,
"input_modalities": ["image"],
"output_modalities": ["text"]
}
}
}
]
}