Enter opens the highlighted result. Esc closes.

Gemini 3 Flash Preview vs GPT-4.1

Gemini 3 Flash Preview leads GPT-4.1 on the Artificial Analysis Intelligence Index, 26.3 to 12.7, and Gemini 3 Flash Preview costs 2.7x less per output token ($3.00 vs $8.00 per million). Updated October 22, 2026; 43 benchmarks have a result for both.

Gemini 3 Flash PreviewGoogle
Coding
43.7
Overall
55.0
Output $/M
$3.00
41
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
2
vs boards won of 43 shared

Gemini 3 Flash Preview or GPT-4.1: which to pick

Only Gemini 3 Flash Preview has a coding score, 43.7 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.

Pick GPT-4.1 for a lower cost per solved task ($0.37 against $0.37) and work measured by CaseLaw (Vals AI) or TaxEval (Vals AI), where it leads.

Shared results
43
Gemini 3 Flash Preview only
28
GPT-4.1 only
49
Like-for-like categories
8 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
Gemini 3 Flash Preview 43.7 from 2 benchmarks, GPT-4.1 not benchmarked.
Widest category
Math, 48.1 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI: Gemini 3 Flash Preview 84.7% against GPT-4.1 5.5%, 79.2 points apart on a 0 to 100 scale.
Output price
Gemini 3 Flash Preview $3.00 against GPT-4.1 $8.00 per million output tokens, 2.7x apart.
Context window
Gemini 3 Flash Preview takes 1.05M tokens, GPT-4.1 1.05M.

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 Flash PreviewBarsGPT-4.1Ties
Coding70
Intelligence10
Agentic work10
Reasoning90
Math60
Knowledge92
Web design40
General40
All shared boards412
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench Verified75.8%39.6%Gemini 3 Flash Preview
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LiveCodeBench (Vals AI)85.6%54.7%Gemini 3 Flash Preview
SWE-bench Verified (Vals AI)75.0%Not measuredOnly Gemini 3 Flash Preview measured
Vibe Code Bench (Vals AI)20.2%Not measuredOnly Gemini 3 Flash Preview measured
Code migration (Vals AI)6.4%Not measuredOnly Gemini 3 Flash Preview measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3 Flash Preview measured
Terminal-Bench 2.1 (Vals AI)53.9%Not measuredOnly Gemini 3 Flash Preview measured
LiveCodeBench (Artificial Analysis run)90.8%45.7%Gemini 3 Flash Preview
Terminal-Bench Hard (Artificial Analysis run)38.6%13.6%Gemini 3 Flash Preview
Terminal-Bench64.3%Not measuredOnly Gemini 3 Flash Preview measured
GSO-Bench9.8%Not measuredOnly Gemini 3 Flash Preview measured
WeirdML61.6%39.0%Gemini 3 Flash Preview
ALE-Bench1367.2558.1Gemini 3 Flash Preview
LMArena Text: codingNot measured1390Only GPT-4.1 measured
LMArena Text: software and ITNot measured1391Only GPT-4.1 measured
SciCode12.7%4.6%Gemini 3 Flash Preview
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
AA Intelligence Index26.312.7Gemini 3 Flash Preview
Epoch Capabilities IndexNot measured136.7Only GPT-4.1 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
Design Arena: agents building web apps1111Not measuredOnly Gemini 3 Flash Preview measured
Design Arena: agents building full-stack apps1063Not measuredOnly Gemini 3 Flash Preview measured
Design Arena: agents building mobile apps1090Not measuredOnly Gemini 3 Flash Preview measured
Design Arena: agents building Android apps1051Not measuredOnly Gemini 3 Flash Preview measured
Design Arena: agents building Godot games1161Not measuredOnly Gemini 3 Flash Preview measured
Design Arena: PowerPoint slides1036Not measuredOnly Gemini 3 Flash Preview measured
Finance Agent (Vals AI)42.5%Not measuredOnly Gemini 3 Flash Preview measured
Tax Agent Bench (Vals AI)11.8%Not measuredOnly Gemini 3 Flash Preview measured
Legal Research Bench (Vals AI)18.3%Not measuredOnly Gemini 3 Flash Preview measured
Excel Modeling Benchmark (Vals AI)26.0%Not measuredOnly Gemini 3 Flash Preview measured
τ²-Bench Telecom80.4%47.1%Gemini 3 Flash Preview
BALROG48.1%Not measuredOnly Gemini 3 Flash Preview measured
DeepResearch Bench49.8%Not measuredOnly Gemini 3 Flash Preview measured
Vending-Bench 2$3,635Not measuredOnly Gemini 3 Flash Preview measured
Berkeley Function Calling Leaderboard (BFCL)Not measured54.0%Only GPT-4.1 measured
BrowseComp-PlusNot measured36.4%Only GPT-4.1 measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
Reasoning benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
GPQA Diamond87.9%65.4%Gemini 3 Flash Preview
MMMU Pro (Vals AI)87.6%72.4%Gemini 3 Flash Preview
GPQA Diamond (Artificial Analysis run)89.8%66.6%Gemini 3 Flash Preview
Humanity's Last Exam (Artificial Analysis run)36.6%4.2%Gemini 3 Flash Preview
GPQA Diamond (Epoch AI run)89.4%66.9%Gemini 3 Flash Preview
ARC-AGI84.7%5.5%Gemini 3 Flash Preview
ARC-AGI-233.6%0.4%Gemini 3 Flash Preview
SimpleBench61.1%27.0%Gemini 3 Flash Preview
Chess puzzles39.0%3.0%Gemini 3 Flash Preview
Mystery game puzzles26.0%Not measuredOnly Gemini 3 Flash Preview measured
VPCT72.6%Not measuredOnly Gemini 3 Flash Preview measured
LMArena Text: hard promptsNot measured1384Only GPT-4.1 measured
LMArena Text: expertNot measured1364Only GPT-4.1 measured
LMArena Text: hard prompts in EnglishNot measured1393Only GPT-4.1 measured
LMArena Vision: diagramsNot measured1215Only GPT-4.1 measured
LMArena Vision: homeworkNot measured1248Only GPT-4.1 measured
Kagi LLM BenchmarkNot measured52.3%Only GPT-4.1 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
AIME95.6%39.6%Gemini 3 Flash Preview
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)93.3%87.7%Gemini 3 Flash Preview
AA Math Index97.034.7Gemini 3 Flash Preview
AIME 2025 (Artificial Analysis run)97.0%34.7%Gemini 3 Flash Preview
OTIS Mock AIME95.6%38.3%Gemini 3 Flash Preview
FrontierMath, tiers 1 to 351.2%6.0%Gemini 3 Flash Preview
FrontierMath, tier 417.1%Not measuredOnly Gemini 3 Flash Preview measured
ProofBench15.0%Not measuredOnly Gemini 3 Flash Preview measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: mathNot measured1369Only GPT-4.1 measured
LMArena Text: mathematical workNot measured1360Only GPT-4.1 measured
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index92
Knowledge benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
MMLU Pro88.6%80.5%Gemini 3 Flash Preview
LegalBench (Vals AI)86.9%83.1%Gemini 3 Flash Preview
CaseLaw (Vals AI)55.8%69.9%GPT-4.1
CorpFin (Vals AI)66.4%63.0%Gemini 3 Flash Preview
TaxEval (Vals AI)73.9%75.1%GPT-4.1
MortgageTax (Vals AI)68.7%65.9%Gemini 3 Flash Preview
MedQA (Vals AI)95.8%91.2%Gemini 3 Flash Preview
MedCode (Vals AI)55.9%Not measuredOnly Gemini 3 Flash Preview measured
MMLU Pro (Artificial Analysis run)89.0%80.6%Gemini 3 Flash Preview
SimpleQA Verified66.8%31.1%Gemini 3 Flash Preview
GeoBench88.0%72.0%Gemini 3 Flash Preview
LMArena Text: scienceNot measured1382Only GPT-4.1 measured
LMArena Text: medicine and healthcareNot measured1379Only GPT-4.1 measured
LMArena Text: legal and governmentNot measured1399Only GPT-4.1 measured
LMArena Text: business and financeNot measured1369Only GPT-4.1 measured
FACTS Benchmark Suite63.4%45.8%Gemini 3 Flash Preview
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index40
Web design benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
Design Arena: websites11961038Gemini 3 Flash Preview
Design Arena: UI componentsNot measured997Only GPT-4.1 measured
Design Arena: game dev11661079Gemini 3 Flash Preview
Design Arena: data vizNot measured1104Only GPT-4.1 measured
Design Arena: 3D1183849Gemini 3 Flash Preview
Design Arena: all code categories11891025Gemini 3 Flash Preview
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index40
General benchmarks for Gemini 3 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.1Leader
SAGE (Vals AI)51.8%Not measuredOnly Gemini 3 Flash Preview measured
MedScribe (Vals AI)69.9%Not measuredOnly Gemini 3 Flash Preview measured
Vals Multimodal Index52.2%Not measuredOnly Gemini 3 Flash Preview measured
IFBench78.0%43.0%Gemini 3 Flash Preview
Long context reasoning (AA-LCR)78.0%68.3%Gemini 3 Flash Preview
DTBench89.1%68.3%Gemini 3 Flash Preview
LMCA43.1%25.6%Gemini 3 Flash Preview
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
LMArena TextNot measured1383Only GPT-4.1 measured
LMArena Text: instruction followingNot measured1367Only GPT-4.1 measured
LMArena Text: creative writingNot measured1363Only GPT-4.1 measured
LMArena VisionNot measured1210Only GPT-4.1 measured
LMArena Text: EnglishNot measured1392Only GPT-4.1 measured
LMArena Text: non-EnglishNot measured1370Only GPT-4.1 measured
LMArena Text: ChineseNot measured1382Only GPT-4.1 measured
LMArena Text: GermanNot measured1381Only GPT-4.1 measured
LMArena Text: JapaneseNot measured1319Only GPT-4.1 measured
LMArena Text: KoreanNot measured1338Only GPT-4.1 measured
LMArena Text: FrenchNot measured1382Only GPT-4.1 measured
LMArena Text: SpanishNot measured1376Only GPT-4.1 measured
LMArena Text: RussianNot measured1377Only GPT-4.1 measured
LMArena Text: PolishNot measured1389Only GPT-4.1 measured
LMArena Text: multi-turnNot measured1397Only GPT-4.1 measured
LMArena Text: longer queriesNot measured1385Only GPT-4.1 measured
LMArena Text: writing and languageNot measured1371Only GPT-4.1 measured
LMArena Text: entertainment and mediaNot measured1365Only GPT-4.1 measured
LMArena Vision: EnglishNot measured1209Only GPT-4.1 measured
LMArena Vision: ChineseNot measured1226Only GPT-4.1 measured
LMArena Vision: reading textNot measured1218Only GPT-4.1 measured
LMArena Vision: humorNot measured1196Only GPT-4.1 measured
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writingNot measured1210Only GPT-4.1 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 Flash Preview and GPT-4.1
BenchmarkGemini 3 Flash PreviewGPT-4.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

Gemini 3 Flash Preview$0.0020Fits in one request
GPT-4.1$0.0060Fits in one request

Gemini 3 Flash Preview costs less

Repository review

50K input + 3K output tokens

Gemini 3 Flash Preview$0.034Fits in one request
GPT-4.1$0.124Fits in one request

Gemini 3 Flash Preview costs less

Agent loop

200K input + 10K output tokens

Gemini 3 Flash Preview$0.130Fits in one request
GPT-4.1$0.480Fits in one request

Gemini 3 Flash Preview 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 Flash Preview and GPT-4.1
SpecificationGoogle Gemini 3 Flash PreviewOpenAI GPT-4.1
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedDecember 17, 2025April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.50$2.00
Output $/Mtok$3.00$8.00
Coding index43.7Not benchmarked
Independent measurements behind it20
Cost per solved task$0.37$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3 Flash Preview better than GPT-4.1 for coding?

Only Gemini 3 Flash Preview has a coding score, 43.7 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a lower cost per solved task ($0.37 against $0.37) and work measured by CaseLaw (Vals AI) or TaxEval (Vals AI), where it leads.

Which is cheaper, Gemini 3 Flash Preview or GPT-4.1?

Gemini 3 Flash Preview costs $0.50 per million input tokens and $3.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Gemini 3 Flash Preview costs $0.37 and GPT-4.1 $0.37.

Which has the bigger context window, Gemini 3 Flash Preview or GPT-4.1?

Gemini 3 Flash Preview, with 1.05M tokens against 1.05M.

How many benchmarks is the Gemini 3 Flash Preview vs GPT-4.1 comparison based on?

43 benchmarks have a result for both models as of October 22, 2026. Gemini 3 Flash Preview's coding index rests on 2 independent benchmarks and GPT-4.1's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next