feat: add support for xAI Grok 4 model (#950)

- Add grok-4 to supported models with $3/$15 per 1M token pricing
- Enable main, fallback, and research roles for grok-4
- Update models.md documentation to include grok-4 in all tables
This commit is contained in:
Ben Vargas
2025-07-10 01:24:48 -06:00
committed by GitHub
parent 95c299df64
commit 699e9eefb5
3 changed files with 23 additions and 0 deletions

View File

@@ -394,6 +394,17 @@
},
"allowed_roles": ["main", "fallback", "research"],
"max_tokens": 131072
},
{
"id": "grok-4",
"name": "Grok 4",
"swe_score": null,
"cost_per_1m_tokens": {
"input": 3,
"output": 15
},
"allowed_roles": ["main", "fallback", "research"],
"max_tokens": 131072
}
],
"ollama": [