token.app โ€บ Compare โ€บ Gemma 4 31B vs Qwen3.7 Flash

Gemma 4 31B vs Qwen3.7 Flash

Qwen3.7 Flash leads on 2 of 2 shared benchmarks. Qwen3.7 Flash is 4.5ร— cheaper per token on a blended 3:1 basis. Qwen3.7 Flash accepts the larger context window (1M).

Head to head
Blended price uses a 3:1 input:output mix
Gemma 4 31BQwen3.7 Flash
ProviderGoogleAlibaba
Input $/1M$0.200$0.030
Output $/1M$0.400$0.130
Blended $/1M$0.250$0.055
Context window262K1M
Max output16K66K
ReleasedApr 2026Jul 2026
LicenceOpen weightsProprietary
GPQA Diamond 75.8% 82.3%
OTIS Mock AIME 73.3% 86.7%
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โ€ฆ
  • Open weights โ€” self-hostable
Choose Qwen3.7 Flash ifโ€ฆ
  • Costs less per token โ€” $0.055 vs $0.250 blended
  • Higher GPQA Diamond (82.3% vs 75.8%)
  • Higher OTIS Mock AIME (86.7% vs 73.3%)
  • Larger context window (1M)
  • Newer model (released Jul 2026)
FAQ
Which is better, Gemma 4 31B or Qwen3.7 Flash?
Across the 2 benchmarks both models have independently-run scores for, Gemma 4 31B leads on 0 and Qwen3.7 Flash leads on 2. Benchmarks are one input โ€” price and context window are on this page too.
Is Gemma 4 31B cheaper than Qwen3.7 Flash?
Qwen3.7 Flash is cheaper: $0.055 versus $0.250 per million tokens blended at 3:1 input:output. Input alone: $0.200 vs $0.030. Output alone: $0.400 vs $0.130.
What context windows do Gemma 4 31B and Qwen3.7 Flash have?
Gemma 4 31B: 262,144 tokens. Qwen3.7 Flash: 1,000,000 tokens.
Who makes Gemma 4 31B and Qwen3.7 Flash?
Gemma 4 31B is made by Google. Qwen3.7 Flash is made by Alibaba.
Related comparisons