Key Takeaways
Grok 4 wins:
- Higher intelligence benchmark
- Better at coding
- Better at math
- Supports vision
Grok Code Fast 1 wins:
- Cheaper input tokens
- Cheaper output tokens
- Faster response time
Price Advantage
Grok Code Fast 1
Benchmark Advantage
Grok 4
Context Window
Grok Code Fast 1
Speed
Grok Code Fast 1
Pricing Comparison
Price Comparison
| Metric | Grok 4 | Grok Code Fast 1 | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $3.00 | $0.20 | Grok Code Fast 1 |
| Output (per 1M tokens) | $15.00 | $1.50 | Grok Code Fast 1 |
| Cache Read (per 1M) | $750000.00 | $20000.00 | Grok Code Fast 1 |
Using a 3:1 input/output ratio, Grok Code Fast 1 is 91% cheaper overall.
Grok 4 Providers
Vercel $3.00 (Cheapest)
xAI $3.00 (Cheapest)
Grok Code Fast 1 Providers
xAI $0.20 (Cheapest)
Benchmark Comparison
8
Benchmarks Compared
6
Grok 4 Wins
0
Grok Code Fast 1 Wins
Benchmark Scores
| Benchmark | Grok 4 | Grok Code Fast 1 | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 41.4 | 28.7 | |
Coding Index Code generation & understanding | 40.5 | 23.7 | |
Math Index Mathematical reasoning | 92.7 | 43.3 | |
MMLU Pro Academic knowledge | 86.6 | 79.3 | |
GPQA Graduate-level science | 87.7 | 72.7 | |
LiveCodeBench Competitive programming | 81.9 | 65.7 | |
Aider Real-world code editing | 79.6 | - | - |
AIME Competition math | 94.3 | - | - |
Grok 4 significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Grok 4
Other models
Context & Performance
Context Window
Grok 4
256,000
tokens
Grok Code Fast 1
256,000
tokens
Max output: 10,000 tokens
Speed Performance
| Metric | Grok 4 | Grok Code Fast 1 | Winner |
|---|---|---|---|
| Tokens/second | 33.9 tok/s | 287.7 tok/s | |
| Time to First Token | 8.24s | 6.68s |
Grok Code Fast 1 responds 748% faster on average.
Capabilities
Feature Comparison
| Feature | Grok 4 | Grok Code Fast 1 |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Grok 4 | Grok Code Fast 1 |
|---|---|---|
| License | Proprietary | Proprietary |
| Author | Xai | Xai |
| Released | Jul 2025 | Aug 2025 |
Grok 4 Modalities
Input
imagetext
Output
text
Grok Code Fast 1 Modalities
Input
text
Output
text
