Key Takeaways
Gemma 4 31B Instruct wins:
- Cheaper input tokens
- Cheaper output tokens
- Larger context window
Grok 4 wins:
- Faster response time
- Higher intelligence benchmark
- Better at coding
- Better at math
- Has reasoning mode
Price Advantage
Gemma 4 31B Instruct
Benchmark Advantage
Grok 4
Context Window
Gemma 4 31B Instruct
Speed
Grok 4
Pricing Comparison
Benchmark Comparison
Context & Performance
Capabilities
Feature Comparison
| Feature | Gemma 4 31B Instruct | Grok 4 |
|---|---|---|
Vision (Image Input) | ||
Tool/Function Calls | ||
Reasoning Mode | ||
Audio Input | ||
Audio Output | ||
PDF Input | ||
Prompt Caching | ||
Web Search |
License & Release
| Property | Gemma 4 31B Instruct | Grok 4 |
|---|---|---|
| License | Proprietary | Proprietary |
| Author | Xai | |
| Released | Apr 2026 | Jul 2025 |
Gemma 4 31B Instruct Modalities
Input
imagetextvideo
Output
text
Grok 4 Modalities
Input
imagetext
Output
text