ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Gemma 4 31BvsQwen3.5 397B-A17B

Qwen3.5 397B-A17B leads 3 of 4 shared benchmarks. Qwen3.5 397B-A17B has the larger context window (262K tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
1 – 3
Qwen3.5 397B-A17B leads
Cheaper per token
list price, input + output
Larger context
Qwen3.5 397B-A17B
262K tokens
Provider uptime (30d)
100% · —
Google · Qwen
Gemma 4 31B
Google · released 2026-04-02
textvision
Context
256K
Max out
Input /1M
Output /1M
Cached /1M
Scores
6 · 5 core
Qwen3.5 397B-A17B
Qwen · released 2026-02-15
textvision
Context
262K
Max out
Input /1M
$0.172
Output /1M
$1.03
Cached /1M
Scores
8 · 7 core
Quality

Benchmark matrix

BenchmarkGemma 4 31BQwen3.5 397B-A17BΔEdge
Reported by both · 4
GPQA Diamond84.3% 88.4% -4.1 ptQwen3.5 397B-A17B
MMLU-Pro85.2% 87.8% -2.6 ptQwen3.5 397B-A17B
AIME 202689.2% 94.2% matharena-5 ptQwen3.5 397B-A17B
LMArena Elo1441.7 1438.3 +3.4Gemma 4 31B
Only Gemma 4 31B reports · 2
Humanity's Last Exam (no tools)19.5% not reported
LiveCodeBench v680% not reported
Only Qwen3.5 397B-A17B reports · 3
SWE-bench Verifiednot reported76.4%
FrontierMath Tiers 1-3 v2 (Epoch AI run)not reported29.5% epoch
OTIS Mock AIME 2024-2025 (Epoch AI run)not reported88.9% epoch
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Gemma 4 31B minus Qwen3.5 397B-A17B in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecGemma 4 31BQwen3.5 397B-A17BEdge
Context window256K tokens262K tokensQwen3.5 397B-A17B
Max output
Input price / 1M$0.172
Output price / 1M$1.03
Cached input / 1M
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$1.2
Modalitiestext · visiontext · visionTie
Released2026-04-022026-02-15
Cited benchmark scores68
Reliability

Provider status

All providers
More matchups

Qwen3.5 397B-A17B vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Gemma 4 31B and Qwen3.5 397B-A17B on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.