Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 4 31B vs Qwen3 Coder Next

Google · released

Wins 6 of 6 areas

Coding · Agents · Reasoning · Facts · Long documents · Following instructions

Alibaba · released

Wins 0 of 6 areas

—

Gemma 4 31B is the stronger all-rounder.

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

Where each one wins

Tests won in each of the six areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.

Long documents and following instructions rest on a single test each.

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 Coder Next$0.31 to read · $1.00 to write$1.31Price from Artificial Analysis

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

The biggest differences

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

Where Gemma 4 31B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+40.4points aheadGemma 4 31B75.6Qwen3 Coder Next35.2
  • Reasons across sets of long documentsAA-LCR+22.7points aheadGemma 4 31B69.7Qwen3 Coder Next47
  • Hard command-line tasks in a real terminalTerminal-Bench Hard+18.2points aheadGemma 4 31B36.4Qwen3 Coder Next18.2

Where Qwen3 Coder Next pulls ahead

No clear win on a test scored out of 100.

Every test, side by side

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

CodingGemma 4 31B

Full coding ranking

AgentsGemma 4 31B

Full agents ranking

ReasoningGemma 4 31B

Full reasoning ranking

FactsGemma 4 31B

Full facts ranking

Long documentsGemma 4 31B
  • AA-LCRGemma 4 31B by 22.769.747+22.7

Full long documents ranking

Following instructionsGemma 4 31B
  • IFBenchGemma 4 31B by 40.475.635.2+40.4

Full following instructions ranking

Other results7 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 Coder Next?

Gemma 4 31B wins all six areas where both have results: coding, agents, reasoning, facts, long documents and following instructions. Qwen3 Coder Next wins none.

Which is better for coding?

Gemma 4 31B. It wins 3 of the 3 coding tests both models report; Qwen3 Coder Next wins none.

Which is cheaper?

Gemma 4 31B costs $0.15 per million input tokens and $0.40 per million output tokens; Qwen3 Coder Next costs $0.31 and $1.00. That makes Gemma 4 31B about 58% cheaper for the same work.

How do you compare the two?

We use the 19 benchmark tests both models have published scores on. The verdict counts the 12 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 7 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.