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 2.2× cheaper per token on a blended 3:1 basis. Llama 4 Maverick accepts the larger context window (1.0M).

Head to head
Blended price uses a 3:1 input:output mix
Llama 4 MaverickGemma 4 31B
ProviderMetaGoogle
Input $/1M$0.200$0.100
Output $/1M$0.800$0.340
Blended $/1M$0.350$0.160
Context window1.0M262K
Max output16K262K
ReleasedApr 2025Apr 2026
LicenceOpen weightsOpen 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 (1.0M)
Choose Gemma 4 31B if…
  • Costs less per token — $0.160 vs $0.350 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.160 versus $0.350 per million tokens blended at 3:1 input:output. Input alone: $0.200 vs $0.100. Output alone: $0.800 vs $0.340.
What context windows do Llama 4 Maverick and Gemma 4 31B have?
Llama 4 Maverick: 1,048,576 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