Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 4 31B vs Qwen3.5 27B

Google · released

Wins 0 of 8 areas

—

Alibaba · released

Wins 5 of 8 areas

Coding · Agents · Images and charts · Math · Long documents

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

Scores updated · 63 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.17 to read · $0.40 to write$0.57Price from Artificial Analysis
Qwen3.5 27B$0.30 to read · $2.40 to write$2.70Price from Alibaba's own price page

Gemma 4 31B costs 79% 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 27B pulls ahead

  • Real work tasks from 44 professionsGDPVal+26.9points aheadQwen3.5 27B33Gemma 4 31B6.1
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+20.4points aheadQwen3.5 27B72.4Gemma 4 31B52
  • Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+17.6points aheadQwen3.5 27B69.3Gemma 4 31B51.7

Where Gemma 4 31B pulls ahead

  • Code for real scientific research problemsSciCode+6points aheadGemma 4 31B45.5Qwen3.5 27B39.5
  • Hard command-line tasks in a real terminalTerminal-Bench Hard+3.8points aheadGemma 4 31B36.4Qwen3.5 27B32.6
  • Finds the root cause of IT system incidentsAA IT-Bench SRE+1.8points aheadGemma 4 31B37.3Qwen3.5 27B35.5

Every test, side by side

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

CodingQwen3.5 27B

Full coding ranking

AgentsQwen3.5 27B

Full agents ranking

ReasoningEven

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsQwen3.5 27B

Full images and charts ranking

MathQwen3.5 27B

Full math ranking

Long documentsQwen3.5 27B
  • AA-LCRQwen3.5 27B by 869.777.7+8

Full long documents ranking

Following instructionsEven

Full following instructions ranking

Other results37 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 27B?

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

Which is better for coding?

Qwen3.5 27B. It wins 3 of the 7 coding tests both models report; Gemma 4 31B wins 2, and 2 are ties.

Which is cheaper?

Gemma 4 31B costs $0.17 per million input tokens and $0.40 per million output tokens; Qwen3.5 27B costs $0.30 and $2.40. That makes Gemma 4 31B about 79% cheaper for the same work.

How do you compare the two?

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