Enter opens the highlighted result. Esc closes.

Gemma 4 26B A4B vs GPT-5.1

Updated October 21, 2026. 51 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemma 4 26B A4BGoogle
Coding
22.8
Overall
16.7
Output $/M
$0.255
12
GPT-5.1OpenAI
Coding
53.3
Overall
24.7
Output $/M
$10.00
39
vs boards won of 51 shared

Decision reading

Pick GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 22.8 for Gemma 4 26B A4B.

Pick Gemma 4 26B A4B when output tokens cost 39.2x less, or when what matters is LMArena WebDev: React or LMArena Vision: homework, where it leads.

Shared results
51
Gemma 4 26B A4B only
3
GPT-5.1 only
49
Like-for-like categories
7 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 4 26B A4B 22.8 from 1 benchmark, GPT-5.1 53.3 from 2 benchmarks.
Widest category
Agentic work, 38.3 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemma 4 26B A4B 43.6% against GPT-5.1 81.9%, 38.3 points apart on a 0 to 100 scale.
Output price
Gemma 4 26B A4B $0.255 against GPT-5.1 $10.00 per million output tokens, 39.2x apart.
Context window
Gemma 4 26B A4B takes 262K 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 4 26B A4BBarsGPT-5.1Ties
Coding17
Intelligence02
Agentic work01
Reasoning17
Math21
Knowledge04
General817
All shared boards1239
CodingLike-for-likeFour of these boards feed the Vibe Coding Index17
Coding benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-5.1Leader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1 measured
LMArena WebDev13601396GPT-5.1
AA Coding Index39.349.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)Not measured86.8%Only GPT-5.1 measured
SciCode40.0%Not measuredOnly Gemma 4 26B A4B measured
Terminal-Bench Hard (Artificial Analysis run)25.0%45.5%GPT-5.1
Terminal-BenchNot measured47.6%Only GPT-5.1 measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdML35.2%60.8%GPT-5.1
ALE-Bench927.2Not measuredOnly Gemma 4 26B A4B measured
LMArena Text: coding14461453GPT-5.1
LMArena Text: software and IT14541454GPT-5.1
LMArena WebDev: React13511307Gemma 4 26B A4B
LMArena WebDev: HTML13621405GPT-5.1
LMArena WebDev: from an imageNot measured1421Only GPT-5.1 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-5.1Leader
AA Intelligence Index16.724.7GPT-5.1
Epoch Capabilities Index141.9149.8GPT-5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-5.1Leader
AA Agentic Index2.9Not measuredOnly Gemma 4 26B A4B measured
τ²-Bench Telecom43.6%81.9%GPT-5.1
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
Vending-Bench 2Not measured$1,473Only GPT-5.1 measured
Neither model has a result on the other 35 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index17
Reasoning benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-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)79.2%87.3%GPT-5.1
Humanity's Last Exam (Artificial Analysis run)19.3%28.5%GPT-5.1
GPQA Diamond (Epoch AI run)73.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 prompts14381457GPT-5.1
LMArena Text: expert14471470GPT-5.1
LMArena Text: hard prompts in English14481462GPT-5.1
LMArena Vision: diagrams12641264GPT-5.1
LMArena Vision: homework12931272Gemma 4 26B A4B
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index21
Math benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-5.1Leader
AIMENot measured93.3%Only GPT-5.1 measured
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AA Math IndexNot measured94.0Only GPT-5.1 measured
AIME 2025 (Artificial Analysis run)Not measured94.0%Only GPT-5.1 measured
OTIS Mock AIME82.2%88.6%GPT-5.1
LMArena Text: math14701446Gemma 4 26B A4B
LMArena Text: mathematical work14751449Gemma 4 26B A4B
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-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)Not measured87.0%Only GPT-5.1 measured
SimpleQA VerifiedNot measured48.0%Only GPT-5.1 measured
LMArena Text: science14461459GPT-5.1
LMArena Text: medicine and healthcare14281456GPT-5.1
LMArena Text: legal and government14571459GPT-5.1
LMArena Text: business and finance14291431GPT-5.1
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 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-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 measured1118Only 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 index817
General benchmarks for Gemma 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-5.1Leader
SAGE (Vals AI)Not measured43.2%Only GPT-5.1 measured
MedScribe (Vals AI)Not measured88.1%Only GPT-5.1 measured
IFBench72.4%72.9%GPT-5.1
Long context reasoning (AA-LCR)65.7%80.0%GPT-5.1
DTBench74.9%90.1%GPT-5.1
LMCA29.7%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 Text14341443GPT-5.1
LMArena Text: instruction following14201443GPT-5.1
LMArena Text: creative writing14001427GPT-5.1
LMArena Vision12601250Gemma 4 26B A4B
LMArena Text: English14441451GPT-5.1
LMArena Text: non-English14211431GPT-5.1
LMArena Text: Chinese14951495Gemma 4 26B A4B
LMArena Text: GermanNot measured1438Only GPT-5.1 measured
LMArena Text: JapaneseNot measured1453Only GPT-5.1 measured
LMArena Text: KoreanNot measured1401Only GPT-5.1 measured
LMArena Text: French14601450Gemma 4 26B A4B
LMArena Text: Spanish14151433GPT-5.1
LMArena Text: Russian14341435GPT-5.1
LMArena Text: PolishNot measured1440Only GPT-5.1 measured
LMArena Text: multi-turn14411450GPT-5.1
LMArena Text: longer queries14271448GPT-5.1
LMArena Text: writing and language14051428GPT-5.1
LMArena Text: entertainment and media14031415GPT-5.1
LMArena Vision: English12561252Gemma 4 26B A4B
LMArena Vision: Chinese13121270Gemma 4 26B A4B
LMArena Vision: reading text12681255Gemma 4 26B A4B
LMArena Vision: humor12721263Gemma 4 26B A4B
LMArena Vision: captioning12971252Gemma 4 26B A4B
LMArena Vision: recognizing things11911232GPT-5.1
LMArena Vision: creative writing12561266GPT-5.1
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 4 26B A4B and GPT-5.1
BenchmarkGemma 4 26B A4BGPT-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 4 26B A4B$0.0002Fits in one request
GPT-5.1$0.0063Fits in one request

Gemma 4 26B A4B costs less

Repository review

50K input + 3K output tokens

Gemma 4 26B A4B$0.0046Fits in one request
GPT-5.1$0.092Fits in one request

Gemma 4 26B A4B costs less

Agent loop

200K input + 10K output tokens

Gemma 4 26B A4B$0.018Fits in one request
GPT-5.1$0.350Fits in one request

Gemma 4 26B A4B 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 4 26B A4B and GPT-5.1
SpecificationGoogle Gemma 4 26B A4BOpenAI GPT-5.1
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 3, 2026November 13, 2025
Context window262K400K
Input $/Mtok$0.0765$1.25
Output $/Mtok$0.255$10.00
Coding index22.853.3
Independent measurements behind it12
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 22.8 for Gemma 4 26B A4B. Pick Gemma 4 26B A4B when output tokens cost 39.2x less, or when what matters is LMArena WebDev: React or LMArena Vision: homework, where it leads.

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

Gemma 4 26B A4B costs $0.0765 per million input tokens and $0.255 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 4 26B A4B or GPT-5.1?

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

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

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

Compare next