Key Takeaways
GPT-5.4 wins:
- Cheaper input tokens
- Larger context window
- Faster response time
- Higher intelligence benchmark
- Better at coding
Grok 4 wins:
- Better at math
- Has reasoning mode
Price Advantage
GPT-5.4
Benchmark Advantage
GPT-5.4
Context Window
GPT-5.4
Speed
GPT-5.4
Pricing Comparison
Price Comparison
| Metric | GPT-5.4 | Grok 4 | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $2.50 | $3.00 | GPT-5.4 |
| Output (per 1M tokens) | $15.00 | $15.00 | Tie |
| Cache Read (per 1M) | $0.25 | $0.75 | GPT-5.4 |
Using a 3:1 input/output ratio, GPT-5.4 is 6% cheaper overall.
GPT-5.4 Providers
No provider data available
Grok 4 Providers
No provider data available
Benchmark Comparison
8
Benchmarks Compared
3
GPT-5.4 Wins
0
Grok 4 Wins
Benchmark Scores
| Benchmark | GPT-5.4 | Grok 4 | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 57.0 | 41.5 | |
Coding Index Code generation & understanding | 57.3 | 40.5 | |
Math Index Mathematical reasoning | - | 92.7 | - |
MMLU Pro Academic knowledge | - | 86.6 | - |
GPQA Graduate-level science | 92.0 | 87.7 | |
LiveCodeBench Competitive programming | - | 81.9 | - |
Aider Real-world code editing | - | 79.6 | - |
AIME Competition math | - | 94.3 | - |
GPT-5.4 significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Other models
Context & Performance
Context Window
GPT-5.4
1,050,000
tokens
Grok 4
256,000
tokens
GPT-5.4 has a 76% larger context window.
Speed Performance
| Metric | GPT-5.4 | Grok 4 | Winner |
|---|---|---|---|
| Tokens/second | 84.0 tok/s | 48.1 tok/s | |
| Time to First Token | 165.19s | 10.29s |
GPT-5.4 responds 75% faster on average.
Capabilities
Feature Comparison
| Feature | GPT-5.4 | Grok 4 |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | GPT-5.4 | Grok 4 |
|---|---|---|
| License | Proprietary | Proprietary |
| Author | OpenAI | Xai |
| Released | Mar 2026 | Jul 2025 |
GPT-5.4 Modalities
Input
textimagefile
Output
text
Grok 4 Modalities
Input
imagetext
Output
text