token.app › Compare › Llama 4 Maverick vs Gemma 4 31B
Llama 4 Maverick vs Gemma 4 31B
Gemma 4 31B leads on 2 of 2 shared benchmarks. Gemma 4 31B is 1.2× cheaper per token on a blended 3:1 basis. Llama 4 Maverick accepts the larger context window (524K).
Head to head
Blended price uses a 3:1 input:output mix
| Llama 4 Maverick | Gemma 4 31B | |
|---|---|---|
| Provider | Meta | |
| Input $/1M | $0.188 | $0.200 |
| Output $/1M | $0.652 | $0.400 |
| Blended $/1M | $0.304 | $0.250 |
| Context window | 524K | 262K |
| Max output | 16K | 16K |
| Released | Apr 2025 | Apr 2026 |
| Licence | Open weights | Open weights |
| GPQA Diamond | 67.0% | 75.8% |
| OTIS Mock AIME | 20.6% | 73.3% |
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose Llama 4 Maverick if…
- Larger context window (524K)
Choose Gemma 4 31B if…
- Costs less per token — $0.250 vs $0.304 blended
- Higher GPQA Diamond (75.8% vs 67.0%)
- Higher OTIS Mock AIME (73.3% vs 20.6%)
- Newer model (released Apr 2026)
FAQ
Which is better, Llama 4 Maverick or Gemma 4 31B?
Across the 2 benchmarks both models have independently-run scores for, Llama 4 Maverick leads on 0 and Gemma 4 31B leads on 2. Benchmarks are one input — price and context window are on this page too.
Is Llama 4 Maverick cheaper than Gemma 4 31B?
Gemma 4 31B is cheaper: $0.250 versus $0.304 per million tokens blended at 3:1 input:output. Input alone: $0.188 vs $0.200. Output alone: $0.652 vs $0.400.
What context windows do Llama 4 Maverick and Gemma 4 31B have?
Llama 4 Maverick: 524,288 tokens. Gemma 4 31B: 262,144 tokens.
Who makes Llama 4 Maverick and Gemma 4 31B?
Llama 4 Maverick is made by Meta. Gemma 4 31B is made by Google.
Related comparisons