LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs GPT-4

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

Gemini 3.7 FlashGoogle
Coding
69.9
Overall
39.6
Output $/M
$3.75
34
GPT-4OpenAI
Coding
22.4
Overall
6.7
Output $/M
$60.00
0
vs boards won of 34 shared

Decision reading

Pick Gemini 3.7 Flash for coding: it scores 69.9 on the Vibe Coding Index against 22.4 for GPT-4.

GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
34
Gemini 3.7 Flash only
78
GPT-4 only
11
Like-for-like categories
6 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
Gemini 3.7 Flash 69.9 from 2 benchmarks, GPT-4 22.4 from 1 benchmark.
Widest category
Knowledge, 55.1 points apart on average over 4 shared benchmarks.
Widest single gap
LMArena Text: Korean: Gemini 3.7 Flash 1481 against GPT-4 1087, 65.7 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against GPT-4 $60.00 per million output tokens, 16.0x apart.
Context window
Gemini 3.7 Flash takes 1.05M tokens, GPT-4 8K.

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 3.7 FlashBarsGPT-4Ties
Coding30
Intelligence20
Reasoning40
Math20
Knowledge40
General190
All shared boards340
CodingLike-for-likeFour of these boards feed the Vibe Coding Index30
Coding benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
SWE-bench VerifiedNot measured22.4%Only GPT-4 measured
SWE-bench LiteNot measured39.7%Only GPT-4 measured
SWE-bench (full test set)Not measured12.5%Only GPT-4 measured
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev1591Not measuredOnly Gemini 3.7 Flash measured
AA Coding Index71.513.1Gemini 3.7 Flash
LiveCodeBench (Vals AI)88.7%Not measuredOnly Gemini 3.7 Flash measured
SWE-bench Verified (Vals AI)80.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 4 (Vals AI)12.1%Not measuredOnly Gemini 3.7 Flash measured
Vibe Code Bench (Vals AI)70.4%Not measuredOnly Gemini 3.7 Flash measured
Code migration (Vals AI)34.8%Not measuredOnly Gemini 3.7 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.7 Flash measured
IOI (Vals AI)67.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)77.5%Not measuredOnly Gemini 3.7 Flash measured
SkillsBench (Vals AI)65.9%Not measuredOnly Gemini 3.7 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.7 Flash measured
SciCode59.8%Not measuredOnly Gemini 3.7 Flash measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
ALE-Bench904.3Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: coding14991209Gemini 3.7 Flash
LMArena Text: software and IT14981195Gemini 3.7 Flash
LMArena WebDev: React1587Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: HTML1593Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: from an image1599Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
AA Intelligence Index39.66.7Gemini 3.7 Flash
Epoch Capabilities Index158.0125.7Gemini 3.7 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index18 boards, none shared
Agentic work benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
Design Arena: agents building web apps1224Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building full-stack apps1208Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building mobile apps1230Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building Android apps1247Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building Godot games1264Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building games1235Not measuredOnly Gemini 3.7 Flash measured
Design Arena: spreadsheets1028Not measuredOnly Gemini 3.7 Flash measured
LiveBench research76.5%Not measuredOnly Gemini 3.7 Flash measured
LiveBench browser56.0%Not measuredOnly Gemini 3.7 Flash measured
LiveBench long agentic28.3%Not measuredOnly Gemini 3.7 Flash measured
SREBench (Vals AI)4.6%Not measuredOnly Gemini 3.7 Flash measured
Finance Agent (Vals AI)59.0%Not measuredOnly Gemini 3.7 Flash measured
Tax Agent Bench (Vals AI)22.8%Not measuredOnly Gemini 3.7 Flash measured
Legal Research Bench (Vals AI)34.6%Not measuredOnly Gemini 3.7 Flash measured
Excel Modeling Benchmark (Vals AI)71.3%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench-Science (Vals AI)7.1%Not measuredOnly Gemini 3.7 Flash measured
APEX-Agents67.8%Not measuredOnly Gemini 3.7 Flash measured
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
GPQA Diamond93.9%Not measuredOnly Gemini 3.7 Flash measured
LiveBench reasoning87.8%Not measuredOnly Gemini 3.7 Flash measured
MMMU Pro (Vals AI)89.0%Not measuredOnly Gemini 3.7 Flash measured
GPQA Diamond (Artificial Analysis run)94.5%34.9%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%Not measuredOnly Gemini 3.7 Flash measured
GPQA Diamond (Epoch AI run)94.8%Not measuredOnly Gemini 3.7 Flash measured
ARC-AGI95.5%Not measuredOnly Gemini 3.7 Flash measured
ARC-AGI-284.6%Not measuredOnly Gemini 3.7 Flash measured
Chess puzzles66.0%Not measuredOnly Gemini 3.7 Flash measured
Mystery game puzzles37.0%Not measuredOnly Gemini 3.7 Flash measured
BIG-Bench HardNot measured75.1%Only GPT-4 measured
LMArena Text: hard prompts14951200Gemini 3.7 Flash
LMArena Text: expert15121149Gemini 3.7 Flash
LMArena Text: hard prompts in English14871209Gemini 3.7 Flash
LMArena Vision: diagrams1329Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: homework1320Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
OTIS Mock AIME97.2%Not measuredOnly Gemini 3.7 Flash measured
FrontierMath, tiers 1 to 371.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierMath, tier 436.6%Not measuredOnly Gemini 3.7 Flash measured
ProofBench58.0%Not measuredOnly Gemini 3.7 Flash measured
GSM8KNot measured92.0%Only GPT-4 measured
LMArena Text: math15111230Gemini 3.7 Flash
LMArena Text: mathematical work15021228Gemini 3.7 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
MMLU Pro90.1%Not measuredOnly Gemini 3.7 Flash measured
LegalBench (Vals AI)87.3%Not measuredOnly Gemini 3.7 Flash measured
TaxEval (Vals AI)74.7%Not measuredOnly Gemini 3.7 Flash measured
MortgageTax (Vals AI)66.7%Not measuredOnly Gemini 3.7 Flash measured
MedCode (Vals AI)53.4%Not measuredOnly Gemini 3.7 Flash measured
MMLU Pro (Artificial Analysis run)Not measured56.2%Only GPT-4 measured
SimpleQA Verified69.2%Not measuredOnly Gemini 3.7 Flash measured
MMLUNot measured86.4%Only GPT-4 measured
AI2 Reasoning ChallengeNot measured96.3%Only GPT-4 measured
LMArena Text: science15111177Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941145Gemini 3.7 Flash
LMArena Text: legal and government14961191Gemini 3.7 Flash
LMArena Text: business and finance14791145Gemini 3.7 Flash
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
Design Arena: websites1304Not measuredOnly Gemini 3.7 Flash measured
Design Arena: UI components1299Not measuredOnly Gemini 3.7 Flash measured
Design Arena: game dev1318Not measuredOnly Gemini 3.7 Flash measured
Design Arena: data viz1315Not measuredOnly Gemini 3.7 Flash measured
Design Arena: 3D1308Not measuredOnly Gemini 3.7 Flash measured
Design Arena: all code categories1308Not measuredOnly Gemini 3.7 Flash measured
Design Arena: SVG1283Not measuredOnly Gemini 3.7 Flash measured
Design Arena: ASCII art1276Not measuredOnly Gemini 3.7 Flash measured
LiveBench design73.2%Not measuredOnly Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
LiveBench data analysis68.0%Not measuredOnly Gemini 3.7 Flash measured
SAGE (Vals AI)49.2%Not measuredOnly Gemini 3.7 Flash measured
MedScribe (Vals AI)83.9%Not measuredOnly Gemini 3.7 Flash measured
IFBenchNot measured33.2%Only GPT-4 measured
Long context reasoning (AA-LCR)83.0%Not measuredOnly Gemini 3.7 Flash measured
DTBench96.8%62.7%Gemini 3.7 Flash
LMCA50.4%17.1%Gemini 3.7 Flash
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
HellaSwagNot measured95.3%Only GPT-4 measured
WinoGrandeNot measured87.5%Only GPT-4 measured
LMArena Text14891206Gemini 3.7 Flash
LMArena Text: instruction following14841201Gemini 3.7 Flash
LMArena Text: creative writing14881191Gemini 3.7 Flash
LMArena Vision1314Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: English14831220Gemini 3.7 Flash
LMArena Text: non-English14871194Gemini 3.7 Flash
LMArena Text: Chinese15521184Gemini 3.7 Flash
LMArena Text: German15061198Gemini 3.7 Flash
LMArena Text: Japanese15111137Gemini 3.7 Flash
LMArena Text: Korean14811087Gemini 3.7 Flash
LMArena Text: French15001220Gemini 3.7 Flash
LMArena Text: Spanish14951197Gemini 3.7 Flash
LMArena Text: Russian15151195Gemini 3.7 Flash
LMArena Text: Polish15031265Gemini 3.7 Flash
LMArena Text: multi-turn14851206Gemini 3.7 Flash
LMArena Text: longer queries14921190Gemini 3.7 Flash
LMArena Text: writing and language14911219Gemini 3.7 Flash
LMArena Text: entertainment and media14771184Gemini 3.7 Flash
LMArena Vision: English1309Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: Chinese1394Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: reading text1322Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: humor1299Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: creative writing1312Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.7 Flash and GPT-4
BenchmarkGemini 3.7 FlashGPT-4Leader
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 3.7 Flash$0.0026Fits in one request
GPT-4$0.060Fits in one request

Gemini 3.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.7 Flash$0.049Fits in one request
GPT-4$1.68Exceeds the context window

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
GPT-4$6.60Exceeds the context window

Gemini 3.7 Flash 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 3.7 Flash and GPT-4
SpecificationGoogle Gemini 3.7 FlashOpenAI GPT-4
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 13, 2026May 28, 2023
Context window1.05M8K
Input $/Mtok$0.75$30.00
Output $/Mtok$3.75$60.00
Coding index69.922.4
Independent measurements behind it21
Cost per solved task$1.78Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.7 Flash better than GPT-4 for coding?

Pick Gemini 3.7 Flash for coding: it scores 69.9 on the Vibe Coding Index against 22.4 for GPT-4. GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, Gemini 3.7 Flash or GPT-4?

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GPT-4 costs $30.00 and $60.00. Cost per solved task is known for Gemini 3.7 Flash only.

Which has the bigger context window, Gemini 3.7 Flash or GPT-4?

Gemini 3.7 Flash, with 1.05M tokens against 8K.

How many benchmarks is the Gemini 3.7 Flash vs GPT-4 comparison based on?

34 benchmarks have a result for both models as of October 21, 2026. Gemini 3.7 Flash's coding index rests on 2 independent benchmarks and GPT-4's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next