Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs Qwen3.5 397B A17B

Qwen3.5 397B A17B leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 21.4 to 4.8, and Gemma 3 4B costs 31.2x less per output token ($0.075 vs $2.34 per million). Updated October 22, 2026; 34 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
0
Qwen3.5 397B A17BQwen
Coding
No data
Overall
57.1
Output $/M
$2.34
34
vs boards won of 34 shared

Gemma 3 4B or Qwen3.5 397B A17B: 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 31.2x cheaper ($0.075 vs $2.34 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.

Shared results
34
Gemma 3 4B only
8
Qwen3.5 397B A17B only
31
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.

At a glance

Coding index
Gemma 3 4B not benchmarked, Qwen3.5 397B A17B not benchmarked.
Widest category
Agentic work, 90.6 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemma 3 4B 5.0% against Qwen3.5 397B A17B 95.6%, 90.6 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against Qwen3.5 397B A17B $2.34 per million output tokens, 31.2x apart.
Context window
Gemma 3 4B takes 131K tokens, Qwen3.5 397B A17B 262K.

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.5 397B A17BTies
Coding03
Intelligence02
Agentic work01
Reasoning06
Math03
Knowledge04
General015
All shared boards034
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
LMArena WebDevNot measured1400Only Qwen3.5 397B A17B measured
AA Coding Index2.7Not measuredOnly Gemma 3 4B measured
LiveCodeBench (Artificial Analysis run)11.2%Not measuredOnly Gemma 3 4B measured
SciCodeNot measured44.8%Only Qwen3.5 397B A17B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%40.9%Qwen3.5 397B A17B
ALE-BenchNot measured621.9Only Qwen3.5 397B A17B measured
LMArena Text: coding12301464Qwen3.5 397B A17B
LMArena Text: software and IT12691463Qwen3.5 397B A17B
LMArena WebDev: ReactNot measured1388Only Qwen3.5 397B A17B measured
LMArena WebDev: HTMLNot measured1410Only Qwen3.5 397B A17B measured
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
AA Intelligence Index4.821.4Qwen3.5 397B A17B
Epoch Capabilities Index115.9146.8Qwen3.5 397B A17B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
τ²-Bench Telecom5.0%95.6%Qwen3.5 397B A17B
APEX-AgentsNot measured24.9%Only Qwen3.5 397B A17B measured
Berkeley Function Calling Leaderboard (BFCL)19.6%Not measuredOnly 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 index06
Reasoning benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
GPQA Diamond (Artificial Analysis run)29.1%89.3%Qwen3.5 397B A17B
Humanity's Last Exam (Artificial Analysis run)5.3%29.0%Qwen3.5 397B A17B
GPQA Diamond (Epoch AI run)23.2%86.4%Qwen3.5 397B A17B
Mystery game puzzlesNot measured18.0%Only Qwen3.5 397B A17B measured
LMArena Text: hard prompts12531448Qwen3.5 397B A17B
LMArena Text: expert12231462Qwen3.5 397B A17B
LMArena Text: hard prompts in English12531450Qwen3.5 397B A17B
LMArena Vision: diagramsNot measured1277Only Qwen3.5 397B A17B measured
LMArena Vision: homeworkNot measured1292Only Qwen3.5 397B A17B measured
Kagi LLM Benchmark25.2%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
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%88.9%Qwen3.5 397B A17B
FrontierMath, tiers 1 to 3Not measured31.2%Only Qwen3.5 397B A17B measured
LMArena Text: math12391453Qwen3.5 397B A17B
LMArena Text: mathematical work12561454Qwen3.5 397B A17B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
MMLU Pro (Artificial Analysis run)41.7%Not measuredOnly Gemma 3 4B measured
LMArena Text: science13061457Qwen3.5 397B A17B
LMArena Text: medicine and healthcare13421455Qwen3.5 397B A17B
LMArena Text: legal and government13271441Qwen3.5 397B A17B
LMArena Text: business and finance13111435Qwen3.5 397B A17B
Neither model has a result on the other 13 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
Design Arena: websitesNot measured1190Only Qwen3.5 397B A17B measured
Design Arena: UI componentsNot measured1160Only Qwen3.5 397B A17B measured
Design Arena: game devNot measured1140Only Qwen3.5 397B A17B measured
Design Arena: data vizNot measured1175Only Qwen3.5 397B A17B measured
Design Arena: 3DNot measured1160Only Qwen3.5 397B A17B measured
Design Arena: all code categoriesNot measured1179Only Qwen3.5 397B A17B measured
Design Arena: SVGNot measured1139Only Qwen3.5 397B A17B measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index015
General benchmarks for Gemma 3 4B and Qwen3.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
IFBench28.3%78.8%Qwen3.5 397B A17B
Long context reasoning (AA-LCR)6.7%77.3%Qwen3.5 397B A17B
DTBench50.9%87.5%Qwen3.5 397B A17B
LMCA2.8%37.9%Qwen3.5 397B A17B
LMArena Text12911437Qwen3.5 397B A17B
LMArena Text: instruction following12391424Qwen3.5 397B A17B
LMArena Text: creative writing12701402Qwen3.5 397B A17B
LMArena VisionNot measured1262Only Qwen3.5 397B A17B measured
LMArena Text: English13001443Qwen3.5 397B A17B
LMArena Text: non-English12731430Qwen3.5 397B A17B
LMArena Text: ChineseNot measured1498Only Qwen3.5 397B A17B measured
LMArena Text: German12811445Qwen3.5 397B A17B
LMArena Text: JapaneseNot measured1429Only Qwen3.5 397B A17B measured
LMArena Text: KoreanNot measured1384Only Qwen3.5 397B A17B measured
LMArena Text: FrenchNot measured1462Only Qwen3.5 397B A17B measured
LMArena Text: SpanishNot measured1441Only Qwen3.5 397B A17B measured
LMArena Text: Russian12941430Qwen3.5 397B A17B
LMArena Text: PolishNot measured1447Only Qwen3.5 397B A17B measured
LMArena Text: multi-turn12551446Qwen3.5 397B A17B
LMArena Text: longer queries12731441Qwen3.5 397B A17B
LMArena Text: writing and language12881415Qwen3.5 397B A17B
LMArena Text: entertainment and media12331399Qwen3.5 397B A17B
LMArena Vision: EnglishNot measured1268Only Qwen3.5 397B A17B measured
LMArena Vision: ChineseNot measured1314Only Qwen3.5 397B A17B measured
LMArena Vision: reading textNot measured1271Only Qwen3.5 397B A17B measured
LMArena Vision: humorNot measured1262Only Qwen3.5 397B A17B measured
LMArena Vision: captioningNot measured1230Only Qwen3.5 397B A17B measured
LMArena Vision: recognizing thingsNot measured1265Only Qwen3.5 397B A17B measured
LMArena Vision: creative writingNot measured1260Only Qwen3.5 397B A17B measured
Neither model has a result on the other 17 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.5 397B A17B
BenchmarkGemma 3 4BQwen3.5 397B A17BLeader
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.5 397B A17B$0.0016Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
Qwen3.5 397B A17B$0.027Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
Qwen3.5 397B A17B$0.101Fits 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.5 397B A17B
SpecificationGoogle Gemma 3 4BQwen3.5 397B A17B
MakerGoogleQwen
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025February 16, 2026
Context window131K262K
Input $/Mtok$0.045$0.39
Output $/Mtok$0.075$2.34
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it01
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than Qwen3.5 397B A17B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 31.2x cheaper ($0.075 vs $2.34 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.

Which is cheaper, Gemma 3 4B or Qwen3.5 397B A17B?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 4B or Qwen3.5 397B A17B?

Qwen3.5 397B A17B, with 262K tokens against 131K.

How many benchmarks is the Gemma 3 4B vs Qwen3.5 397B A17B comparison based on?

34 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.5 397B A17B's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next