Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs Gemma 3 4B

Gemini 2.5 Flash leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 15.5 to 4.8, and Gemma 3 4B costs 33.3x less per output token ($0.075 vs $2.50 per million). Updated October 21, 2026; 36 benchmarks have a result for both.

Gemini 2.5 FlashGoogle
Coding
No data
Overall
15.5
Output $/M
$2.50
36
Gemma 3 4BGoogle
Coding
No data
Overall
4.8
Output $/M
$0.075
0
vs boards won of 36 shared

Gemini 2.5 Flash or Gemma 3 4B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Gemini 2.5 Flash for a larger context window (1.05M against 131K tokens).

Shared results
36
Gemini 2.5 Flash only
33
Gemma 3 4B only
3
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
Gemini 2.5 Flash not benchmarked, Gemma 3 4B not benchmarked.
Widest category
Math, 44.4 points apart on average over 4 shared benchmarks.
Widest single gap
AIME 2025 (Artificial Analysis run): Gemini 2.5 Flash 73.3% against Gemma 3 4B 12.7%, 60.7 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against Gemma 3 4B $0.075 per million output tokens, 33.3x apart.
Context window
Gemini 2.5 Flash takes 1.05M 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.

Boards won, where both have a result
CategoryGemini 2.5 FlashBarsGemma 3 4BTies
Coding40
Intelligence20
Agentic work10
Reasoning50
Math40
Knowledge50
General150
All shared boards360
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
SWE-bench Verified28.7%Not measuredOnly Gemini 2.5 Flash measured
AA Coding IndexNot measured2.7Only Gemma 3 4B measured
LiveCodeBench (Artificial Analysis run)69.5%11.2%Gemini 2.5 Flash
Terminal-Bench Hard (Artificial Analysis run)13.6%0.8%Gemini 2.5 Flash
Terminal-Bench17.1%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: coding14231230Gemini 2.5 Flash
LMArena Text: software and IT14251269Gemini 2.5 Flash
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
AA Intelligence Index15.54.8Gemini 2.5 Flash
Epoch Capabilities Index142.9115.9Gemini 2.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
τ²-Bench Telecom31.6%5.0%Gemini 2.5 Flash
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
GPQA Diamond (Artificial Analysis run)79.0%29.1%Gemini 2.5 Flash
Humanity's Last Exam (Artificial Analysis run)12.1%5.3%Gemini 2.5 Flash
GPQA Diamond (Epoch AI run)Not measured23.2%Only Gemma 3 4B measured
ARC-AGI33.3%Not measuredOnly Gemini 2.5 Flash measured
ARC-AGI-22.5%Not measuredOnly Gemini 2.5 Flash measured
SimpleBench41.2%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: hard prompts14221253Gemini 2.5 Flash
LMArena Text: expert14261223Gemini 2.5 Flash
LMArena Text: hard prompts in English14201253Gemini 2.5 Flash
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
AA Math Index73.312.7Gemini 2.5 Flash
AIME 2025 (Artificial Analysis run)73.3%12.7%Gemini 2.5 Flash
OTIS Mock AIMENot measured7.5%Only Gemma 3 4B measured
LMArena Text: math14111239Gemini 2.5 Flash
LMArena Text: mathematical work14221256Gemini 2.5 Flash
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
MedCode (Vals AI)40.4%Not measuredOnly Gemini 2.5 Flash measured
MMLU Pro (Artificial Analysis run)83.2%41.7%Gemini 2.5 Flash
LMArena Text: science14331306Gemini 2.5 Flash
LMArena Text: medicine and healthcare14281342Gemini 2.5 Flash
LMArena Text: legal and government14301327Gemini 2.5 Flash
LMArena Text: business and finance14041311Gemini 2.5 Flash
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
Design Arena: websites1074Not measuredOnly Gemini 2.5 Flash measured
Design Arena: UI components1005Not measuredOnly Gemini 2.5 Flash measured
Design Arena: game dev1005Not measuredOnly Gemini 2.5 Flash measured
Design Arena: data viz1060Not measuredOnly Gemini 2.5 Flash measured
Design Arena: 3D1021Not measuredOnly Gemini 2.5 Flash measured
Design Arena: all code categories1059Not measuredOnly Gemini 2.5 Flash measured
Design Arena: SVG1020Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index150
General benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%Not measuredOnly Gemini 2.5 Flash measured
IFBench50.3%28.3%Gemini 2.5 Flash
Long context reasoning (AA-LCR)65.3%6.7%Gemini 2.5 Flash
DTBench76.5%50.9%Gemini 2.5 Flash
LMCA27.5%2.8%Gemini 2.5 Flash
LMArena Text14171291Gemini 2.5 Flash
LMArena Text: instruction following14051239Gemini 2.5 Flash
LMArena Text: creative writing14001270Gemini 2.5 Flash
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English14181300Gemini 2.5 Flash
LMArena Text: non-English14091273Gemini 2.5 Flash
LMArena Text: Chinese1449Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: German14171281Gemini 2.5 Flash
LMArena Text: Japanese1396Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Korean1385Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: French1432Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Spanish1422Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Russian14151294Gemini 2.5 Flash
LMArena Text: Polish1413Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: multi-turn14081255Gemini 2.5 Flash
LMArena Text: longer queries14191273Gemini 2.5 Flash
LMArena Text: writing and language14051288Gemini 2.5 Flash
LMArena Text: entertainment and media13931233Gemini 2.5 Flash
LMArena Vision: English1239Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Flash and Gemma 3 4B
BenchmarkGemini 2.5 FlashGemma 3 4BLeader
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

Gemini 2.5 Flash$0.0015Fits in one request
Gemma 3 4B$0.0001Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
Gemma 3 4B$0.0025Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
Gemma 3 4B$0.0097Exceeds the context window

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 Gemini 2.5 Flash and Gemma 3 4B
SpecificationGoogle Gemini 2.5 FlashGoogle Gemma 3 4B
MakerGoogleGoogle
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025March 13, 2025
Context window1.05M131K
Input $/Mtok$0.30$0.045
Output $/Mtok$2.50$0.075
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$0.466Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Flash better than Gemma 3 4B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemini 2.5 Flash for a larger context window (1.05M against 131K tokens).

Which is cheaper, Gemini 2.5 Flash or Gemma 3 4B?

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; Gemma 3 4B costs $0.045 and $0.075. Cost per solved task is known for Gemini 2.5 Flash only.

Which has the bigger context window, Gemini 2.5 Flash or Gemma 3 4B?

Gemini 2.5 Flash, with 1.05M tokens against 131K.

How many benchmarks is the Gemini 2.5 Flash vs Gemma 3 4B comparison based on?

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

Compare next