Gemma 3 4B vs Mercury 2
Mercury 2 leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 10.8 to 4.8, and Gemma 3 4B costs 10.0x less per output token ($0.075 vs $0.75 per million). Updated October 21, 2026; 26 benchmarks have a result for both.
Gemma 3 4B or Mercury 2: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick Gemma 3 4B for output tokens 10.0x cheaper ($0.075 vs $0.75 per million) and a larger context window (131K against 128K tokens).
- Shared results
- 26
- Gemma 3 4B only
- 16
- Mercury 2 only
- 16
- 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
Mercury 2
Mercury 2 leads, 10.8 against 4.8.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Mercury 2 has a AA Agentic Index result, 1.6.
Directional only
Web design
Design Arena: websites
No call
Only Mercury 2 has a Design Arena: websites result, 1036.
Directional only
Long documents
Listed context window
Gemma 3 4B
Gemma 3 4B takes 131K tokens against 128K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
Gemma 3 4B $0.0001, Mercury 2 $0.0006 per turn.
List prices
At a glance
- Coding index
- Gemma 3 4B not benchmarked, Mercury 2 not benchmarked.
- Widest category
- Agentic work, 65.8 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: Gemma 3 4B 5.0% against Mercury 2 70.8%, 65.8 points apart on a 0 to 100 scale.
- Output price
- Gemma 3 4B $0.075 against Mercury 2 $0.75 per million output tokens, 10.0x apart.
- Context window
- Gemma 3 4B takes 131K tokens, Mercury 2 128K.
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 | Gemma 3 4B | Bars | Mercury 2 | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 5 | ||
| Knowledge | 0 | 3 | ||
| General | 0 | 12 | ||
| All shared boards | 0 | 26 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| LMArena WebDev | Not measured | 1171 | Only Mercury 2 measured |
| AA Coding Index | 2.7 | 31.1 | Mercury 2 |
| LiveCodeBench (Artificial Analysis run) | 11.2% | Not measured | Only Gemma 3 4B measured |
| SciCode | Not measured | 37.7% | Only Mercury 2 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 0.8% | 26.5% | Mercury 2 |
| WeirdML | Not measured | 43.2% | Only Mercury 2 measured |
| ALE-Bench | Not measured | 785.6 | Only Mercury 2 measured |
| LMArena Text: coding | 1230 | 1390 | Mercury 2 |
| LMArena Text: software and IT | 1269 | 1385 | Mercury 2 |
| LMArena WebDev: React | Not measured | 1160 | Only Mercury 2 measured |
| LMArena WebDev: HTML | Not measured | 1199 | Only Mercury 2 measured |
| SciCode | 0.0% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 27 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 4.8 | 10.8 | Mercury 2 |
| Epoch Capabilities Index | 115.9 | Not measured | Only Gemma 3 4B measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 1.6 | Only Mercury 2 measured |
| τ²-Bench Telecom | 5.0% | 70.8% | Mercury 2 |
| Berkeley Function Calling Leaderboard (BFCL) | 19.6% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 29.1% | 77.0% | Mercury 2 |
| Humanity's Last Exam (Artificial Analysis run) | 5.3% | 17.1% | Mercury 2 |
| GPQA Diamond (Epoch AI run) | 23.2% | Not measured | Only Gemma 3 4B measured |
| LMArena Text: hard prompts | 1253 | 1362 | Mercury 2 |
| LMArena Text: expert | 1223 | 1358 | Mercury 2 |
| LMArena Text: hard prompts in English | 1253 | 1374 | Mercury 2 |
| Kagi LLM Benchmark | 25.2% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 15 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| AA Math Index | 12.7 | Not measured | Only Gemma 3 4B measured |
| AIME 2025 (Artificial Analysis run) | 12.7% | Not measured | Only Gemma 3 4B measured |
| OTIS Mock AIME | 7.5% | Not measured | Only Gemma 3 4B measured |
| LMArena Text: math | 1239 | Not measured | Only Gemma 3 4B measured |
| LMArena Text: mathematical work | 1256 | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 8 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 41.7% | Not measured | Only Gemma 3 4B measured |
| LMArena Text: science | 1306 | 1343 | Mercury 2 |
| LMArena Text: medicine and healthcare | 1342 | 1363 | Mercury 2 |
| LMArena Text: legal and government | 1327 | Not measured | Only Gemma 3 4B measured |
| LMArena Text: business and finance | 1311 | 1349 | Mercury 2 |
| Neither model has a result on the other 13 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1036 | Only Mercury 2 measured |
| Design Arena: UI components | Not measured | 998 | Only Mercury 2 measured |
| Design Arena: game dev | Not measured | 985 | Only Mercury 2 measured |
| Design Arena: data viz | Not measured | 1009 | Only Mercury 2 measured |
| Design Arena: 3D | Not measured | 983 | Only Mercury 2 measured |
| Design Arena: all code categories | Not measured | 1022 | Only Mercury 2 measured |
| Design Arena: SVG | Not measured | 998 | Only Mercury 2 measured |
| Design Arena: ASCII art | Not measured | 988 | Only Mercury 2 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index012
| Benchmark | Gemma 3 4B | Mercury 2 | Leader |
|---|---|---|---|
| IFBench | 28.3% | 69.8% | Mercury 2 |
| Long context reasoning (AA-LCR) | 6.7% | 43.7% | Mercury 2 |
| DTBench | 50.9% | Not measured | Only Gemma 3 4B measured |
| LMCA | 2.8% | Not measured | Only Gemma 3 4B measured |
| LMArena Text | 1291 | 1354 | Mercury 2 |
| LMArena Text: instruction following | 1239 | 1328 | Mercury 2 |
| LMArena Text: creative writing | 1270 | 1286 | Mercury 2 |
| LMArena Text: English | 1300 | 1378 | Mercury 2 |
| LMArena Text: non-English | 1273 | 1330 | Mercury 2 |
| LMArena Text: Chinese | Not measured | 1414 | Only Mercury 2 measured |
| LMArena Text: German | 1281 | Not measured | Only Gemma 3 4B measured |
| LMArena Text: Russian | 1294 | 1304 | Mercury 2 |
| LMArena Text: multi-turn | 1255 | 1357 | Mercury 2 |
| LMArena Text: longer queries | 1273 | 1329 | Mercury 2 |
| LMArena Text: writing and language | 1288 | 1300 | Mercury 2 |
| LMArena Text: entertainment and media | 1233 | 1314 | Mercury 2 |
| Neither model has a result on the other 30 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 3 4B | Mercury 2 | 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 | Google Gemma 3 4B | Inception Mercury 2 |
|---|---|---|
| Maker | Inception | |
| Weights | Open weights | No public weights listed |
| Released | March 13, 2025 | March 4, 2026 |
| Context window | 131K | 128K |
| Input $/Mtok | $0.045 | $0.25 |
| Output $/Mtok | $0.075 | $0.75 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 1 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 3 4B better than Mercury 2 for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 10.0x cheaper ($0.075 vs $0.75 per million) and a larger context window (131K against 128K tokens).
Which is cheaper, Gemma 3 4B or Mercury 2?
Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; Mercury 2 costs $0.25 and $0.75. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemma 3 4B or Mercury 2?
Gemma 3 4B, with 131K tokens against 128K.
How many benchmarks is the Gemma 3 4B vs Mercury 2 comparison based on?
26 benchmarks have a result for both models as of October 21, 2026. Gemma 3 4B's coding index rests on 0 independent benchmarks and Mercury 2's on 1. Where only one model has a result, the page says so instead of naming a winner.