- Model
grok-3-mini-fast-latest- Provider
xai- API
openai-completions- Base URL
https://api.x.ai/v1- Input
- text
- Reasoning
- Yes
- Context window
- 131,072
- Max tokens
- 8,192
- Cost / million input
- $0.6
- Cost / million output
- $4
- Cost / million cache read
- $0.15
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"xai": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "grok-3-mini-fast-latest",
"name": "Grok 3 Mini Fast Latest",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 131072,
"maxTokens": 8192,
"cost": {
"input": 0.6,
"output": 4,
"cacheRead": 0.15,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1"
}
}
}