Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Opus 4.6 vs Gemma 4 31B

Anthropic · released

Wins 7 of 8 areas

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

Google · released

Wins 1 of 8 areas

Following instructions

Claude Opus 4.6 is the stronger all-rounder.Gemma 4 31B is cheaper and better at following instructions.

Scores updated · 44 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.

Claude Opus 4.6$5.00 to read · $25.00 to write$30Price from Anthropic's own price page
Gemma 4 31B$0.17 to read · $0.40 to write$0.57Price from Artificial Analysis

Gemma 4 31B costs 98% 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 Claude Opus 4.6 pulls ahead

  • Real work tasks from 44 professionsGDPVal+49.8points aheadClaude Opus 4.655.9Gemma 4 31B6.1
  • Short factual questions, answered correctlySimpleQA Verified+36.6points aheadClaude Opus 4.647Gemma 4 31B10.4
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+28.8points aheadClaude Opus 4.680.8Gemma 4 31B52

Where Gemma 4 31B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+22.5points aheadGemma 4 31B75.6Claude Opus 4.653.1

Every test, side by side

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

CodingClaude Opus 4.6

Full coding ranking

AgentsClaude Opus 4.6
  • GDPValClaude Opus 4.6 by 49.855.96.1+49.8
  • MCP AtlasClaude Opus 4.6 by 5.562.757.2+5.5

Full agents ranking

ReasoningClaude Opus 4.6

Full reasoning ranking

FactsClaude Opus 4.6

Full facts ranking

Images and chartsClaude Opus 4.6

Full images and charts ranking

MathClaude Opus 4.6

Full math ranking

Long documentsClaude Opus 4.6

Full long documents ranking

Following instructionsGemma 4 31B
  • IFBenchGemma 4 31B by 22.553.175.6+22.5

Full following instructions ranking

Other results19 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, Claude Opus 4.6 or Gemma 4 31B?

Claude Opus 4.6 wins seven of the eight areas we test: coding, agents, reasoning, facts, images and charts, math and long documents. Gemma 4 31B wins following instructions, and costs 98% less.

Which is better for coding?

Claude Opus 4.6. It wins 7 of the 7 coding tests both models report; Gemma 4 31B wins none.

Which is cheaper?

Claude Opus 4.6 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemma 4 31B costs $0.17 and $0.40. That makes Gemma 4 31B about 98% cheaper for the same work.

How do you compare the two?

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