Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs Qwen3.7 Max

Qwen3.7 Max leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 29.5 to 4.8, and Gemma 3 4B costs 59.0x less per output token ($0.075 vs $4.425 per million). Updated October 21, 2026; 13 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
0
Qwen3.7 MaxQwen
Coding
54.1
Overall
61.7
Output $/M
$4.425
13
vs boards won of 13 shared

Gemma 3 4B or Qwen3.7 Max: which to pick

Only Qwen3.7 Max has a coding score, 54.1 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding.

Pick Gemma 3 4B for output tokens 59.0x cheaper ($0.075 vs $4.425 per million).

Shared results
13
Gemma 3 4B only
29
Qwen3.7 Max only
46
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
Gemma 3 4B not benchmarked, Qwen3.7 Max 54.1 from 3 benchmarks.
Widest category
Agentic work, 89.8 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemma 3 4B 5.0% against Qwen3.7 Max 94.7%, 89.8 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against Qwen3.7 Max $4.425 per million output tokens, 59.0x apart.
Context window
Gemma 3 4B takes 131K tokens, Qwen3.7 Max 1M.

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
CategoryGemma 3 4BBarsQwen3.7 MaxTies
Coding02
Intelligence02
Agentic work01
Reasoning03
Math01
General04
All shared boards013
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
LMArena WebDevNot measured1515Only Qwen3.7 Max measured
AA Coding Index2.766.0Qwen3.7 Max
LiveCodeBench (Vals AI)Not measured87.1%Only Qwen3.7 Max measured
SWE-bench Verified (Vals AI)Not measured68.8%Only Qwen3.7 Max measured
Vibe Code Bench (Vals AI)Not measured47.7%Only Qwen3.7 Max measured
Code migration (Vals AI)Not measured13.1%Only Qwen3.7 Max measured
Terminal-Bench 2.1 (Vals AI)Not measured61.0%Only Qwen3.7 Max measured
LiveCodeBench (Artificial Analysis run)11.2%Not measuredOnly Gemma 3 4B measured
SciCodeNot measured49.5%Only Qwen3.7 Max measured
Terminal-Bench Hard (Artificial Analysis run)0.8%50.8%Qwen3.7 Max
ALE-BenchNot measured1189.4Only Qwen3.7 Max measured
LMArena Text: coding1230Not measuredOnly Gemma 3 4B measured
LMArena Text: software and IT1269Not measuredOnly Gemma 3 4B measured
LMArena WebDev: ReactNot measured1514Only Qwen3.7 Max measured
LMArena WebDev: HTMLNot measured1512Only Qwen3.7 Max measured
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
AA Intelligence Index4.829.5Qwen3.7 Max
Epoch Capabilities Index115.9154.0Qwen3.7 Max
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
AA Agentic IndexNot measured22.5Only Qwen3.7 Max measured
Design Arena: agents building web appsNot measured1208Only Qwen3.7 Max measured
Design Arena: agents building full-stack appsNot measured1191Only Qwen3.7 Max measured
Design Arena: agents building mobile appsNot measured1155Only Qwen3.7 Max measured
Design Arena: agents building Android appsNot measured1159Only Qwen3.7 Max measured
Design Arena: agents building Godot gamesNot measured1187Only Qwen3.7 Max measured
Design Arena: agents building gamesNot measured1161Only Qwen3.7 Max measured
Design Arena: HTML slidesNot measured1158Only Qwen3.7 Max measured
Design Arena: PowerPoint slidesNot measured1197Only Qwen3.7 Max measured
Finance Agent (Vals AI)Not measured47.8%Only Qwen3.7 Max measured
Tax Agent Bench (Vals AI)Not measured15.8%Only Qwen3.7 Max measured
Legal Research Bench (Vals AI)Not measured25.5%Only Qwen3.7 Max measured
Excel Modeling Benchmark (Vals AI)Not measured57.0%Only Qwen3.7 Max measured
τ²-Bench Telecom5.0%94.7%Qwen3.7 Max
Berkeley Function Calling Leaderboard (BFCL)19.6%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index03
Reasoning benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
GPQA DiamondNot measured90.2%Only Qwen3.7 Max measured
GPQA Diamond (Artificial Analysis run)29.1%92.3%Qwen3.7 Max
Humanity's Last Exam (Artificial Analysis run)5.3%40.5%Qwen3.7 Max
GPQA Diamond (Epoch AI run)23.2%90.9%Qwen3.7 Max
SimpleBenchNot measured70.4%Only Qwen3.7 Max measured
Chess puzzlesNot measured26.0%Only Qwen3.7 Max measured
Mystery game puzzlesNot measured32.0%Only Qwen3.7 Max measured
EBR-benchNot measured9.5%Only Qwen3.7 Max measured
LMArena Text: hard prompts1253Not measuredOnly Gemma 3 4B measured
LMArena Text: expert1223Not measuredOnly Gemma 3 4B measured
LMArena Text: hard prompts in English1253Not measuredOnly Gemma 3 4B measured
Kagi LLM Benchmark25.2%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index01
Math benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
AA Math Index12.7Not measuredOnly Gemma 3 4B measured
AIME 2025 (Artificial Analysis run)12.7%Not measuredOnly Gemma 3 4B measured
OTIS Mock AIME7.5%95.6%Qwen3.7 Max
FrontierMath, tiers 1 to 3Not measured64.6%Only Qwen3.7 Max measured
FrontierMath, tier 4Not measured34.1%Only Qwen3.7 Max measured
ProofBenchNot measured26.0%Only Qwen3.7 Max measured
LMArena Text: math1239Not measuredOnly Gemma 3 4B measured
LMArena Text: mathematical work1256Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 5 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Knowledge benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
MMLU ProNot measured89.3%Only Qwen3.7 Max measured
LegalBench (Vals AI)Not measured84.9%Only Qwen3.7 Max measured
CorpFin (Vals AI)Not measured63.7%Only Qwen3.7 Max measured
TaxEval (Vals AI)Not measured75.3%Only Qwen3.7 Max measured
MedCode (Vals AI)Not measured38.8%Only Qwen3.7 Max measured
MMLU Pro (Artificial Analysis run)41.7%Not measuredOnly Gemma 3 4B measured
SimpleQA VerifiedNot measured55.8%Only Qwen3.7 Max measured
LMArena Text: science1306Not measuredOnly Gemma 3 4B measured
LMArena Text: medicine and healthcare1342Not measuredOnly Gemma 3 4B measured
LMArena Text: legal and government1327Not measuredOnly Gemma 3 4B measured
LMArena Text: business and finance1311Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
Design Arena: websitesNot measured1274Only Qwen3.7 Max measured
Design Arena: UI componentsNot measured1270Only Qwen3.7 Max measured
Design Arena: game devNot measured1265Only Qwen3.7 Max measured
Design Arena: data vizNot measured1275Only Qwen3.7 Max measured
Design Arena: 3DNot measured1266Only Qwen3.7 Max measured
Design Arena: all code categoriesNot measured1275Only Qwen3.7 Max measured
Design Arena: SVGNot measured1217Only Qwen3.7 Max measured
Design Arena: ASCII artNot measured1211Only Qwen3.7 Max measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
General benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
MedScribe (Vals AI)Not measured79.4%Only Qwen3.7 Max measured
IFBench28.3%80.5%Qwen3.7 Max
Long context reasoning (AA-LCR)6.7%79.0%Qwen3.7 Max
DTBench50.9%92.3%Qwen3.7 Max
LMCA2.8%44.0%Qwen3.7 Max
LMArena Text1291Not measuredOnly Gemma 3 4B measured
LMArena Text: instruction following1239Not measuredOnly Gemma 3 4B measured
LMArena Text: creative writing1270Not measuredOnly Gemma 3 4B measured
LMArena Text: English1300Not measuredOnly Gemma 3 4B measured
LMArena Text: non-English1273Not measuredOnly Gemma 3 4B measured
LMArena Text: German1281Not measuredOnly Gemma 3 4B measured
LMArena Text: Russian1294Not measuredOnly Gemma 3 4B measured
LMArena Text: multi-turn1255Not measuredOnly Gemma 3 4B measured
LMArena Text: longer queries1273Not measuredOnly Gemma 3 4B measured
LMArena Text: writing and language1288Not measuredOnly Gemma 3 4B measured
LMArena Text: entertainment and media1233Not measuredOnly Gemma 3 4B measured
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
Image generation benchmarks for Gemma 3 4B and Qwen3.7 Max
BenchmarkGemma 3 4BQwen3.7 MaxLeader
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$0.0001Fits in one request
Qwen3.7 Max$0.0037Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
Qwen3.7 Max$0.087Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
Qwen3.7 Max$0.339Fits in one request

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 Gemma 3 4B and Qwen3.7 Max
SpecificationGoogle Gemma 3 4BQwen3.7 Max
MakerGoogleQwen
WeightsOpen weightsNo public weights listed
ReleasedMarch 13, 2025May 21, 2026
Context window131K1M
Input $/Mtok$0.045$1.475
Output $/Mtok$0.075$4.425
Coding indexNot benchmarked54.1
Independent measurements behind it03
Cost per solved taskNot computable$4.69
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than Qwen3.7 Max for coding?

Only Qwen3.7 Max has a coding score, 54.1 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 59.0x cheaper ($0.075 vs $4.425 per million).

Which is cheaper, Gemma 3 4B or Qwen3.7 Max?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; Qwen3.7 Max costs $1.475 and $4.425. Cost per solved task is known for Qwen3.7 Max only.

Which has the bigger context window, Gemma 3 4B or Qwen3.7 Max?

Qwen3.7 Max, with 1M tokens against 131K.

How many benchmarks is the Gemma 3 4B vs Qwen3.7 Max comparison based on?

13 benchmarks have a result for both models as of October 21, 2026. Gemma 3 4B's coding index rests on 0 independent benchmarks and Qwen3.7 Max's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next