Gemma 4 31B vs Qwen3.5 35B A3B
Wins 5 of 8 areas
Coding · Agents · Reasoning · Facts · Following instructions
Wins 3 of 8 areas
Images and charts · Math · Long documents
Gemma 4 31B is the stronger all-rounder.Qwen3.5 35B A3B is better at images and charts.
Scores updated · 65 tests both models report · How we compare
Where each one wins
Tests won in each of the eight areas we test. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software53Gemma 4 31B5 of 8 tests
- ReasoningHard problems that need careful thinking20Gemma 4 31B2 of 3 tests · 1 tie
- AgentsCarrying out multi-step tasks on its own21Gemma 4 31B2 of 4 tests · 1 tie
- FactsGetting facts right instead of making them up10Gemma 4 31B1 of 3 tests · 2 ties
- Following instructionsDoing exactly what it is asked10Gemma 4 31B1 of 1 test
- Images and chartsUnderstanding pictures, charts and video03Qwen3.5 35B A3B3 of 4 tests · 1 tie
- MathCompetition and research-level math03Qwen3.5 35B A3B3 of 3 tests
- Long documentsFinding answers in very long texts01Qwen3.5 35B A3B1 of 1 test
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 costs 75% less for the same work.
The biggest differences
The three tests each model wins by the widest margin. Scores are out of 100.
Where Gemma 4 31B pulls ahead
- Finds the root cause of IT system incidentsAA IT-Bench SRE+15.8points ahead
- Hard command-line tasks in a real terminalTerminal-Bench Hard+9.9points ahead
- Customer-service tasks in a simulated bankτ-Bench V3 · Banking+9.9points ahead
Where Qwen3.5 35B A3B pulls ahead
- Fixes real GitHub issues in Python projectsSWE-bench Verified+17.2points ahead
- Reasoning about charts from research papersCharXiv (RQ)+9.6points ahead
- Long, multi-file coding tasks in real codebasesSWE-bench Pro+8.9points ahead
Every test, side by side
All 65 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGemma 4 31B
- SWE-bench VerifiedQwen3.5 35B A3B by 17.25269.2+17.2
- LMArena · WebDevGemma 4 31B by 115 rating points13651250+115 rating
- Terminal-Bench HardGemma 4 31B by 9.936.426.5+9.9
- SWE-bench ProQwen3.5 35B A3B by 8.935.744.6+8.9
- SWE-bench MultilingualQwen3.5 35B A3B by 8.651.760.3+8.6
- SciCodeGemma 4 31B by 7.845.537.7+7.8
- LiveCodeBench v6Gemma 4 31B by 5.48074.6+5.4
- Terminal-Bench 2.1Gemma 4 31B by 2.643.440.8+2.6
AgentsGemma 4 31B
- AA IT-Bench SREGemma 4 31B by 15.837.321.5+15.8
- τ-Bench V3 · BankingGemma 4 31B by 9.914.84.9+9.9
- MCP AtlasQwen3.5 35B A3B by 5.257.262.4+5.2
- GDPValtie6.15.6tie
ReasoningGemma 4 31B
- Humanity's Last ExamGemma 4 31B by 2.623.621+2.6
- GPQA DiamondGemma 4 31B by 1.285.784.5+1.2
- CritPttie1.40.9tie
FactsGemma 4 31B
- Vectara HHEM hallucination ratelower is betterGemma 4 31B by 3.17.410.5+3.1
- AA-Omniscience · Non-hallucinationtie1514.6tie
- AA-Omniscience · Accuracytie2020.1tie
Images and chartsQwen3.5 35B A3B
- CharXiv (RQ)Qwen3.5 35B A3B by 9.667.977.5+9.6
- MathVistaQwen3.5 35B A3B by 6.979.386.2+6.9
- MMMUQwen3.5 35B A3B by 180.481.4+1
- MMMU-Protie73.472.7tie
MathQwen3.5 35B A3B
- HMMT Feb. 2026Qwen3.5 35B A3B by 4.677.281.8+4.6
- AIME 2026Qwen3.5 35B A3B by 4.189.293.3+4.1
- IMOAnswerBenchQwen3.5 35B A3B by 2.374.576.8+2.3
Following instructionsGemma 4 31B
- IFBenchGemma 4 31B by 3.175.672.5+3.1
Other results38 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.
- τ²-Bench Telecom (AA run)Qwen3.5 35B A3B by 29.359.989.2+29.3
- Claw Eval (pass@3)Qwen3.5 35B A3B by 262551+26
- QwenWebBenchGemma 4 31B by 219 rating points1197978+219 rating
- WideSearchQwen3.5 35B A3B by 21.935.257.1+21.9
- SkillsBench Avg5Gemma 4 31B by 19.223.64.4+19.2
- vectara_avg_summary_lengthQwen3.5 35B A3B by 19.175.894.9+19.1
- Claw-Eval AvgQwen3.5 35B A3B by 16.948.565.4+16.9
- RealWorldQAQwen3.5 35B A3B by 11.872.384.1+11.8
- VITA-BenchGemma 4 31B by 11.14331.9+11.1
- OmniDocBench 1.5Qwen3.5 35B A3B by 9.280.189.3+9.2
- MCPMarkQwen3.5 35B A3B by 8.918.127+8.9
- C-EvalQwen3.5 35B A3B by 7.682.690.2+7.6
- Tool-DecathlonQwen3.5 35B A3B by 7.521.228.7+7.5
- Artificial Analysis Coding IndexGemma 4 31B by 6.443.437+6.4
- QwenClawBenchQwen3.5 35B A3B by 641.747.7+6
- SimpleVQAQwen3.5 35B A3B by 5.452.958.3+5.4
- t2-benchGemma 4 31B by 5.286.481.2+5.2
- AA Agentic IndexQwen3.5 35B A3B by 5.16.711.8+5.1
- CC-OCRQwen3.5 35B A3B by 575.780.7+5
- NL2RepoQwen3.5 35B A3B by 515.520.5+5
- AA IntelligenceQwen3.5 35B A3B by 4.614.719.3+4.6
- AI2DQwen3.5 35B A3B by 3.68992.6+3.6
- MMMLUGemma 4 31B by 3.288.485.2+3.2
- vectara_factual_consistencyGemma 4 31B by 3.192.689.5+3.1
- Terminal-Bench 2.0Gemma 4 31B by 2.442.940.5+2.4
- SuperGPQAGemma 4 31B by 2.365.763.4+2.3
- HMMT Nov. 2025Qwen3.5 35B A3B by 1.787.589.2+1.7
- MATH-VisionGemma 4 31B by 1.785.683.9+1.7
- τ³-BenchQwen3.5 35B A3B by 1.467.568.9+1.4
- DeepPlanningGemma 4 31B by 1.22422.8+1.2
- MMBench EN-DEV-v1.1tie90.991.5tie
- HallusionBenchtie67.467.9tie
- MMLU-Reduxtie93.793.3tie
- HMMT Feb. 2025tie88.789tie
- AA-Omnisciencetie-47.9-48.1tie
- vectara_answer_ratetie10099.8tie
- GPQA (unspecified)tie84.384.2tie
- MMLU-Protie85.285.3tie
Questions people ask
Which is better, Gemma 4 31B or Qwen3.5 35B A3B?
Gemma 4 31B wins five of the eight areas we test: coding, agents, reasoning, facts and following instructions. Qwen3.5 35B A3B wins images and charts, math and long documents.
Which is better for coding?
Gemma 4 31B. It wins 5 of the 8 coding tests both models report; Qwen3.5 35B A3B wins 3.
Which is cheaper?
Gemma 4 31B costs $0.17 per million input tokens and $0.40 per million output tokens; Qwen3.5 35B A3B costs $0.25 and $2.00. That makes Gemma 4 31B about 75% cheaper for the same work.
How do you compare the two?
We use the 65 benchmark tests both models have published scores on. The verdict counts the 27 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 38 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.