Gemma 3 4B vs Qwen3 30B A3B
Qwen3 30B A3B leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 7.6 to 4.8, and Gemma 3 4B costs 6.7x less per output token ($0.075 vs $0.50 per million). Updated October 22, 2026; 38 benchmarks have a result for both.
Gemma 3 4B or Qwen3 30B A3B: 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 6.7x cheaper ($0.075 vs $0.50 per million) and a larger context window (131K against 41K tokens).
- Shared results
- 38
- Gemma 3 4B only
- 4
- Qwen3 30B A3B only
- 14
- Like-for-like categories
- 7 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
Qwen3 30B A3B
Qwen3 30B A3B leads, 7.6 against 4.8.
Same board, both measured
Web design
Design Arena: websites
No call
Only Qwen3 30B A3B has a Design Arena: websites result, 954.
Directional only
Long documents
Listed context window
Gemma 3 4B
Gemma 3 4B takes 131K tokens against 41K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
Gemma 3 4B $0.0001, Qwen3 30B A3B $0.0004 per turn.
List prices
At a glance
- Coding index
- Gemma 3 4B not benchmarked, Qwen3 30B A3B not benchmarked.
- Widest category
- Math, 42.3 points apart on average over 5 shared benchmarks.
- Widest single gap
- AIME 2025 (Artificial Analysis run): Gemma 3 4B 12.7% against Qwen3 30B A3B 72.3%, 59.7 points apart on a 0 to 100 scale.
- Output price
- Gemma 3 4B $0.075 against Qwen3 30B A3B $0.50 per million output tokens, 6.7x apart.
- Context window
- Gemma 3 4B takes 131K tokens, Qwen3 30B A3B 41K.
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 | Qwen3 30B A3B | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 6 | ||
| Math | 0 | 5 | ||
| Knowledge | 3 | 2 | ||
| General | 2 | 13 | ||
| All shared boards | 5 | 33 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| AA Coding Index | 2.7 | Not measured | Only Gemma 3 4B measured |
| LiveCodeBench (Artificial Analysis run) | 11.2% | 50.6% | Qwen3 30B A3B |
| Terminal-Bench Hard (Artificial Analysis run) | 0.8% | 6.8% | Qwen3 30B A3B |
| WeirdML | Not measured | 29.8% | Only Qwen3 30B A3B measured |
| LMArena Text: coding | 1230 | 1337 | Qwen3 30B A3B |
| LMArena Text: software and IT | 1269 | 1340 | Qwen3 30B A3B |
| SciCode | 0.0% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 32 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| AA Intelligence Index | 4.8 | 7.6 | Qwen3 30B A3B |
| Epoch Capabilities Index | 115.9 | 137.3 | Qwen3 30B A3B |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 5.0% | 26.0% | Qwen3 30B A3B |
| Berkeley Function Calling Leaderboard (BFCL) | 19.6% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 39 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 29.1% | 61.6% | Qwen3 30B A3B |
| Humanity's Last Exam (Artificial Analysis run) | 5.3% | 6.2% | Qwen3 30B A3B |
| GPQA Diamond (Epoch AI run) | 23.2% | 61.7% | Qwen3 30B A3B |
| LMArena Text: hard prompts | 1253 | 1314 | Qwen3 30B A3B |
| LMArena Text: expert | 1223 | 1314 | Qwen3 30B A3B |
| LMArena Text: hard prompts in English | 1253 | 1329 | Qwen3 30B A3B |
| Kagi LLM Benchmark | 25.2% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 15 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| AA Math Index | 12.7 | 72.3 | Qwen3 30B A3B |
| AIME 2025 (Artificial Analysis run) | 12.7% | 72.3% | Qwen3 30B A3B |
| OTIS Mock AIME | 7.5% | 62.8% | Qwen3 30B A3B |
| LMArena Text: math | 1239 | 1355 | Qwen3 30B A3B |
| LMArena Text: mathematical work | 1256 | 1363 | Qwen3 30B A3B |
| Neither model has a result on the other 8 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 41.7% | 77.7% | Qwen3 30B A3B |
| LMArena Text: science | 1306 | 1321 | Qwen3 30B A3B |
| LMArena Text: medicine and healthcare | 1342 | 1318 | Gemma 3 4B |
| LMArena Text: legal and government | 1327 | 1314 | Gemma 3 4B |
| LMArena Text: business and finance | 1311 | 1309 | Gemma 3 4B |
| Neither model has a result on the other 13 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 954 | Only Qwen3 30B A3B measured |
| Design Arena: UI components | Not measured | 943 | Only Qwen3 30B A3B measured |
| Design Arena: game dev | Not measured | 898 | Only Qwen3 30B A3B measured |
| Design Arena: data viz | Not measured | 967 | Only Qwen3 30B A3B measured |
| Design Arena: all code categories | Not measured | 941 | Only Qwen3 30B A3B measured |
| Neither model has a result on the other 4 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index213
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | Leader |
|---|---|---|---|
| IFBench | 28.3% | 41.5% | Qwen3 30B A3B |
| Long context reasoning (AA-LCR) | 6.7% | 0.0% | Gemma 3 4B |
| DTBench | 50.9% | 60.3% | Qwen3 30B A3B |
| LMCA | 2.8% | 15.8% | Qwen3 30B A3B |
| Fiction.LiveBench | Not measured | 40.6% | Only Qwen3 30B A3B measured |
| Creative writing (Lech Mazur) | Not measured | 75.3% | Only Qwen3 30B A3B measured |
| LMArena Text | 1291 | 1317 | Qwen3 30B A3B |
| LMArena Text: instruction following | 1239 | 1283 | Qwen3 30B A3B |
| LMArena Text: creative writing | 1270 | 1271 | Qwen3 30B A3B |
| LMArena Text: English | 1300 | 1335 | Qwen3 30B A3B |
| LMArena Text: non-English | 1273 | 1295 | Qwen3 30B A3B |
| LMArena Text: Chinese | Not measured | 1347 | Only Qwen3 30B A3B measured |
| LMArena Text: German | 1281 | 1307 | Qwen3 30B A3B |
| LMArena Text: Japanese | Not measured | 1254 | Only Qwen3 30B A3B measured |
| LMArena Text: Korean | Not measured | 1261 | Only Qwen3 30B A3B measured |
| LMArena Text: French | Not measured | 1352 | Only Qwen3 30B A3B measured |
| LMArena Text: Spanish | Not measured | 1317 | Only Qwen3 30B A3B measured |
| LMArena Text: Russian | 1294 | 1291 | Gemma 3 4B |
| LMArena Text: Polish | Not measured | 1299 | Only Qwen3 30B A3B measured |
| LMArena Text: multi-turn | 1255 | 1307 | Qwen3 30B A3B |
| LMArena Text: longer queries | 1273 | 1312 | Qwen3 30B A3B |
| LMArena Text: writing and language | 1288 | 1290 | Qwen3 30B A3B |
| LMArena Text: entertainment and media | 1233 | 1258 | Qwen3 30B A3B |
| Neither model has a result on the other 23 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 3 4B | Qwen3 30B A3B | 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 | Qwen3 30B A3B |
|---|---|---|
| Maker | Qwen | |
| Weights | Open weights | Open weights |
| Released | March 13, 2025 | April 28, 2025 |
| Context window | 131K | 41K |
| Input $/Mtok | $0.045 | $0.12 |
| Output $/Mtok | $0.075 | $0.50 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 3 4B better than Qwen3 30B A3B for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 6.7x cheaper ($0.075 vs $0.50 per million) and a larger context window (131K against 41K tokens).
Which is cheaper, Gemma 3 4B or Qwen3 30B A3B?
Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; Qwen3 30B A3B costs $0.12 and $0.50. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemma 3 4B or Qwen3 30B A3B?
Gemma 3 4B, with 131K tokens against 41K.
How many benchmarks is the Gemma 3 4B vs Qwen3 30B A3B comparison based on?
38 benchmarks have a result for both models as of October 22, 2026. Gemma 3 4B's coding index rests on 0 independent benchmarks and Qwen3 30B A3B's on 0. Where only one model has a result, the page says so instead of naming a winner.