Enter opens the highlighted result. Esc closes.

Gemini 3.6 Flash vs GPT-5.2-Codex

Gemini 3.6 Flash leads GPT-5.2-Codex on coding, 62.5 to 45.4 on the Vibe Coding Index, and Gemini 3.6 Flash costs 3.7x less per output token ($3.75 vs $14.00 per million). Updated October 22, 2026; 15 benchmarks have a result for both.

Gemini 3.6 FlashGoogle
Coding
62.5
Overall
68.3
Output $/M
$3.75
13
GPT-5.2-CodexOpenAI
Coding
45.4
Overall
No data
Output $/M
$14.00
2
vs boards won of 15 shared

Gemini 3.6 Flash or GPT-5.2-Codex: which to pick

Pick Gemini 3.6 Flash for coding: it scores 62.5 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex.

Pick GPT-5.2-Codex for a lower cost per solved task ($0.43 against $1.49) and work measured by ALE-Bench or Long context reasoning (AA-LCR), where it leads.

Shared results
15
Gemini 3.6 Flash only
94
GPT-5.2-Codex only
7
Like-for-like categories
5 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.6 Flash 62.5 from 4 benchmarks, GPT-5.2-Codex 45.4 from 3 benchmarks.
Widest category
Coding, 21.1 points apart on average over 7 shared benchmarks.
Widest single gap
LMArena WebDev: HTML: Gemini 3.6 Flash 1547 against GPT-5.2-Codex 1348, 33.1 points apart on a 0 to 100 scale.
Output price
Gemini 3.6 Flash $3.75 against GPT-5.2-Codex $14.00 per million output tokens, 3.7x apart.
Context window
Gemini 3.6 Flash takes 1.05M tokens, GPT-5.2-Codex 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.6 FlashBarsGPT-5.2-CodexTies
Coding61
Intelligence10
Agentic work40
Reasoning20
General01
All shared boards132
CodingLike-for-likeSix of these boards feed the Vibe Coding Index61
Coding benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2-Codex measured
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LMArena WebDev15381339Gemini 3.6 Flash
AA Coding Index69.2Not measuredOnly Gemini 3.6 Flash measured
LiveCodeBench (Vals AI)88.1%88.0%Gemini 3.6 Flash
SWE-bench Verified (Vals AI)79.6%72.4%Gemini 3.6 Flash
Vibe Code Bench (Vals AI)64.0%37.9%Gemini 3.6 Flash
Code migration (Vals AI)30.9%Not measuredOnly Gemini 3.6 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.6 Flash measured
IOI (Vals AI)35.1%Not measuredOnly Gemini 3.6 Flash measured
Terminal-Bench 2.1 (Vals AI)73.8%Not measuredOnly Gemini 3.6 Flash measured
CyberBench (Vals AI)45.4%Not measuredOnly Gemini 3.6 Flash measured
SciCode53.4%Not measuredOnly Gemini 3.6 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.1%Only GPT-5.2-Codex measured
Terminal-BenchNot measured66.5%Only GPT-5.2-Codex measured
FrontierCode34.4%Not measuredOnly Gemini 3.6 Flash measured
WeirdML56.1%Not measuredOnly Gemini 3.6 Flash measured
ALE-Bench715.51299.9GPT-5.2-Codex
LMArena Text: coding1491Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: software and IT1492Not measuredOnly Gemini 3.6 Flash measured
LMArena WebDev: React15281329Gemini 3.6 Flash
LMArena WebDev: HTML15471348Gemini 3.6 Flash
LMArena WebDev: from an image1545Not measuredOnly Gemini 3.6 Flash measured
SciCode10.8%Not measuredOnly Gemini 3.6 Flash measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
AA Intelligence Index34.028.5Gemini 3.6 Flash
Epoch Capabilities Index154.5Not measuredOnly Gemini 3.6 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
AA Agentic Index29.0Not measuredOnly Gemini 3.6 Flash measured
Design Arena: agents building web apps11971051Gemini 3.6 Flash
Design Arena: agents building full-stack apps1181993Gemini 3.6 Flash
Design Arena: agents building mobile apps11981090Gemini 3.6 Flash
Design Arena: agents building Android apps12041176Gemini 3.6 Flash
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
Design Arena: agents building games1180Not measuredOnly Gemini 3.6 Flash measured
Design Arena: HTML slides1099Not measuredOnly Gemini 3.6 Flash measured
Design Arena: PowerPoint slides1121Not measuredOnly Gemini 3.6 Flash measured
Design Arena: spreadsheets1071Not measuredOnly Gemini 3.6 Flash measured
Finance Agent (Vals AI)56.3%Not measuredOnly Gemini 3.6 Flash measured
Tax Agent Bench (Vals AI)18.0%Not measuredOnly Gemini 3.6 Flash measured
Legal Research Bench (Vals AI)25.0%Not measuredOnly Gemini 3.6 Flash measured
Excel Modeling Benchmark (Vals AI)65.4%Not measuredOnly Gemini 3.6 Flash measured
BioMysteryBench (Vals AI)58.5%Not measuredOnly Gemini 3.6 Flash measured
Terminal-Bench-Science (Vals AI)4.3%Not measuredOnly Gemini 3.6 Flash measured
τ²-Bench TelecomNot measured92.1%Only GPT-5.2-Codex measured
APEX-Agents46.9%Not measuredOnly Gemini 3.6 Flash measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
GPQA Diamond93.4%Not measuredOnly Gemini 3.6 Flash measured
MMMU Pro (Vals AI)88.4%Not measuredOnly Gemini 3.6 Flash measured
GPQA Diamond (Artificial Analysis run)92.8%89.9%Gemini 3.6 Flash
Humanity's Last Exam (Artificial Analysis run)40.8%35.7%Gemini 3.6 Flash
GPQA Diamond (Epoch AI run)94.1%Not measuredOnly Gemini 3.6 Flash measured
ARC-AGI91.2%Not measuredOnly Gemini 3.6 Flash measured
ARC-AGI-260.4%Not measuredOnly Gemini 3.6 Flash measured
Chess puzzles42.0%Not measuredOnly Gemini 3.6 Flash measured
Mystery game puzzles30.0%Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: hard prompts1486Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: expert1490Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: hard prompts in English1484Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: diagrams1314Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: homework1314Not measuredOnly Gemini 3.6 Flash measured
Neither model has a result on the other 8 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
OTIS Mock AIME94.2%Not measuredOnly Gemini 3.6 Flash measured
FrontierMath, tiers 1 to 358.9%Not measuredOnly Gemini 3.6 Flash measured
FrontierMath, tier 422.0%Not measuredOnly Gemini 3.6 Flash measured
ProofBench36.0%Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: math1508Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: mathematical work1492Not measuredOnly Gemini 3.6 Flash measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Knowledge benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
MMLU Pro89.3%Not measuredOnly Gemini 3.6 Flash measured
LegalBench (Vals AI)86.7%Not measuredOnly Gemini 3.6 Flash measured
CorpFin (Vals AI)63.3%Not measuredOnly Gemini 3.6 Flash measured
TaxEval (Vals AI)74.9%Not measuredOnly Gemini 3.6 Flash measured
MortgageTax (Vals AI)67.6%Not measuredOnly Gemini 3.6 Flash measured
MedCode (Vals AI)53.1%Not measuredOnly Gemini 3.6 Flash measured
SimpleQA Verified66.2%Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: science1489Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: medicine and healthcare1469Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: legal and government1479Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: business and finance1464Not measuredOnly Gemini 3.6 Flash measured
FACTS Benchmark Suite65.3%Not measuredOnly Gemini 3.6 Flash measured
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
Design Arena: websites1300Not measuredOnly Gemini 3.6 Flash measured
Design Arena: UI components1294Not measuredOnly Gemini 3.6 Flash measured
Design Arena: game dev1263Not measuredOnly Gemini 3.6 Flash measured
Design Arena: data viz1289Not measuredOnly Gemini 3.6 Flash measured
Design Arena: 3D1271Not measuredOnly Gemini 3.6 Flash measured
Design Arena: all code categories1289Not measuredOnly Gemini 3.6 Flash measured
Design Arena: ASCII art1281Not measuredOnly Gemini 3.6 Flash measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
General benchmarks for Gemini 3.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
Public Benefits Bench (Vals AI)56.6%Not measuredOnly Gemini 3.6 Flash measured
SAGE (Vals AI)48.7%Not measuredOnly Gemini 3.6 Flash measured
MedScribe (Vals AI)79.7%Not measuredOnly Gemini 3.6 Flash measured
Vals Multimodal Index65.1%Not measuredOnly Gemini 3.6 Flash measured
IFBenchNot measured77.6%Only GPT-5.2-Codex measured
Long context reasoning (AA-LCR)80.0%82.3%GPT-5.2-Codex
DTBench95.5%Not measuredOnly Gemini 3.6 Flash measured
LMCA44.9%Not measuredOnly Gemini 3.6 Flash measured
Furniture assembly23.3%Not measuredOnly Gemini 3.6 Flash measured
LMArena Text1480Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: instruction following1467Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: creative writing1466Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision1299Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: English1482Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: non-English1470Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: Chinese1531Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: German1480Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: Japanese1475Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: Korean1429Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: French1503Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: Spanish1476Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: Russian1488Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: Polish1473Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: multi-turn1481Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: longer queries1475Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: writing and language1470Not measuredOnly Gemini 3.6 Flash measured
LMArena Text: entertainment and media1456Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: English1295Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: Chinese1357Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: reading text1312Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: humor1289Not measuredOnly Gemini 3.6 Flash measured
LMArena Vision: creative writing1278Not measuredOnly Gemini 3.6 Flash measured
LMArena Document1456Not measuredOnly Gemini 3.6 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.6 Flash and GPT-5.2-Codex
BenchmarkGemini 3.6 FlashGPT-5.2-CodexLeader
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.6 Flash$0.0026Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

Gemini 3.6 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.6 Flash$0.049Fits in one request
GPT-5.2-Codex$0.130Fits in one request

Gemini 3.6 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.6 Flash$0.188Fits in one request
GPT-5.2-Codex$0.490Fits in one request

Gemini 3.6 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.6 Flash and GPT-5.2-Codex
SpecificationGoogle Gemini 3.6 FlashOpenAI GPT-5.2-Codex
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJuly 21, 2026January 14, 2026
Context window1.05M400K
Input $/Mtok$0.75$1.75
Output $/Mtok$3.75$14.00
Coding index62.545.4
Independent measurements behind it43
Cost per solved task$1.49$0.43
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.6 Flash better than GPT-5.2-Codex for coding?

Pick Gemini 3.6 Flash for coding: it scores 62.5 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex. Pick GPT-5.2-Codex for a lower cost per solved task ($0.43 against $1.49) and work measured by ALE-Bench or Long context reasoning (AA-LCR), where it leads.

Which is cheaper, Gemini 3.6 Flash or GPT-5.2-Codex?

Gemini 3.6 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, Gemini 3.6 Flash costs $1.49 and GPT-5.2-Codex $0.43.

Which has the bigger context window, Gemini 3.6 Flash or GPT-5.2-Codex?

Gemini 3.6 Flash, with 1.05M tokens against 400K.

How many benchmarks is the Gemini 3.6 Flash vs GPT-5.2-Codex comparison based on?

15 benchmarks have a result for both models as of October 22, 2026. Gemini 3.6 Flash's coding index rests on 4 independent benchmarks and GPT-5.2-Codex's on 3. 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-6-flash-vs-gpt-5-2-codex" title="Gemini 3.6 Flash vs GPT-5.2-Codex, 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-6-flash-vs-gpt-5-2-codex">LLMBenchmark.ai, Gemini 3.6 Flash vs GPT-5.2-Codex</a></p>