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.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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
Claude Opus 4.1
Claude Opus 4.1 leads, 22.8 against 4.8.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Opus 4.1 has a GPQA Diamond result, 76.3%.
Directional only
Math
AIME
No call
Only Claude Opus 4.1 has a AIME result, 78.2%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Opus 4.1 has a MMLU Pro result, 87.9%.
Directional only
Web design
Design Arena: websites
No call
Only Claude Opus 4.1 has a Design Arena: websites result, 1177.
Directional only
Long documents
Listed context window
Claude Opus 4.1
Claude Opus 4.1 takes 200K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
Claude Opus 4.1 $0.052, Gemma 3 4B $0.0001 per turn.
List prices
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.
| Category | Claude Opus 4.1 | Bars | Gemma 3 4B | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 2 | 0 | ||
| Reasoning | 4 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 4 | 0 | ||
| General | 13 | 0 | ||
| All shared boards | 29 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| LMArena WebDev | 1390 | Not measured | Only Claude Opus 4.1 measured |
| AA Coding Index | Not measured | 2.7 | Only Gemma 3 4B measured |
| LiveCodeBench (Vals AI) | 66.5% | Not measured | Only Claude Opus 4.1 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 11.2% | Only Gemma 3 4B measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 0.8% | Only Gemma 3 4B measured |
| Terminal-Bench | 38.0% | Not measured | Only Claude Opus 4.1 measured |
| WeirdML | 45.9% | Not measured | Only Claude Opus 4.1 measured |
| Cybench | 42.0% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: coding | 1479 | 1230 | Claude Opus 4.1 |
| LMArena Text: software and IT | 1456 | 1269 | Claude Opus 4.1 |
| LMArena WebDev: HTML | 1399 | Not measured | Only Claude Opus 4.1 measured |
| SciCode | 4.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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Intelligence Index | 22.8 | 4.8 | Claude Opus 4.1 |
| Epoch Capabilities Index | 144.1 | 115.9 | Claude Opus 4.1 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 5.0% | Only Gemma 3 4B measured |
| METR time horizons | 66.8% | Not measured | Only Claude Opus 4.1 measured |
| GDPval | 43.6% | Not measured | Only Claude Opus 4.1 measured |
| DeepResearch Bench | 48.3% | Not measured | Only Claude Opus 4.1 measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 19.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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| GPQA Diamond | 76.3% | Not measured | Only Claude Opus 4.1 measured |
| MMMU Pro (Vals AI) | 77.5% | Not measured | Only Claude Opus 4.1 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 29.1% | Only Gemma 3 4B measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 5.3% | Only Gemma 3 4B measured |
| GPQA Diamond (Epoch AI run) | 77.3% | 23.2% | Claude Opus 4.1 |
| SimpleBench | 60.0% | Not measured | Only Claude Opus 4.1 measured |
| Mystery game puzzles | 21.0% | Not measured | Only Claude Opus 4.1 measured |
| EBR-bench | 7.9% | Not measured | Only Claude Opus 4.1 measured |
| VPCT | 35.0% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: hard prompts | 1442 | 1253 | Claude Opus 4.1 |
| LMArena Text: expert | 1438 | 1223 | Claude Opus 4.1 |
| LMArena Text: hard prompts in English | 1451 | 1253 | Claude Opus 4.1 |
| Kagi LLM Benchmark | Not measured | 25.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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| AIME | 78.2% | Not measured | Only Claude Opus 4.1 measured |
| MATH 500 (Vals AI) | 95.4% | Not measured | Only Claude Opus 4.1 measured |
| MGSM (Vals AI) | 94.4% | Not measured | Only Claude Opus 4.1 measured |
| AA Math Index | Not measured | 12.7 | Only Gemma 3 4B measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 12.7% | Only Gemma 3 4B measured |
| OTIS Mock AIME | 68.9% | 7.5% | Claude Opus 4.1 |
| FrontierMath, tiers 1 to 3 | 12.6% | Not measured | Only Claude Opus 4.1 measured |
| FrontierMath, tier 4 | 2.4% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: math | 1431 | 1239 | Claude Opus 4.1 |
| LMArena Text: mathematical work | 1434 | 1256 | Claude 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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| MMLU Pro | 87.9% | Not measured | Only Claude Opus 4.1 measured |
| LegalBench (Vals AI) | 83.5% | Not measured | Only Claude Opus 4.1 measured |
| TaxEval (Vals AI) | 73.7% | Not measured | Only Claude Opus 4.1 measured |
| MortgageTax (Vals AI) | 61.1% | Not measured | Only Claude Opus 4.1 measured |
| MedQA (Vals AI) | 93.6% | Not measured | Only Claude Opus 4.1 measured |
| MedCode (Vals AI) | 47.2% | Not measured | Only Claude Opus 4.1 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 41.7% | Only Gemma 3 4B measured |
| LMArena Text: science | 1422 | 1306 | Claude Opus 4.1 |
| LMArena Text: medicine and healthcare | 1416 | 1342 | Claude Opus 4.1 |
| LMArena Text: legal and government | 1421 | 1327 | Claude Opus 4.1 |
| LMArena Text: business and finance | 1406 | 1311 | Claude Opus 4.1 |
| FACTS Benchmark Suite | 40.4% | Not measured | Only 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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| Design Arena: websites | 1177 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: UI components | 1165 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: game dev | 1171 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: data viz | 1166 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: 3D | 1153 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: all code categories | 1171 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: SVG | 1152 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: ASCII art | 1167 | Not measured | Only 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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 31.4% | Not measured | Only Claude Opus 4.1 measured |
| MedScribe (Vals AI) | 73.9% | Not measured | Only Claude Opus 4.1 measured |
| IFBench | Not measured | 28.3% | Only Gemma 3 4B measured |
| Long context reasoning (AA-LCR) | Not measured | 6.7% | Only Gemma 3 4B measured |
| DTBench | 80.0% | 50.9% | Claude Opus 4.1 |
| LMCA | 37.1% | 2.8% | Claude Opus 4.1 |
| Creative writing (Lech Mazur) | 84.7% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text | 1419 | 1291 | Claude Opus 4.1 |
| LMArena Text: instruction following | 1435 | 1239 | Claude Opus 4.1 |
| LMArena Text: creative writing | 1412 | 1270 | Claude Opus 4.1 |
| LMArena Text: English | 1433 | 1300 | Claude Opus 4.1 |
| LMArena Text: non-English | 1405 | 1273 | Claude Opus 4.1 |
| LMArena Text: Chinese | 1427 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: German | 1413 | 1281 | Claude Opus 4.1 |
| LMArena Text: Japanese | 1377 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: Korean | 1381 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: French | 1433 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: Spanish | 1448 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: Russian | 1422 | 1294 | Claude Opus 4.1 |
| LMArena Text: Polish | 1413 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: multi-turn | 1444 | 1255 | Claude Opus 4.1 |
| LMArena Text: longer queries | 1455 | 1273 | Claude Opus 4.1 |
| LMArena Text: writing and language | 1418 | 1288 | Claude Opus 4.1 |
| LMArena Text: entertainment and media | 1398 | 1233 | Claude 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
| Benchmark | Claude Opus 4.1 | Gemma 3 4B | Leader |
|---|---|---|---|
| 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
Gemma 3 4B costs less
Repository review
50K input + 3K output tokens
Gemma 3 4B costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Anthropic Claude Opus 4.1 | Google Gemma 3 4B |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | Open weights |
| Released | August 5, 2025 | March 13, 2025 |
| Context window | 200K | 131K |
| Input $/Mtok | $15.00 | $0.045 |
| Output $/Mtok | $75.00 | $0.075 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter 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.