LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.8 Flash vs o4 Mini

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

Gemini 3.8 FlashGoogle
Coding
70.5
Overall
40.9
Output $/M
$4.125
67
o4 MiniOpenAI
Coding
68.6
Overall
16.7
Output $/M
$4.40
2
vs boards won of 69 shared

Decision reading

Gemini 3.8 Flash and o4 Mini are level for coding, 70.5 against 68.6 on the Vibe Coding Index, so price and context decide.

Pick o4 Mini when what matters is TaxEval (Vals AI) or SAGE (Vals AI), where it leads. Pick Gemini 3.8 Flash when output tokens cost 1.1x less, or when the context window is larger, 1.05M against 200K tokens.

Shared results
69
Gemini 3.8 Flash only
57
o4 Mini only
25
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
Gemini 3.8 Flash 70.5 from 2 benchmarks, o4 Mini 68.6 from 2 benchmarks.
Widest category
Web design, 41.6 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI-2: Gemini 3.8 Flash 89.2% against o4 Mini 6.1%, 83.1 points apart on a 0 to 100 scale.
Output price
Gemini 3.8 Flash $4.125 against o4 Mini $4.40 per million output tokens, 1.1x apart.
Context window
Gemini 3.8 Flash takes 1.05M tokens, o4 Mini 200K.

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.8 FlashBarso4 MiniTies
Coding40
Intelligence20
Reasoning140
Math50
Knowledge91
Web design60
General271
All shared boards672
CodingLike-for-likeFour of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench VerifiedNot measured64.6%Only o4 Mini measured
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
LiveBench coding82.2%Not measuredOnly Gemini 3.8 Flash measured
LMArena WebDev1585Not measuredOnly Gemini 3.8 Flash measured
AA Coding Index76.3Not measuredOnly Gemini 3.8 Flash measured
LiveCodeBench (Vals AI)89.5%82.2%Gemini 3.8 Flash
SWE-bench Verified (Vals AI)80.0%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench 4 (Vals AI)19.7%Not measuredOnly Gemini 3.8 Flash measured
Vibe Code Bench (Vals AI)78.7%Not measuredOnly Gemini 3.8 Flash measured
Code migration (Vals AI)36.5%Not measuredOnly Gemini 3.8 Flash measured
ProgramBench (Vals AI)1.0%Not measuredOnly Gemini 3.8 Flash measured
IOI (Vals AI)56.9%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench 2.1 (Vals AI)81.3%Not measuredOnly Gemini 3.8 Flash measured
SWE-bench Multimodal (Vals AI)40.8%Not measuredOnly Gemini 3.8 Flash measured
Vibe Code Bench 1-100 (Vals AI)18.8%Not measuredOnly Gemini 3.8 Flash measured
SkillsBench (Vals AI)58.0%Not measuredOnly Gemini 3.8 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.8 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured85.9%Only o4 Mini measured
SciCode56.6%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured15.2%Only o4 Mini measured
FrontierCode41.2%Not measuredOnly Gemini 3.8 Flash measured
FrontierSWE19.6%Not measuredOnly Gemini 3.8 Flash measured
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdML84.8%52.6%Gemini 3.8 Flash
ALE-Bench1269.7Not measuredOnly Gemini 3.8 Flash measured
LMArena Text: coding15081368Gemini 3.8 Flash
LMArena Text: software and IT15071367Gemini 3.8 Flash
LMArena WebDev: React1577Not measuredOnly Gemini 3.8 Flash measured
LMArena WebDev: HTML1616Not measuredOnly Gemini 3.8 Flash measured
LMArena WebDev: from an image1593Not measuredOnly Gemini 3.8 Flash measured
Neither model has a result on the other 7 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
AA Intelligence Index40.916.7Gemini 3.8 Flash
Epoch Capabilities Index157.4145.5Gemini 3.8 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index27 boards, none shared
Agentic work benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
AA Agentic Index40.2Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building web apps1238Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building full-stack apps1244Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building mobile apps1236Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building Android apps1078Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building Godot games1273Not measuredOnly Gemini 3.8 Flash measured
Design Arena: PowerPoint slides1178Not measuredOnly Gemini 3.8 Flash measured
Design Arena: spreadsheets1052Not measuredOnly Gemini 3.8 Flash measured
LiveBench research79.1%Not measuredOnly Gemini 3.8 Flash measured
LiveBench browser64.0%Not measuredOnly Gemini 3.8 Flash measured
LiveBench long agentic30.1%Not measuredOnly Gemini 3.8 Flash measured
SREBench (Vals AI)11.1%Not measuredOnly Gemini 3.8 Flash measured
Finance Agent (Vals AI)61.4%Not measuredOnly Gemini 3.8 Flash measured
Tax Agent Bench (Vals AI)32.1%Not measuredOnly Gemini 3.8 Flash measured
Legal Research Bench (Vals AI)38.9%Not measuredOnly Gemini 3.8 Flash measured
Harvey's Legal Agent Benchmark (Vals AI)12.1%Not measuredOnly Gemini 3.8 Flash measured
Excel Modeling Benchmark (Vals AI)72.2%Not measuredOnly Gemini 3.8 Flash measured
BioMysteryBench (Vals AI)62.2%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench-Science (Vals AI)8.6%Not measuredOnly Gemini 3.8 Flash measured
Vals Science Index35.8%Not measuredOnly Gemini 3.8 Flash measured
Time Horizon Index (Vals AI)18.8%Not measuredOnly Gemini 3.8 Flash measured
CUA-bench (Vals AI)4.2%Not measuredOnly Gemini 3.8 Flash measured
τ²-Bench TelecomNot measured55.6%Only o4 Mini measured
APEX-Agents64.3%Not measuredOnly Gemini 3.8 Flash measured
METR time horizonsNot measured63.9%Only o4 Mini measured
Remote Labor Index5.8%Not measuredOnly Gemini 3.8 Flash measured
Vending-Bench 2$5,094Not measuredOnly Gemini 3.8 Flash measured
Neither model has a result on the other 12 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index140
Reasoning benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
GPQA Diamond94.4%74.5%Gemini 3.8 Flash
LiveBench reasoning89.3%Not measuredOnly Gemini 3.8 Flash measured
MysteryMechanism (Vals AI)36.5%Not measuredOnly Gemini 3.8 Flash measured
MMMU Pro (Vals AI)89.1%79.7%Gemini 3.8 Flash
GPQA Diamond (Artificial Analysis run)95.3%78.4%Gemini 3.8 Flash
Humanity's Last Exam (Artificial Analysis run)47.8%16.5%Gemini 3.8 Flash
GPQA Diamond (Epoch AI run)95.4%79.6%Gemini 3.8 Flash
ARC-AGI98.5%58.7%Gemini 3.8 Flash
ARC-AGI-289.2%6.1%Gemini 3.8 Flash
SimpleBenchNot measured38.7%Only o4 Mini measured
Chess puzzles58.0%22.0%Gemini 3.8 Flash
Mystery game puzzles47.0%5.0%Gemini 3.8 Flash
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts15091351Gemini 3.8 Flash
LMArena Text: expert15261343Gemini 3.8 Flash
LMArena Text: hard prompts in English15041366Gemini 3.8 Flash
LMArena Vision: diagrams13451197Gemini 3.8 Flash
LMArena Vision: homework13511234Gemini 3.8 Flash
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
AIMENot measured83.7%Only o4 Mini measured
MATH 500 (Vals AI)Not measured94.2%Only o4 Mini measured
MGSM (Vals AI)Not measured93.4%Only o4 Mini measured
AA Math IndexNot measured90.7Only o4 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only o4 Mini measured
OTIS Mock AIME98.9%81.7%Gemini 3.8 Flash
FrontierMath, tiers 1 to 368.4%36.1%Gemini 3.8 Flash
FrontierMath, tier 422.0%4.9%Gemini 3.8 Flash
ProofBench48.0%Not measuredOnly Gemini 3.8 Flash measured
MATH level 5Not measured97.8%Only o4 Mini measured
LMArena Text: math15321389Gemini 3.8 Flash
LMArena Text: mathematical work15191379Gemini 3.8 Flash
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index91
Knowledge benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
MMLU Pro90.2%80.6%Gemini 3.8 Flash
LegalBench (Vals AI)87.0%79.2%Gemini 3.8 Flash
CorpFin (Vals AI)Not measured59.0%Only o4 Mini measured
TaxEval (Vals AI)74.5%74.8%o4 Mini
MortgageTax (Vals AI)65.3%64.8%Gemini 3.8 Flash
MedQA (Vals AI)Not measured96.0%Only o4 Mini measured
MedCode (Vals AI)48.1%33.8%Gemini 3.8 Flash
MMLU Pro (Artificial Analysis run)Not measured83.2%Only o4 Mini measured
SimpleQA Verified69.7%19.6%Gemini 3.8 Flash
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science15231354Gemini 3.8 Flash
LMArena Text: medicine and healthcare15081361Gemini 3.8 Flash
LMArena Text: legal and government14971350Gemini 3.8 Flash
LMArena Text: business and finance14791325Gemini 3.8 Flash
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
Design Arena: websites1301985Gemini 3.8 Flash
Design Arena: UI components1318983Gemini 3.8 Flash
Design Arena: game dev13051004Gemini 3.8 Flash
Design Arena: data viz1269990Gemini 3.8 Flash
Design Arena: 3D1295854Gemini 3.8 Flash
Design Arena: all code categories1304977Gemini 3.8 Flash
Design Arena: SVG1295Not measuredOnly Gemini 3.8 Flash measured
Design Arena: ASCII art1264Not measuredOnly Gemini 3.8 Flash measured
LiveBench design72.7%Not measuredOnly Gemini 3.8 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index271
General benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 MiniLeader
Vals Index56.0%Not measuredOnly Gemini 3.8 Flash measured
LiveBench data analysis54.0%Not measuredOnly Gemini 3.8 Flash measured
Public Benefits Bench (Vals AI)65.3%Not measuredOnly Gemini 3.8 Flash measured
SAGE (Vals AI)35.1%41.1%o4 Mini
MedScribe (Vals AI)84.5%69.1%Gemini 3.8 Flash
IFBenchNot measured68.7%Only o4 Mini measured
Long context reasoning (AA-LCR)84.0%61.0%Gemini 3.8 Flash
DTBench95.7%77.6%Gemini 3.8 Flash
LMCA52.9%26.5%Gemini 3.8 Flash
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
Surface Evolver Bench76.9%Not measuredOnly Gemini 3.8 Flash measured
Furniture assembly31.7%Not measuredOnly Gemini 3.8 Flash measured
LMArena Text14991353Gemini 3.8 Flash
LMArena Text: instruction following14921320Gemini 3.8 Flash
LMArena Text: creative writing14881294Gemini 3.8 Flash
LMArena Vision13151194Gemini 3.8 Flash
LMArena Text: English14981367Gemini 3.8 Flash
LMArena Text: non-English14911337Gemini 3.8 Flash
LMArena Text: Chinese15531354Gemini 3.8 Flash
LMArena Text: German15011336Gemini 3.8 Flash
LMArena Text: Japanese15071308Gemini 3.8 Flash
LMArena Text: Korean14641312Gemini 3.8 Flash
LMArena Text: French14961364Gemini 3.8 Flash
LMArena Text: Spanish14871346Gemini 3.8 Flash
LMArena Text: Russian15141334Gemini 3.8 Flash
LMArena Text: Polish14971358Gemini 3.8 Flash
LMArena Text: multi-turn15031350Gemini 3.8 Flash
LMArena Text: longer queries15071315Gemini 3.8 Flash
LMArena Text: writing and language14941316Gemini 3.8 Flash
LMArena Text: entertainment and media14801308Gemini 3.8 Flash
LMArena Vision: English13181200Gemini 3.8 Flash
LMArena Vision: Chinese14161218Gemini 3.8 Flash
LMArena Vision: reading text13331197Gemini 3.8 Flash
LMArena Vision: humor13211199Gemini 3.8 Flash
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only o4 Mini measured
LMArena Vision: creative writing12991166Gemini 3.8 Flash
Neither model has a result on the other 8 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.8 Flash and o4 Mini
BenchmarkGemini 3.8 Flasho4 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.8 Flash$0.0029Fits in one request
o4 Mini$0.0033Fits in one request

Gemini 3.8 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.8 Flash$0.054Fits in one request
o4 Mini$0.068Fits in one request

Gemini 3.8 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.8 Flash$0.206Fits in one request
o4 Mini$0.264Exceeds the context window

Gemini 3.8 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.8 Flash and o4 Mini
SpecificationGoogle Gemini 3.8 FlashOpenAI o4 Mini
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 2, 2026April 16, 2025
Context window1.05M200K
Input $/Mtok$0.825$1.10
Output $/Mtok$4.125$4.40
Coding index70.568.6
Independent measurements behind it22
Cost per solved task$2.74Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.8 Flash better than o4 Mini for coding?

Gemini 3.8 Flash and o4 Mini are level for coding, 70.5 against 68.6 on the Vibe Coding Index, so price and context decide. Pick o4 Mini when what matters is TaxEval (Vals AI) or SAGE (Vals AI), where it leads. Pick Gemini 3.8 Flash when output tokens cost 1.1x less, or when the context window is larger, 1.05M against 200K tokens.

Which is cheaper, Gemini 3.8 Flash or o4 Mini?

Gemini 3.8 Flash costs $0.825 per million input tokens and $4.125 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for Gemini 3.8 Flash only.

Which has the bigger context window, Gemini 3.8 Flash or o4 Mini?

Gemini 3.8 Flash, with 1.05M tokens against 200K.

How many benchmarks is the Gemini 3.8 Flash vs o4 Mini comparison based on?

69 benchmarks have a result for both models as of October 21, 2026. Gemini 3.8 Flash's coding index rests on 2 independent benchmarks and o4 Mini's on 2. 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-8-flash-vs-o4-mini" title="Gemini 3.8 Flash vs o4 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-8-flash-vs-o4-mini">LLMBenchmark.ai, Gemini 3.8 Flash vs o4 Mini</a></p>