Enter opens the highlighted result. Esc closes.

Claude Opus 4.1 vs Gemma 3 4B

Claude Opus 4.1 leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 22.8 to 4.8, and Gemma 3 4B costs 1000.0x less per output token ($0.075 vs $75.00 per million). Updated October 21, 2026; 29 benchmarks have a result for both.

Claude Opus 4.1Anthropic
Coding
No data
Overall
50.2
Output $/M
$75.00
29
Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
0
vs boards won of 29 shared

Claude Opus 4.1 or Gemma 3 4B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Claude Opus 4.1 for a larger context window (200K against 131K tokens).

Shared results
29
Claude Opus 4.1 only
44
Gemma 3 4B only
13
Like-for-like categories
6 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Claude Opus 4.1 not benchmarked, Gemma 3 4B not benchmarked.
Widest category
Math, 41.0 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Claude Opus 4.1 68.9% against Gemma 3 4B 7.5%, 61.4 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.1 $75.00 against Gemma 3 4B $0.075 per million output tokens, 1000.0x apart.
Context window
Claude Opus 4.1 takes 200K tokens, Gemma 3 4B 131K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryClaude Opus 4.1BarsGemma 3 4BTies
Coding30
Intelligence20
Reasoning40
Math30
Knowledge40
General130
All shared boards290
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
LMArena WebDev1390Not measuredOnly Claude Opus 4.1 measured
AA Coding IndexNot measured2.7Only Gemma 3 4B measured
LiveCodeBench (Vals AI)66.5%Not measuredOnly Claude Opus 4.1 measured
LiveCodeBench (Artificial Analysis run)Not measured11.2%Only Gemma 3 4B measured
Terminal-Bench Hard (Artificial Analysis run)Not measured0.8%Only Gemma 3 4B measured
Terminal-Bench38.0%Not measuredOnly Claude Opus 4.1 measured
WeirdML45.9%Not measuredOnly Claude Opus 4.1 measured
Cybench42.0%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: coding14791230Claude Opus 4.1
LMArena Text: software and IT14561269Claude Opus 4.1
LMArena WebDev: HTML1399Not measuredOnly Claude Opus 4.1 measured
SciCode4.6%0.0%Claude Opus 4.1
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
AA Intelligence Index22.84.8Claude Opus 4.1
Epoch Capabilities Index144.1115.9Claude Opus 4.1
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Agentic work benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
τ²-Bench TelecomNot measured5.0%Only Gemma 3 4B measured
METR time horizons66.8%Not measuredOnly Claude Opus 4.1 measured
GDPval43.6%Not measuredOnly Claude Opus 4.1 measured
DeepResearch Bench48.3%Not measuredOnly Claude Opus 4.1 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured19.6%Only Gemma 3 4B measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
GPQA Diamond76.3%Not measuredOnly Claude Opus 4.1 measured
MMMU Pro (Vals AI)77.5%Not measuredOnly Claude Opus 4.1 measured
GPQA Diamond (Artificial Analysis run)Not measured29.1%Only Gemma 3 4B measured
Humanity's Last Exam (Artificial Analysis run)Not measured5.3%Only Gemma 3 4B measured
GPQA Diamond (Epoch AI run)77.3%23.2%Claude Opus 4.1
SimpleBench60.0%Not measuredOnly Claude Opus 4.1 measured
Mystery game puzzles21.0%Not measuredOnly Claude Opus 4.1 measured
EBR-bench7.9%Not measuredOnly Claude Opus 4.1 measured
VPCT35.0%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: hard prompts14421253Claude Opus 4.1
LMArena Text: expert14381223Claude Opus 4.1
LMArena Text: hard prompts in English14511253Claude Opus 4.1
Kagi LLM BenchmarkNot measured25.2%Only Gemma 3 4B measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
AIME78.2%Not measuredOnly Claude Opus 4.1 measured
MATH 500 (Vals AI)95.4%Not measuredOnly Claude Opus 4.1 measured
MGSM (Vals AI)94.4%Not measuredOnly Claude Opus 4.1 measured
AA Math IndexNot measured12.7Only Gemma 3 4B measured
AIME 2025 (Artificial Analysis run)Not measured12.7%Only Gemma 3 4B measured
OTIS Mock AIME68.9%7.5%Claude Opus 4.1
FrontierMath, tiers 1 to 312.6%Not measuredOnly Claude Opus 4.1 measured
FrontierMath, tier 42.4%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: math14311239Claude Opus 4.1
LMArena Text: mathematical work14341256Claude Opus 4.1
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
MMLU Pro87.9%Not measuredOnly Claude Opus 4.1 measured
LegalBench (Vals AI)83.5%Not measuredOnly Claude Opus 4.1 measured
TaxEval (Vals AI)73.7%Not measuredOnly Claude Opus 4.1 measured
MortgageTax (Vals AI)61.1%Not measuredOnly Claude Opus 4.1 measured
MedQA (Vals AI)93.6%Not measuredOnly Claude Opus 4.1 measured
MedCode (Vals AI)47.2%Not measuredOnly Claude Opus 4.1 measured
MMLU Pro (Artificial Analysis run)Not measured41.7%Only Gemma 3 4B measured
LMArena Text: science14221306Claude Opus 4.1
LMArena Text: medicine and healthcare14161342Claude Opus 4.1
LMArena Text: legal and government14211327Claude Opus 4.1
LMArena Text: business and finance14061311Claude Opus 4.1
FACTS Benchmark Suite40.4%Not measuredOnly Claude Opus 4.1 measured
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
Design Arena: websites1177Not measuredOnly Claude Opus 4.1 measured
Design Arena: UI components1165Not measuredOnly Claude Opus 4.1 measured
Design Arena: game dev1171Not measuredOnly Claude Opus 4.1 measured
Design Arena: data viz1166Not measuredOnly Claude Opus 4.1 measured
Design Arena: 3D1153Not measuredOnly Claude Opus 4.1 measured
Design Arena: all code categories1171Not measuredOnly Claude Opus 4.1 measured
Design Arena: SVG1152Not measuredOnly Claude Opus 4.1 measured
Design Arena: ASCII art1167Not measuredOnly Claude Opus 4.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
SAGE (Vals AI)31.4%Not measuredOnly Claude Opus 4.1 measured
MedScribe (Vals AI)73.9%Not measuredOnly Claude Opus 4.1 measured
IFBenchNot measured28.3%Only Gemma 3 4B measured
Long context reasoning (AA-LCR)Not measured6.7%Only Gemma 3 4B measured
DTBench80.0%50.9%Claude Opus 4.1
LMCA37.1%2.8%Claude Opus 4.1
Creative writing (Lech Mazur)84.7%Not measuredOnly Claude Opus 4.1 measured
LMArena Text14191291Claude Opus 4.1
LMArena Text: instruction following14351239Claude Opus 4.1
LMArena Text: creative writing14121270Claude Opus 4.1
LMArena Text: English14331300Claude Opus 4.1
LMArena Text: non-English14051273Claude Opus 4.1
LMArena Text: Chinese1427Not measuredOnly Claude Opus 4.1 measured
LMArena Text: German14131281Claude Opus 4.1
LMArena Text: Japanese1377Not measuredOnly Claude Opus 4.1 measured
LMArena Text: Korean1381Not measuredOnly Claude Opus 4.1 measured
LMArena Text: French1433Not measuredOnly Claude Opus 4.1 measured
LMArena Text: Spanish1448Not measuredOnly Claude Opus 4.1 measured
LMArena Text: Russian14221294Claude Opus 4.1
LMArena Text: Polish1413Not measuredOnly Claude Opus 4.1 measured
LMArena Text: multi-turn14441255Claude Opus 4.1
LMArena Text: longer queries14551273Claude Opus 4.1
LMArena Text: writing and language14181288Claude Opus 4.1
LMArena Text: entertainment and media13981233Claude Opus 4.1
Neither model has a result on the other 22 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 4.1 and Gemma 3 4B
BenchmarkClaude Opus 4.1Gemma 3 4BLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Claude Opus 4.1$0.052Fits in one request
Gemma 3 4B$0.0001Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.1$0.975Fits in one request
Gemma 3 4B$0.0025Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.1$3.75Exceeds the context window
Gemma 3 4B$0.0097Exceeds the context window

Gemma 3 4B costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Claude Opus 4.1 and Gemma 3 4B
SpecificationAnthropic Claude Opus 4.1Google Gemma 3 4B
MakerAnthropicGoogle
WeightsNo public weights listedOpen weights
ReleasedAugust 5, 2025March 13, 2025
Context window200K131K
Input $/Mtok$15.00$0.045
Output $/Mtok$75.00$0.075
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.1 better than Gemma 3 4B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Claude Opus 4.1 for a larger context window (200K against 131K tokens).

Which is cheaper, Claude Opus 4.1 or Gemma 3 4B?

Claude Opus 4.1 costs $15.00 per million input tokens and $75.00 per million output tokens; Gemma 3 4B costs $0.045 and $0.075. Cost per solved task is known for neither of them.

Which has the bigger context window, Claude Opus 4.1 or Gemma 3 4B?

Claude Opus 4.1, with 200K tokens against 131K.

How many benchmarks is the Claude Opus 4.1 vs Gemma 3 4B comparison based on?

29 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.1's coding index rests on 1 independent benchmark and Gemma 3 4B's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next