{
"grok-3": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 131072,
"cost": {
"cacheRead": 0.75,
"cacheWrite": 0,
"input": 3,
"output": 15
},
"id": "grok-3",
"input": [
"text"
],
"maxTokens": 8192,
"name": "Grok 3",
"provider": "xai",
"reasoning": false
},
"grok-3-fast": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 131072,
"cost": {
"cacheRead": 1.25,
"cacheWrite": 0,
"input": 5,
"output": 25
},
"id": "grok-3-fast",
"input": [
"text"
],
"maxTokens": 8192,
"name": "Grok 3 Fast",
"provider": "xai",
"reasoning": false
},
"grok-4.20-0309-non-reasoning": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 1000000,
"cost": {
"cacheRead": 0.2,
"cacheWrite": 0,
"input": 1.25,
"output": 2.5
},
"id": "grok-4.20-0309-non-reasoning",
"input": [
"text",
"image"
],
"maxTokens": 30000,
"name": "Grok 4.20 (Non-Reasoning)",
"provider": "xai",
"reasoning": false
},
"grok-4.20-0309-reasoning": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 1000000,
"cost": {
"cacheRead": 0.2,
"cacheWrite": 0,
"input": 1.25,
"output": 2.5
},
"id": "grok-4.20-0309-reasoning",
"input": [
"text",
"image"
],
"maxTokens": 30000,
"name": "Grok 4.20 (Reasoning)",
"provider": "xai",
"reasoning": true
},
"grok-4.3": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 1000000,
"cost": {
"cacheRead": 0.2,
"cacheWrite": 0,
"input": 1.25,
"output": 2.5
},
"id": "grok-4.3",
"input": [
"text",
"image"
],
"maxTokens": 30000,
"name": "Grok 4.3",
"provider": "xai",
"reasoning": true
},
"grok-build-0.1": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 256000,
"cost": {
"cacheRead": 0.2,
"cacheWrite": 0,
"input": 1,
"output": 2
},
"id": "grok-build-0.1",
"input": [
"text",
"image"
],
"maxTokens": 256000,
"name": "Grok Build 0.1",
"provider": "xai",
"reasoning": true
},
"grok-code-fast-1": {
"api": "openai-completions",
"baseUrl": "https://api.x.ai/v1",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsStore": false
},
"contextWindow": 32768,
"cost": {
"cacheRead": 0.02,
"cacheWrite": 0,
"input": 0.2,
"output": 1.5
},
"id": "grok-code-fast-1",
"input": [
"text"
],
"maxTokens": 8192,
"name": "Grok Code Fast 1",
"provider": "xai",
"reasoning": false
}
}