Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 4 31B vs Qwen3.5 397B A17B

Google · released

Wins 0 of 8 areas

—

Alibaba · released

Wins 7 of 8 areas

Coding · Reasoning · Facts · Images and charts · Math · Long documents · Following instructions

Qwen3.5 397B A17B is the stronger all-rounder.Gemma 4 31B is cheaper.

Scores updated · 55 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Gemma 4 31B$0.15 to read · $0.40 to write$0.55Price from Artificial Analysis
Qwen3.5 397B A17B$0.60 to read · $3.60 to write$4.20Price from Artificial Analysis

Gemma 4 31B costs 87% less for the same work.

The biggest differences

The three tests each model wins by the widest margin. Scores are out of 100.

Where Qwen3.5 397B A17B pulls ahead

  • Finds hard-to-locate facts by browsing the webBrowseComp+32points aheadQwen3.5 397B A17B69Gemma 4 31B37
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+30.3points aheadQwen3.5 397B A17B76.4Gemma 4 31B46.1
  • Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+26.3points aheadQwen3.5 397B A17B69.3Gemma 4 31B43

Where Gemma 4 31B pulls ahead

Every test, side by side

All 55 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingQwen3.5 397B A17B

Full coding ranking

AgentsEven

Full agents ranking

ReasoningQwen3.5 397B A17B

Full reasoning ranking

FactsQwen3.5 397B A17B

Full facts ranking

Images and chartsQwen3.5 397B A17B
  • MMMUQwen3.5 397B A17B by 4.680.485+4.6
  • MMMU-ProQwen3.5 397B A17B by 3.973.477.3+3.9
  • LMArena · VisionGemma 4 31B by 17 rating points12791262+17 rating

Full images and charts ranking

MathQwen3.5 397B A17B

Full math ranking

Long documentsQwen3.5 397B A17B
  • LongBench v2Qwen3.5 397B A17B by 10.352.963.2+10.3
  • AA-LCRQwen3.5 397B A17B by 7.669.777.3+7.6

Full long documents ranking

Following instructionsQwen3.5 397B A17B
  • IFBenchQwen3.5 397B A17B by 3.275.678.8+3.2

Full following instructions ranking

Other results27 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Gemma 4 31B or Qwen3.5 397B A17B?

Qwen3.5 397B A17B wins seven of the eight areas we test: coding, reasoning, facts, images and charts, math, long documents and following instructions. Gemma 4 31B wins none, but costs 87% less. They are level on agents.

Which is better for coding?

Qwen3.5 397B A17B. It wins 7 of the 8 coding tests both models report; Gemma 4 31B wins none, and 1 is a tie.

Which is cheaper?

Gemma 4 31B costs $0.15 per million input tokens and $0.40 per million output tokens; Qwen3.5 397B A17B costs $0.60 and $3.60. That makes Gemma 4 31B about 87% cheaper for the same work.

How do you compare the two?

We use the 55 benchmark tests both models have published scores on. The verdict counts the 28 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 27 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.