Files
ragflow/conf/models/xai.json
jay77721 47ecc2a231 feat: populate content_length and max_output from official docs (#17836)
## Summary

- Verify and populate `content_length` (context window) and `max_output`
(max generation tokens) for all **478 chat/vision models** across **47
provider configs**
- Data sourced from **official API documentation** via 12 parallel
agents + targeted web verification
- Update Go test assertions to match verified values

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-05 15:22:57 +08:00

86 lines
1.4 KiB
JSON

{
"name": "xAI",
"rank": 992,
"url": {
"default": "https://api.x.ai/v1"
},
"url_suffix": {
"chat": "chat/completions",
"models": "models",
"tts": "tts",
"asr": "stt"
},
"class": "grok",
"models": [
{
"name": "grok-4",
"content_length": 262144,
"max_output": 131072,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "grok-3",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "grok-3-fast",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "grok-3-mini",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "grok-3-mini-mini-fast",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "grok-2-vision",
"content_length": 32768,
"max_output": 8192,
"model_types": [
"vision"
]
},
{
"name": "eve",
"model_types": [
"tts"
]
}
]
}