xAI
Grok 4
AI model by xAI. Real-time pricing and benchmark data.
Benchmarks
Coding Index40.5
Math Index92.7
GPQA Diamond87.7%
MMLU-Pro86.6%
LiveCodeBench81.9%
AIME 202592.7%
MATH-50099.0%
Humanity's Last Exam23.9%
SciCode45.7%
IFBench53.7%
TerminalBench37.9%
Compare with similar models
| Model | Input | Output | Speed |
|---|---|---|---|
Grok 4Current | $4.25 | $21.25 | 44 tok/s |
| Claude Opus 4.7 (Adaptive Reasoning, Max Effort) | $6.25 | $25.00 | 65 tok/s |
| Claude Opus 4.7 (Non-reasoning, High Effort) | $6.25 | $25.00 | 62 tok/s |
| Claude Opus 4.6 (Adaptive Reasoning, Max Effort) | $6.25 | $25.00 | 49 tok/s |
| Claude Opus 4.6 (Non-reasoning, High Effort) | $6.25 | $25.00 | 44 tok/s |
| Claude Opus 4.5 (Non-reasoning) | $6.25 | $25.00 | 52 tok/s |
Compare Grok 4 with
Example Costs
Single Request
$0.0149
1.0K in / 500 out
1K Requests/day
$14.88
1.0M in / 500.0K out
10K Requests/day
$148.75
10.0M in / 5.0M out