← All models
X
Grok 3
xAI
xAI's flagship model with real-time web access and strong performance on coding and analysis.
Input price$3.00 / 1M tokens
Output price$15.00 / 1M tokens
Context window128k tokens
Last updated2026-04-21
Quick calculator
Per request
$0.0105
Daily
$105.00
Monthly
$3,150.00
per month · 30-day estimate
Yearly
$38,325.00
Tips to reduce cost
- →Use prompt caching to reuse repeated system prompts
- →Trim whitespace and reduce verbose instructions
- →Use a smaller model for classification or routing tasks
- →Batch async requests to get 50% discount (OpenAI/Anthropic)
- →Cache identical requests at the application layer
Similar models from xAI
Compared at your current token settings