Model creator
xAI model pricing
Grok models for reasoning, coding, agentic systems, and long-context applications.
12price listings
| Model | Endpoint | Input | Cached | Output | Context | Source |
|---|---|---|---|---|---|---|
| Direct API | $1 | $0.2 | $2 | 256K | Direct ↗ | |
| OpenRouter | $1 | $0.2 | $2 | 256K | OpenRouter ↗ | |
Grok 4.20xAI | Direct API | $1.25 | $0.2 | $2.5 | 1M | Direct ↗ |
Grok 4.3xAI | Direct API | $1.25 | $0.2 | $2.5 | 1M | Direct ↗ |
| OpenRouter | $1.25 | $0.2 | $2.5 | 2M | OpenRouter ↗ | |
| OpenRouter | $1.25 | $0.2 | $2.5 | 2M | OpenRouter ↗ | |
| OpenRouter | $1.25 | $0.2 | $2.5 | 1M | OpenRouter ↗ | |
Grok 4.5xAI | Direct API | $2 | $0.3 | $6 | 500K | Direct ↗ |
Grok 4.6xAI | Direct API | $2 | $0.5 | $6 | 500K | Direct ↗ |
| OpenRouter | $2 | $0.3 | $6 | 500K | OpenRouter ↗ | |
| OpenRouter | $2 | $0.5 | $6 | 500K | OpenRouter ↗ | |
| OpenRouter | $2 | $0.5 | $6 | 500K | OpenRouter ↗ |
How to read this page
Rows marked Direct use xAI's first-party API pricing where it is tracked. Rows marked OpenRouter show the price published by OpenRouter for that route. They are separate purchasing options and can differ.