Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite Preview vs GPT-5.4 Mini

GPT-5.4 Mini leads Gemini 3.1 Flash Lite Preview on coding, 35.8 to 22.7 on the Vibe Coding Index, and Gemini 3.1 Flash Lite Preview costs 3.0x less per output token ($1.50 vs $4.50 per million). Updated October 21, 2026; 64 benchmarks have a result for both.

Gemini 3.1 Flash Lite PreviewGoogle
Coding
22.7
Overall
36.6
Output $/M
$1.50
25
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
38
vs boards won of 64 shared, 1 tied

Gemini 3.1 Flash Lite Preview or GPT-5.4 Mini: which to pick

Pick GPT-5.4 Mini for coding: it scores 35.8 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview.

Pick Gemini 3.1 Flash Lite Preview for output tokens 3.0x cheaper ($1.50 vs $4.50 per million) and a lower cost per solved task ($0.18 against $0.70).

Shared results
64
Gemini 3.1 Flash Lite Preview only
15
GPT-5.4 Mini only
25
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
Gemini 3.1 Flash Lite Preview 22.7 from 3 benchmarks, GPT-5.4 Mini 35.8 from 5 benchmarks.
Widest category
Agentic work, 16.7 points apart on average over 5 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.1 Flash Lite Preview 0.0% against GPT-5.4 Mini 48.0%, 48.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite Preview $1.50 against GPT-5.4 Mini $4.50 per million output tokens, 3.0x apart.
Context window
Gemini 3.1 Flash Lite Preview takes 1.05M tokens, GPT-5.4 Mini 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
CategoryGemini 3.1 Flash Lite PreviewBarsGPT-5.4 MiniTies
Coding0121 tie
Intelligence01
Agentic work05
Reasoning16
Math12
Knowledge72
General1610
All shared boards25381 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index012
Coding benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
LMArena WebDev12571397GPT-5.4 Mini
AA Coding Index34.756.1GPT-5.4 Mini
LiveCodeBench (Vals AI)80.1%81.5%GPT-5.4 Mini
SWE-bench Verified (Vals AI)62.8%73.0%GPT-5.4 Mini
Terminal-Bench 4 (Vals AI)Not measured2.5%Only GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)0.0%48.0%GPT-5.4 Mini
Code migration (Vals AI)4.6%12.9%GPT-5.4 Mini
ProgramBench (Vals AI)0.0%0.0%Tie
Terminal-Bench 2.1 (Vals AI)34.1%54.7%GPT-5.4 Mini
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured52.3%Only GPT-5.4 Mini measured
FrontierCodeNot measured27.0%Only GPT-5.4 Mini measured
WeirdMLNot measured60.3%Only GPT-5.4 Mini measured
ALE-Bench797.71188.6GPT-5.4 Mini
LMArena Text: coding14001438GPT-5.4 Mini
LMArena Text: software and IT14131436GPT-5.4 Mini
LMArena WebDev: React12451386GPT-5.4 Mini
LMArena WebDev: HTML12761419GPT-5.4 Mini
LMArena WebDev: from an image1336Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SciCode4.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
AA Intelligence Index15.624.1GPT-5.4 Mini
Epoch Capabilities IndexNot measured148.7Only GPT-5.4 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
AA Agentic Index1.617.9GPT-5.4 Mini
Finance Agent (Vals AI)30.0%45.4%GPT-5.4 Mini
Tax Agent Bench (Vals AI)3.1%8.8%GPT-5.4 Mini
Legal Research Bench (Vals AI)3.4%12.5%GPT-5.4 Mini
Excel Modeling Benchmark (Vals AI)8.6%45.4%GPT-5.4 Mini
τ²-Bench TelecomNot measured83.3%Only GPT-5.4 Mini measured
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index16
Reasoning benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
GPQA Diamond81.1%83.1%GPT-5.4 Mini
MMMU Pro (Vals AI)82.5%79.3%Gemini 3.1 Flash Lite Preview
GPQA Diamond (Artificial Analysis run)Not measured87.5%Only GPT-5.4 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured28.1%Only GPT-5.4 Mini measured
GPQA Diamond (Epoch AI run)Not measured86.9%Only GPT-5.4 Mini measured
ARC-AGINot measured63.7%Only GPT-5.4 Mini measured
ARC-AGI-2Not measured18.9%Only GPT-5.4 Mini measured
Chess puzzlesNot measured23.0%Only GPT-5.4 Mini measured
Mystery game puzzlesNot measured11.0%Only GPT-5.4 Mini measured
LMArena Text: hard prompts14071424GPT-5.4 Mini
LMArena Text: expert13981435GPT-5.4 Mini
LMArena Text: hard prompts in English14031420GPT-5.4 Mini
LMArena Vision: diagrams12421266GPT-5.4 Mini
LMArena Vision: homework12711285GPT-5.4 Mini
Kagi LLM BenchmarkNot measured37.9%Only GPT-5.4 Mini measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index12
Math benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
AIME83.3%95.6%GPT-5.4 Mini
OTIS Mock AIMENot measured88.9%Only GPT-5.4 Mini measured
FrontierMath, tiers 1 to 3Not measured51.2%Only GPT-5.4 Mini measured
FrontierMath, tier 4Not measured9.8%Only GPT-5.4 Mini measured
ProofBenchNot measured21.0%Only GPT-5.4 Mini measured
LMArena Text: math14281418Gemini 3.1 Flash Lite Preview
LMArena Text: mathematical work14171429GPT-5.4 Mini
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
Knowledge benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
MMLU Pro86.2%84.5%Gemini 3.1 Flash Lite Preview
LegalBench (Vals AI)83.8%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
CaseLaw (Vals AI)55.0%51.7%Gemini 3.1 Flash Lite Preview
CorpFin (Vals AI)59.4%60.9%GPT-5.4 Mini
TaxEval (Vals AI)71.8%71.2%Gemini 3.1 Flash Lite Preview
MortgageTax (Vals AI)68.0%63.5%Gemini 3.1 Flash Lite Preview
MedCode (Vals AI)47.6%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
SimpleQA VerifiedNot measured29.4%Only GPT-5.4 Mini measured
LMArena Text: science14251417Gemini 3.1 Flash Lite Preview
LMArena Text: medicine and healthcare14281395Gemini 3.1 Flash Lite Preview
LMArena Text: legal and government14181414Gemini 3.1 Flash Lite Preview
LMArena Text: business and finance13891418GPT-5.4 Mini
FACTS Benchmark Suite51.4%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
Design Arena: websites1083Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: UI components1072Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: game dev1029Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: data viz1045Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: 3D1048Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: all code categories1072Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: SVG1052Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Design Arena: ASCII art1167Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index1610
General benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
SAGE (Vals AI)49.5%50.8%GPT-5.4 Mini
MedScribe (Vals AI)63.9%Not measuredOnly Gemini 3.1 Flash Lite Preview measured
Vals Multimodal Index41.4%54.2%GPT-5.4 Mini
IFBenchNot measured73.3%Only GPT-5.4 Mini measured
Long context reasoning (AA-LCR)Not measured77.0%Only GPT-5.4 Mini measured
DTBenchNot measured80.0%Only GPT-5.4 Mini measured
LMCANot measured40.8%Only GPT-5.4 Mini measured
LMArena Text14161412Gemini 3.1 Flash Lite Preview
LMArena Text: instruction following13771405GPT-5.4 Mini
LMArena Text: creative writing14011370Gemini 3.1 Flash Lite Preview
LMArena Vision12401245GPT-5.4 Mini
LMArena Text: English14141412Gemini 3.1 Flash Lite Preview
LMArena Text: non-English14101405Gemini 3.1 Flash Lite Preview
LMArena Text: Chinese14601446Gemini 3.1 Flash Lite Preview
LMArena Text: German14301408Gemini 3.1 Flash Lite Preview
LMArena Text: Japanese14131375Gemini 3.1 Flash Lite Preview
LMArena Text: Korean13921370Gemini 3.1 Flash Lite Preview
LMArena Text: French14241441GPT-5.4 Mini
LMArena Text: Spanish14211405Gemini 3.1 Flash Lite Preview
LMArena Text: Russian14201417Gemini 3.1 Flash Lite Preview
LMArena Text: Polish14431415Gemini 3.1 Flash Lite Preview
LMArena Text: multi-turn14171429GPT-5.4 Mini
LMArena Text: longer queries13941408GPT-5.4 Mini
LMArena Text: writing and language14081393Gemini 3.1 Flash Lite Preview
LMArena Text: entertainment and media13861373Gemini 3.1 Flash Lite Preview
LMArena Vision: English12321244GPT-5.4 Mini
LMArena Vision: Chinese12781286GPT-5.4 Mini
LMArena Vision: reading text12461253GPT-5.4 Mini
LMArena Vision: humor12661235Gemini 3.1 Flash Lite Preview
LMArena Vision: captioning1259Not measuredOnly Gemini 3.1 Flash Lite Preview measured
LMArena Vision: recognizing things13081218Gemini 3.1 Flash Lite Preview
LMArena Vision: creative writing12481222Gemini 3.1 Flash Lite Preview
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Flash Lite Preview and GPT-5.4 Mini
BenchmarkGemini 3.1 Flash Lite PreviewGPT-5.4 MiniLeader
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.1 Flash Lite Preview$0.0010Fits in one request
GPT-5.4 Mini$0.0030Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Flash Lite Preview$0.017Fits in one request
GPT-5.4 Mini$0.051Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Flash Lite Preview$0.065Fits in one request
GPT-5.4 Mini$0.195Fits in one request

Gemini 3.1 Flash Lite 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.1 Flash Lite Preview and GPT-5.4 Mini
SpecificationGoogle Gemini 3.1 Flash Lite PreviewOpenAI GPT-5.4 Mini
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 3, 2026March 17, 2026
Context window1.05M400K
Input $/Mtok$0.25$0.75
Output $/Mtok$1.50$4.50
Coding index22.735.8
Independent measurements behind it35
Cost per solved task$0.18$0.70
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Flash Lite Preview better than GPT-5.4 Mini for coding?

Pick GPT-5.4 Mini for coding: it scores 35.8 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview for output tokens 3.0x cheaper ($1.50 vs $4.50 per million) and a lower cost per solved task ($0.18 against $0.70).

Which is cheaper, Gemini 3.1 Flash Lite Preview or GPT-5.4 Mini?

Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, Gemini 3.1 Flash Lite Preview costs $0.18 and GPT-5.4 Mini $0.70.

Which has the bigger context window, Gemini 3.1 Flash Lite Preview or GPT-5.4 Mini?

Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 400K.

How many benchmarks is the Gemini 3.1 Flash Lite Preview vs GPT-5.4 Mini comparison based on?

64 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Flash Lite Preview's coding index rests on 3 independent benchmarks and GPT-5.4 Mini's on 5. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gemini-3-1-flash-lite-preview-vs-gpt-5-4-mini" title="Gemini 3.1 Flash Lite Preview vs GPT-5.4 Mini, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gemini-3-1-flash-lite-preview-vs-gpt-5-4-mini">LLMBenchmark.ai, Gemini 3.1 Flash Lite Preview vs GPT-5.4 Mini</a></p>