Model creator
xAI model pricing
Grok models for reasoning, coding, agentic systems, and long-context applications.
13price listings
| Model | Endpoint | Input | Cached | Output | Context | Source |
|---|---|---|---|---|---|---|
| Direct API | $1 | $0.2 | $2 | 256K | Direct ↗ | |
| OpenRouter | $1 | $0.16 | $2 | 1M | OpenRouter ↗ | |
| 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 tracked. Official endpoint rows use pricing published by Groq, Together AI, or Cerebras. OpenRouter rows use its public models API. These are separate purchasing routes and can differ.