Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs Qwen2.5 7B Instruct

Gemma 3 4B costs 2.7x less per output token than Qwen2.5 7B Instruct ($0.075 vs $0.20 per million). Updated October 22, 2026; 5 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
2
Qwen2.5 7B InstructQwen
Coding
No data
Overall
No data
Output $/M
$0.20
3
vs boards won of 5 shared

Gemma 3 4B or Qwen2.5 7B Instruct: 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 2.7x cheaper ($0.075 vs $0.20 per million) and a larger context window (131K against 33K tokens).

Shared results
5
Gemma 3 4B only
37
Qwen2.5 7B Instruct only
2
Like-for-like categories
4 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, Qwen2.5 7B Instruct not benchmarked.
Widest category
Reasoning, 12.2 points apart on average over 1 shared benchmark.
Widest single gap
GPQA Diamond (Epoch AI run): Gemma 3 4B 23.2% against Qwen2.5 7B Instruct 35.5%, 12.2 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against Qwen2.5 7B Instruct $0.20 per million output tokens, 2.7x apart.
Context window
Gemma 3 4B takes 131K tokens, Qwen2.5 7B Instruct 33K.

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 4BBarsQwen2.5 7B InstructTies
Intelligence01
Reasoning01
Math10
General11
All shared boards23
CodingDirectional onlySix of these boards feed the Vibe Coding Index6 boards, none shared
Coding benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
AA Coding Index2.7Not measuredOnly Gemma 3 4B measured
LiveCodeBench (Artificial Analysis run)11.2%Not measuredOnly Gemma 3 4B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Gemma 3 4B measured
LMArena Text: coding1230Not measuredOnly Gemma 3 4B measured
LMArena Text: software and IT1269Not measuredOnly Gemma 3 4B measured
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
AA Intelligence Index4.8Not measuredOnly Gemma 3 4B measured
Epoch Capabilities Index115.9118.5Qwen2.5 7B Instruct
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
τ²-Bench Telecom5.0%Not measuredOnly Gemma 3 4B measured
BALROGNot measured7.8%Only Qwen2.5 7B Instruct 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 index01
Reasoning benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
GPQA Diamond (Artificial Analysis run)29.1%Not measuredOnly Gemma 3 4B measured
Humanity's Last Exam (Artificial Analysis run)5.3%Not measuredOnly Gemma 3 4B measured
GPQA Diamond (Epoch AI run)23.2%35.5%Qwen2.5 7B Instruct
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 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index10
Math benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
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%2.5%Gemma 3 4B
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 8 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Knowledge benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
MMLU Pro (Artificial Analysis run)41.7%Not measuredOnly Gemma 3 4B measured
MMLUNot measured72.9%Only Qwen2.5 7B Instruct 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 12 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index11
General benchmarks for Gemma 3 4B and Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
IFBench28.3%Not measuredOnly Gemma 3 4B measured
Long context reasoning (AA-LCR)6.7%Not measuredOnly Gemma 3 4B measured
DTBench50.9%47.7%Gemma 3 4B
LMCA2.8%6.4%Qwen2.5 7B Instruct
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 31 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 Qwen2.5 7B Instruct
BenchmarkGemma 3 4BQwen2.5 7B InstructLeader
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
Qwen2.5 7B Instruct$0.0002Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
Qwen2.5 7B Instruct$0.0056Exceeds the context window

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
Qwen2.5 7B Instruct$0.022Exceeds 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 Gemma 3 4B and Qwen2.5 7B Instruct
SpecificationGoogle Gemma 3 4BQwen2.5 7B Instruct
MakerGoogleQwen
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025October 16, 2024
Context window131K33K
Input $/Mtok$0.045$0.10
Output $/Mtok$0.075$0.20
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than Qwen2.5 7B Instruct for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 2.7x cheaper ($0.075 vs $0.20 per million) and a larger context window (131K against 33K tokens).

Which is cheaper, Gemma 3 4B or Qwen2.5 7B Instruct?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; Qwen2.5 7B Instruct costs $0.10 and $0.20. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 4B or Qwen2.5 7B Instruct?

Gemma 3 4B, with 131K tokens against 33K.

How many benchmarks is the Gemma 3 4B vs Qwen2.5 7B Instruct comparison based on?

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

Compare next