Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs GPT-5.1

GPT-5.1 leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 24.7 to 4.8, and Gemma 3 4B costs 133.3x less per output token ($0.075 vs $10.00 per million). Updated October 21, 2026; 39 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
0
GPT-5.1OpenAI
Coding
40.4
Overall
55.0
Output $/M
$10.00
39
vs boards won of 39 shared

Gemma 3 4B or GPT-5.1: which to pick

Only GPT-5.1 has a coding score, 40.4 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 133.3x cheaper ($0.075 vs $10.00 per million).

Shared results
39
Gemma 3 4B only
3
GPT-5.1 only
62
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, GPT-5.1 40.4 from 3 benchmarks.
Widest category
Agentic work, 76.9 points apart on average over 1 shared benchmark.
Widest single gap
AIME 2025 (Artificial Analysis run): Gemma 3 4B 12.7% against GPT-5.1 94.0%, 81.3 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against GPT-5.1 $10.00 per million output tokens, 133.3x apart.
Context window
Gemma 3 4B takes 131K tokens, GPT-5.1 400K.

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-5.1Ties
Coding05
Intelligence02
Agentic work01
Reasoning06
Math05
Knowledge05
General015
All shared boards039
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
Coding benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1 measured
LMArena WebDevNot measured1396Only GPT-5.1 measured
AA Coding Index2.749.4GPT-5.1
LiveCodeBench (Vals AI)Not measured86.5%Only GPT-5.1 measured
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.1 measured
Vibe Code Bench (Vals AI)Not measured24.6%Only GPT-5.1 measured
LiveCodeBench (Artificial Analysis run)11.2%86.8%GPT-5.1
Terminal-Bench Hard (Artificial Analysis run)0.8%45.5%GPT-5.1
Terminal-BenchNot measured47.6%Only GPT-5.1 measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdMLNot measured60.8%Only GPT-5.1 measured
LMArena Text: coding12301453GPT-5.1
LMArena Text: software and IT12691454GPT-5.1
LMArena WebDev: ReactNot measured1307Only GPT-5.1 measured
LMArena WebDev: HTMLNot measured1405Only GPT-5.1 measured
LMArena WebDev: from an imageNot measured1421Only GPT-5.1 measured
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
AA Intelligence Index4.824.7GPT-5.1
Epoch Capabilities Index115.9149.8GPT-5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
τ²-Bench Telecom5.0%81.9%GPT-5.1
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
Vending-Bench 2Not measured$1,473Only GPT-5.1 measured
Berkeley Function Calling Leaderboard (BFCL)19.6%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
GPQA DiamondNot measured86.6%Only GPT-5.1 measured
MMMU Pro (Vals AI)Not measured83.2%Only GPT-5.1 measured
GPQA Diamond (Artificial Analysis run)29.1%87.3%GPT-5.1
Humanity's Last Exam (Artificial Analysis run)5.3%28.5%GPT-5.1
GPQA Diamond (Epoch AI run)23.2%87.6%GPT-5.1
ARC-AGINot measured72.8%Only GPT-5.1 measured
ARC-AGI-2Not measured17.6%Only GPT-5.1 measured
SimpleBenchNot measured53.2%Only GPT-5.1 measured
Chess puzzlesNot measured42.0%Only GPT-5.1 measured
Mystery game puzzlesNot measured19.0%Only GPT-5.1 measured
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard prompts12531457GPT-5.1
LMArena Text: expert12231470GPT-5.1
LMArena Text: hard prompts in English12531462GPT-5.1
LMArena Vision: diagramsNot measured1264Only GPT-5.1 measured
LMArena Vision: homeworkNot measured1272Only GPT-5.1 measured
Kagi LLM Benchmark25.2%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
AIMENot measured93.3%Only GPT-5.1 measured
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AA Math Index12.794.0GPT-5.1
AIME 2025 (Artificial Analysis run)12.7%94.0%GPT-5.1
OTIS Mock AIME7.5%88.6%GPT-5.1
LMArena Text: math12391446GPT-5.1
LMArena Text: mathematical work12561449GPT-5.1
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
MMLU ProNot measured86.4%Only GPT-5.1 measured
LegalBench (Vals AI)Not measured85.7%Only GPT-5.1 measured
CaseLaw (Vals AI)Not measured73.4%Only GPT-5.1 measured
CorpFin (Vals AI)Not measured63.8%Only GPT-5.1 measured
TaxEval (Vals AI)Not measured74.9%Only GPT-5.1 measured
MortgageTax (Vals AI)Not measured61.4%Only GPT-5.1 measured
MedQA (Vals AI)Not measured96.4%Only GPT-5.1 measured
MedCode (Vals AI)Not measured52.7%Only GPT-5.1 measured
MMLU Pro (Artificial Analysis run)41.7%87.0%GPT-5.1
SimpleQA VerifiedNot measured48.0%Only GPT-5.1 measured
LMArena Text: science13061459GPT-5.1
LMArena Text: medicine and healthcare13421456GPT-5.1
LMArena Text: legal and government13271459GPT-5.1
LMArena Text: business and finance13111431GPT-5.1
FACTS Benchmark SuiteNot measured45.0%Only GPT-5.1 measured
Neither model has a result on the other 3 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 GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
Design Arena: websitesNot measured1187Only GPT-5.1 measured
Design Arena: UI componentsNot measured1166Only GPT-5.1 measured
Design Arena: game devNot measured1179Only GPT-5.1 measured
Design Arena: data vizNot measured1204Only GPT-5.1 measured
Design Arena: 3DNot measured1061Only GPT-5.1 measured
Design Arena: all code categoriesNot measured1171Only GPT-5.1 measured
Design Arena: SVGNot measured1149Only GPT-5.1 measured
Design Arena: ASCII artNot measured1119Only GPT-5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index015
General benchmarks for Gemma 3 4B and GPT-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
SAGE (Vals AI)Not measured43.2%Only GPT-5.1 measured
MedScribe (Vals AI)Not measured88.1%Only GPT-5.1 measured
IFBench28.3%72.9%GPT-5.1
Long context reasoning (AA-LCR)6.7%80.0%GPT-5.1
DTBench50.9%90.1%GPT-5.1
LMCA2.8%43.9%GPT-5.1
CL-benchNot measured23.7%Only GPT-5.1 measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena Text12911443GPT-5.1
LMArena Text: instruction following12391443GPT-5.1
LMArena Text: creative writing12701427GPT-5.1
LMArena VisionNot measured1250Only GPT-5.1 measured
LMArena Text: English13001451GPT-5.1
LMArena Text: non-English12731431GPT-5.1
LMArena Text: ChineseNot measured1495Only GPT-5.1 measured
LMArena Text: German12811438GPT-5.1
LMArena Text: JapaneseNot measured1453Only GPT-5.1 measured
LMArena Text: KoreanNot measured1401Only GPT-5.1 measured
LMArena Text: FrenchNot measured1450Only GPT-5.1 measured
LMArena Text: SpanishNot measured1433Only GPT-5.1 measured
LMArena Text: Russian12941435GPT-5.1
LMArena Text: PolishNot measured1440Only GPT-5.1 measured
LMArena Text: multi-turn12551450GPT-5.1
LMArena Text: longer queries12731448GPT-5.1
LMArena Text: writing and language12881428GPT-5.1
LMArena Text: entertainment and media12331415GPT-5.1
LMArena Vision: EnglishNot measured1252Only GPT-5.1 measured
LMArena Vision: ChineseNot measured1270Only GPT-5.1 measured
LMArena Vision: reading textNot measured1255Only GPT-5.1 measured
LMArena Vision: humorNot measured1263Only GPT-5.1 measured
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.1 measured
LMArena Vision: creative writingNot measured1266Only GPT-5.1 measured
LMArena DocumentNot measured1403Only GPT-5.1 measured
Neither model has a result on the other 12 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-5.1
BenchmarkGemma 3 4BGPT-5.1Leader
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-5.1$0.0063Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
GPT-5.1$0.092Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
GPT-5.1$0.350Fits 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 GPT-5.1
SpecificationGoogle Gemma 3 4BOpenAI GPT-5.1
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedMarch 13, 2025November 13, 2025
Context window131K400K
Input $/Mtok$0.045$1.25
Output $/Mtok$0.075$10.00
Coding indexNot benchmarked40.4
Independent measurements behind it03
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than GPT-5.1 for coding?

Only GPT-5.1 has a coding score, 40.4 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 133.3x cheaper ($0.075 vs $10.00 per million).

Which is cheaper, Gemma 3 4B or GPT-5.1?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1 only.

Which has the bigger context window, Gemma 3 4B or GPT-5.1?

GPT-5.1, with 400K tokens against 131K.

How many benchmarks is the Gemma 3 4B vs GPT-5.1 comparison based on?

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

Compare next