stack-x-ai.stack.json json Copy{
"osr": "1",
"kind": "stack",
"name": "xAI tiers",
"description": "xAI only: Grok Build 0.1 for everyday requests, Grok 4.3 for moderate work, Grok 4.6 for hard ones - with complexity rules and a cost-aware objective.",
"targets": [
{
"ocm": "1",
"id": "model-x-ai-grok-build-0-1",
"kind": "llm",
"name": "Grok Build 0.1",
"description": "Grok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding...",
"publisher": "xAI",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"llm",
"x-ai",
"openrouter",
"reasoning",
"tool-calling",
"image",
"file",
"models"
],
"languages": [
"en"
],
"modalities": [
"text",
"image",
"file"
],
"supports_tools": true,
"supports_streaming": true,
"context_window": 256000
},
"quality_prior": 0.6,
"examples": [
"Grok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding..."
],
"primary": false,
"metadata": {
"source": {
"provider": "models",
"ref": "1779298123",
"url": "https://openrouter.ai/x-ai/grok-build-0.1",
"key": "x-ai/grok-build-0.1",
"catalogue": "https://openrouter.ai/api/v1"
},
"model": "x-ai/grok-build-0.1",
"pricing": {
"input_usd_per_1m": 1,
"output_usd_per_1m": 2,
"cache_read_usd_per_1m": 0.2
},
"max_output_tokens": 230400,
"output_modalities": [
"text"
],
"reasoning": true,
"created": 1779298123,
"benchmarks": {
"coding_index": 51.5
}
},
"cost": {
"usd_per_1k_tokens": 0.0015
},
"endpoints": [
{
"protocol": "openai",
"url": "https://openrouter.ai/api/v1"
}
]
},
{
"ocm": "1",
"id": "model-x-ai-grok-4-3",
"kind": "llm",
"name": "Grok 4.3",
"description": "Grok 4.3 is a reasoning model from SpaceXAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual...",
"publisher": "xAI",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"llm",
"x-ai",
"openrouter",
"reasoning",
"tool-calling",
"image",
"file",
"models"
],
"languages": [
"en"
],
"modalities": [
"text",
"image",
"file"
],
"supports_tools": true,
"supports_streaming": true,
"context_window": 1000000
},
"quality_prior": 0.254,
"examples": [
"Grok 4.3 is a reasoning model from SpaceXAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual..."
],
"primary": false,
"metadata": {
"source": {
"provider": "models",
"ref": "1777591821",
"url": "https://openrouter.ai/x-ai/grok-4.3",
"key": "x-ai/grok-4.3",
"catalogue": "https://openrouter.ai/api/v1"
},
"model": "x-ai/grok-4.3",
"pricing": {
"input_usd_per_1m": 1.25,
"output_usd_per_1m": 2.5,
"cache_read_usd_per_1m": 0.2
},
"max_output_tokens": 900000,
"output_modalities": [
"text"
],
"reasoning": true,
"created": 1777591821,
"benchmarks": {
"intelligence_index": 25.4,
"coding_index": 42.2,
"agentic_index": 17.2,
"osr_index": 34.8,
"osr_coverage": 0.4
}
},
"cost": {
"usd_per_1k_tokens": 0.001875
},
"endpoints": [
{
"protocol": "openai",
"url": "https://openrouter.ai/api/v1"
}
]
},
{
"ocm": "1",
"id": "model-x-ai-grok-4-6",
"kind": "llm",
"name": "Grok 4.6",
"description": "Grok 4.6 is SpaceXAI's smartest model with frontier performance on coding, knowledge work, and STEM.",
"publisher": "xAI",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"llm",
"x-ai",
"openrouter",
"reasoning",
"tool-calling",
"image",
"file",
"models"
],
"languages": [
"en"
],
"modalities": [
"text",
"image",
"file"
],
"supports_tools": true,
"supports_streaming": true,
"context_window": 500000
},
"quality_prior": 0.444,
"examples": [
"Grok 4.6 is SpaceXAI's smartest model with frontier performance on coding, knowledge work, and STEM."
],
"primary": false,
"metadata": {
"source": {
"provider": "models",
"ref": "1786548957",
"url": "https://openrouter.ai/x-ai/grok-4.6",
"key": "x-ai/grok-4.6",
"catalogue": "https://openrouter.ai/api/v1"
},
"model": "x-ai/grok-4.6",
"pricing": {
"input_usd_per_1m": 2,
"output_usd_per_1m": 6,
"cache_read_usd_per_1m": 0.5
},
"max_output_tokens": 450000,
"output_modalities": [
"text"
],
"reasoning": true,
"created": 1786548957,
"benchmarks": {
"intelligence_index": 44.4,
"coding_index": 76.8,
"agentic_index": 53.4,
"osr_index": 45.6,
"osr_coverage": 0.4
}
},
"cost": {
"usd_per_1k_tokens": 0.004
},
"endpoints": [
{
"protocol": "openai",
"url": "https://openrouter.ai/api/v1"
}
]
}
],
"rules": [
{
"name": "hard-to-strongest",
"when": {
"min_complexity": 0.7
},
"prefer": [
"model-x-ai-grok-4-6"
]
},
{
"name": "easy-stays-cheap",
"when": {
"max_complexity": 0.3
},
"avoid": [
"model-x-ai-grok-4-6"
]
}
],
"objective": {
"quality": 0.7,
"cost": 0.8,
"latency": 0.2
},
"metadata": {
"source": {
"provider": "catalogue-stacks",
"path": "x-ai",
"ref": "2026-09-19",
"url": "https://openrouter.ai/x-ai",
"key": "catalogue-stacks/x-ai",
"catalogue": "https://openrouter.ai/api/v1",
"generated": true
}
}
}