Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs GPT-4o (2024-05-13)

GPT-4o (2024-05-13) leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 7.3 to 4.8, and Gemma 3 4B costs 200.0x less per output token ($0.075 vs $15.00 per million). Updated October 22, 2026; 30 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
7
GPT-4o (2024-05-13)OpenAI
Coding
No data
Overall
27.1
Output $/M
$15.00
23
vs boards won of 30 shared

Gemma 3 4B or GPT-4o (2024-05-13): 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 200.0x cheaper ($0.075 vs $15.00 per million) and a larger context window (131K against 128K tokens).

Shared results
30
Gemma 3 4B only
12
GPT-4o (2024-05-13) only
14
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, GPT-4o (2024-05-13) not benchmarked.
Widest category
Coding, 14.9 points apart on average over 4 shared benchmarks.
Widest single gap
MMLU Pro (Artificial Analysis run): Gemma 3 4B 41.7% against GPT-4o (2024-05-13) 74.0%, 32.3 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against GPT-4o (2024-05-13) $15.00 per million output tokens, 200.0x apart.
Context window
Gemma 3 4B takes 131K tokens, GPT-4o (2024-05-13) 128K.

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 4BBarsGPT-4o (2024-05-13)Ties
Coding04
Intelligence01
Reasoning15
Math12
Knowledge41
General110
All shared boards723
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
AA Coding Index2.724.2GPT-4o (2024-05-13)
LiveCodeBench (Artificial Analysis run)11.2%33.4%GPT-4o (2024-05-13)
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Gemma 3 4B measured
LMArena Text: coding12301297GPT-4o (2024-05-13)
LMArena Text: software and IT12691297GPT-4o (2024-05-13)
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 37 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
AA Intelligence Index4.87.3GPT-4o (2024-05-13)
Epoch Capabilities Index115.9Not measuredOnly Gemma 3 4B measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Agentic work benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
τ²-Bench Telecom5.0%Not measuredOnly Gemma 3 4B measured
METR time horizonsNot measured40.8%Only GPT-4o (2024-05-13) measured
BALROGNot measured32.3%Only GPT-4o (2024-05-13) 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 index15
Reasoning benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
GPQA DiamondNot measured50.2%Only GPT-4o (2024-05-13) measured
GPQA Diamond (Artificial Analysis run)29.1%52.6%GPT-4o (2024-05-13)
Humanity's Last Exam (Artificial Analysis run)5.3%1.8%Gemma 3 4B
GPQA Diamond (Epoch AI run)23.2%48.9%GPT-4o (2024-05-13)
LMArena Text: hard prompts12531281GPT-4o (2024-05-13)
LMArena Text: expert12231250GPT-4o (2024-05-13)
LMArena Text: hard prompts in English12531293GPT-4o (2024-05-13)
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 index12
Math benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
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%6.3%Gemma 3 4B
MATH level 5Not measured51.0%Only GPT-4o (2024-05-13) measured
LMArena Text: math12391284GPT-4o (2024-05-13)
LMArena Text: mathematical work12561284GPT-4o (2024-05-13)
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
MMLU Pro (Artificial Analysis run)41.7%74.0%GPT-4o (2024-05-13)
MMLUNot measured84.2%Only GPT-4o (2024-05-13) measured
LMArena Text: science13061295Gemma 3 4B
LMArena Text: medicine and healthcare13421278Gemma 3 4B
LMArena Text: legal and government13271314Gemma 3 4B
LMArena Text: business and finance13111262Gemma 3 4B
Neither model has a result on the other 14 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 GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index110
General benchmarks for Gemma 3 4B and GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)Leader
IFBench28.3%Not measuredOnly Gemma 3 4B measured
Long context reasoning (AA-LCR)6.7%Not measuredOnly Gemma 3 4B measured
DTBench50.9%Not measuredOnly Gemma 3 4B measured
LMCA2.8%Not measuredOnly Gemma 3 4B measured
LMArena Text12911300GPT-4o (2024-05-13)
LMArena Text: instruction following12391278GPT-4o (2024-05-13)
LMArena Text: creative writing12701291GPT-4o (2024-05-13)
LMArena VisionNot measured1137Only GPT-4o (2024-05-13) measured
LMArena Text: English13001312GPT-4o (2024-05-13)
LMArena Text: non-English12731283GPT-4o (2024-05-13)
LMArena Text: ChineseNot measured1277Only GPT-4o (2024-05-13) measured
LMArena Text: German12811283GPT-4o (2024-05-13)
LMArena Text: JapaneseNot measured1257Only GPT-4o (2024-05-13) measured
LMArena Text: KoreanNot measured1234Only GPT-4o (2024-05-13) measured
LMArena Text: FrenchNot measured1304Only GPT-4o (2024-05-13) measured
LMArena Text: SpanishNot measured1292Only GPT-4o (2024-05-13) measured
LMArena Text: Russian12941285Gemma 3 4B
LMArena Text: PolishNot measured1365Only GPT-4o (2024-05-13) measured
LMArena Text: multi-turn12551302GPT-4o (2024-05-13)
LMArena Text: longer queries12731288GPT-4o (2024-05-13)
LMArena Text: writing and language12881298GPT-4o (2024-05-13)
LMArena Text: entertainment and media12331289GPT-4o (2024-05-13)
LMArena Vision: EnglishNot measured1147Only GPT-4o (2024-05-13) measured
LMArena Vision: ChineseNot measured1132Only GPT-4o (2024-05-13) measured
Neither model has a result on the other 24 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 GPT-4o (2024-05-13)
BenchmarkGemma 3 4BGPT-4o (2024-05-13)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$0.0001Fits in one request
GPT-4o (2024-05-13)$0.013Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
GPT-4o (2024-05-13)$0.295Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
GPT-4o (2024-05-13)$1.15Exceeds 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 GPT-4o (2024-05-13)
SpecificationGoogle Gemma 3 4BOpenAI GPT-4o (2024-05-13)
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedMarch 13, 2025May 13, 2024
Context window131K128K
Input $/Mtok$0.045$5.00
Output $/Mtok$0.075$15.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than GPT-4o (2024-05-13) for coding?

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

Which is cheaper, Gemma 3 4B or GPT-4o (2024-05-13)?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; GPT-4o (2024-05-13) costs $5.00 and $15.00. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 4B or GPT-4o (2024-05-13)?

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

How many benchmarks is the Gemma 3 4B vs GPT-4o (2024-05-13) comparison based on?

30 benchmarks have a result for both models as of October 22, 2026. Gemma 3 4B's coding index rests on 0 independent benchmarks and GPT-4o (2024-05-13)'s on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next