xAI
Grok 3 Pricing
API pricing for Grok 3 by xAI. Input tokens cost $3/1M, output tokens cost $15/1M with 131K context window.
Last updated:
Tools
Input Cost
$3
per 1M tokens
Output Cost
$15
per 1M tokens
Context Window
131K
tokens
Cost Calculator
Estimated Cost:
$0.00
Model Details
Provider
xAI
Model ID
grok-3
Context Window
131K tokens
Max Output
8192 tokens
Cache Read Cost
$0.75/1M
Release Date
2025-02-17
Compare Alternatives
| Model | Input | Output | Context |
|---|---|---|---|
| Grok 3 (this model) | $3 | $15 | 131K |
| Claude Sonnet 3 Anthropic | $3 | $15 | 200K |
| Claude Sonnet 3.5 Anthropic | $3 | $15 | 200K |
| Claude Sonnet 3.5 v2 Anthropic | $3 | $15 | 200K |
| Claude Sonnet 3.7 Anthropic | $3 | $15 | 200K |
| Claude Sonnet 3.7 (latest) Anthropic | $3 | $15 | 200K |
Available from Resellers
Grok 3 is also available through these resellers and gateways:
| Reseller | Model | Input | Output |
|---|---|---|---|
| Azure | Grok 3 | $3 | $15 |
| Azure | Grok 3 Mini | $0.3 | $0.5 |
| Azure Cognitive Services | Grok 3 | $3 | $15 |
| Azure Cognitive Services | Grok 3 Mini | $0.3 | $0.5 |
| GitHub Models | Grok 3 | $0 | $0 |
| GitHub Models | Grok 3 Mini | $0 | $0 |
| Helicone | xAI Grok 3 | $3 | $15 |
| Helicone | xAI Grok 3 Mini | $0.3 | $0.5 |
| OpenRouter | Grok 3 | $3 | $15 |
| OpenRouter | Grok 3 Beta | $3 | $15 |