token.app โบ Compare โบ Gemma 4 31B vs Qwen3.8 Max
Gemma 4 31B vs Qwen3.8 Max
Qwen3.8 Max leads on 3 of 3 shared benchmarks. Gemma 4 31B is 19ร cheaper per token on a blended 3:1 basis. Qwen3.8 Max accepts the larger context window (1M).
Head to head
Blended price uses a 3:1 input:output mix
| Gemma 4 31B | Qwen3.8 Max | |
|---|---|---|
| Provider | Alibaba | |
| Input $/1M | $0.100 | $2.00 |
| Output $/1M | $0.340 | $6.00 |
| Blended $/1M | $0.160 | $3.00 |
| Context window | 262K | 1M |
| Max output | 262K | 131K |
| Released | Apr 2026 | Aug 2026 |
| Licence | Open weights | Proprietary |
| GPQA Diamond | 75.8% | 92.7% |
| SimpleQA Verified | 9.6% | 46.3% |
| OTIS Mock AIME | 73.3% | 99.4% |
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 Gemma 4 31B ifโฆ
- Costs less per token โ $0.160 vs $3.00 blended
- Open weights โ self-hostable
Choose Qwen3.8 Max ifโฆ
- Higher GPQA Diamond (92.7% vs 75.8%)
- Higher SimpleQA Verified (46.3% vs 9.6%)
- Higher OTIS Mock AIME (99.4% vs 73.3%)
- Larger context window (1M)
- Newer model (released Aug 2026)
FAQ
Which is better, Gemma 4 31B or Qwen3.8 Max?
Across the 3 benchmarks both models have independently-run scores for, Gemma 4 31B leads on 0 and Qwen3.8 Max leads on 3. Benchmarks are one input โ price and context window are on this page too.
Is Gemma 4 31B cheaper than Qwen3.8 Max?
Gemma 4 31B is cheaper: $0.160 versus $3.00 per million tokens blended at 3:1 input:output. Input alone: $0.100 vs $2.00. Output alone: $0.340 vs $6.00.
What context windows do Gemma 4 31B and Qwen3.8 Max have?
Gemma 4 31B: 262,144 tokens. Qwen3.8 Max: 1,000,000 tokens.
Who makes Gemma 4 31B and Qwen3.8 Max?
Gemma 4 31B is made by Google. Qwen3.8 Max is made by Alibaba.