LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GPT-5.2-Codex

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

Gemini 2.5 FlashGoogle
Coding
28.7
Overall
15.5
Output $/M
$2.50
0
GPT-5.2-CodexOpenAI
Coding
55.1
Overall
28.5
Output $/M
$14.00
9
vs boards won of 9 shared

Decision reading

Pick GPT-5.2-Codex for coding: it scores 55.1 on the Vibe Coding Index against 28.7 for Gemini 2.5 Flash.

Pick Gemini 2.5 Flash when output tokens cost 5.6x less, or when the context window is larger, 1.05M against 400K tokens.

Shared results
9
Gemini 2.5 Flash only
60
GPT-5.2-Codex only
13
Like-for-like categories
5 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 2.5 Flash 28.7 from 1 benchmark, GPT-5.2-Codex 55.1 from 2 benchmarks.
Widest category
Agentic work, 60.5 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemini 2.5 Flash 31.6% against GPT-5.2-Codex 92.1%, 60.5 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GPT-5.2-Codex $14.00 per million output tokens, 5.6x apart.
Context window
Gemini 2.5 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 2.5 FlashBarsGPT-5.2-CodexTies
Coding03
Intelligence01
Agentic work01
Reasoning02
General02
All shared boards09
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
SWE-bench Verified28.7%72.8%GPT-5.2-Codex
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LMArena WebDevNot measured1339Only GPT-5.2-Codex measured
LiveCodeBench (Vals AI)Not measured88.0%Only GPT-5.2-Codex measured
SWE-bench Verified (Vals AI)Not measured72.4%Only GPT-5.2-Codex measured
Vibe Code Bench (Vals AI)Not measured37.9%Only GPT-5.2-Codex measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly Gemini 2.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)13.6%37.1%GPT-5.2-Codex
Terminal-Bench17.1%66.5%GPT-5.2-Codex
ALE-BenchNot measured1299.9Only GPT-5.2-Codex measured
LMArena Text: coding1423Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: software and IT1425Not measuredOnly Gemini 2.5 Flash measured
LMArena WebDev: ReactNot measured1329Only GPT-5.2-Codex measured
LMArena WebDev: HTMLNot measured1348Only GPT-5.2-Codex measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
AA Intelligence Index15.528.5GPT-5.2-Codex
Epoch Capabilities Index142.9Not measuredOnly Gemini 2.5 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
Design Arena: agents building web appsNot measured1051Only GPT-5.2-Codex measured
Design Arena: agents building full-stack appsNot measured993Only GPT-5.2-Codex measured
Design Arena: agents building mobile appsNot measured1090Only GPT-5.2-Codex measured
Design Arena: agents building Android appsNot measured1176Only GPT-5.2-Codex measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
τ²-Bench Telecom31.6%92.1%GPT-5.2-Codex
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
GPQA Diamond (Artificial Analysis run)79.0%89.9%GPT-5.2-Codex
Humanity's Last Exam (Artificial Analysis run)12.1%35.7%GPT-5.2-Codex
ARC-AGI33.3%Not measuredOnly Gemini 2.5 Flash measured
ARC-AGI-22.5%Not measuredOnly Gemini 2.5 Flash measured
SimpleBench41.2%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: hard prompts1422Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: expert1426Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: hard prompts in English1420Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 11 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
AA Math Index73.3Not measuredOnly Gemini 2.5 Flash measured
AIME 2025 (Artificial Analysis run)73.3%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: math1411Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: mathematical work1422Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Knowledge benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
MedCode (Vals AI)40.4%Not measuredOnly Gemini 2.5 Flash measured
MMLU Pro (Artificial Analysis run)83.2%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: science1433Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: medicine and healthcare1428Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: legal and government1430Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: business and finance1404Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
Design Arena: websites1074Not measuredOnly Gemini 2.5 Flash measured
Design Arena: UI components1005Not measuredOnly Gemini 2.5 Flash measured
Design Arena: game dev1005Not measuredOnly Gemini 2.5 Flash measured
Design Arena: data viz1060Not measuredOnly Gemini 2.5 Flash measured
Design Arena: 3D1021Not measuredOnly Gemini 2.5 Flash measured
Design Arena: all code categories1059Not measuredOnly Gemini 2.5 Flash measured
Design Arena: SVG1018Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 FlashGPT-5.2-CodexLeader
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%Not measuredOnly Gemini 2.5 Flash measured
IFBench50.3%77.6%GPT-5.2-Codex
Long context reasoning (AA-LCR)65.3%82.3%GPT-5.2-Codex
DTBench76.5%Not measuredOnly Gemini 2.5 Flash measured
LMCA27.5%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text1417Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: instruction following1405Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: creative writing1400Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English1418Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: non-English1409Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Chinese1449Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: German1417Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Japanese1396Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Korean1385Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: French1432Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Spanish1422Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Russian1415Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Polish1413Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: multi-turn1408Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: longer queries1419Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: writing and language1405Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: entertainment and media1393Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: English1239Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Flash and GPT-5.2-Codex
BenchmarkGemini 2.5 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 2.5 Flash$0.0015Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

Gemini 2.5 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
GPT-5.2-Codex$0.130Fits in one request

Gemini 2.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
GPT-5.2-Codex$0.490Fits in one request

Gemini 2.5 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 2.5 Flash and GPT-5.2-Codex
SpecificationGoogle Gemini 2.5 FlashOpenAI GPT-5.2-Codex
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025January 14, 2026
Context window1.05M400K
Input $/Mtok$0.30$1.75
Output $/Mtok$2.50$14.00
Coding index28.755.1
Independent measurements behind it12
Cost per solved task$0.466$0.43
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.2-Codex for coding: it scores 55.1 on the Vibe Coding Index against 28.7 for Gemini 2.5 Flash. Pick Gemini 2.5 Flash when output tokens cost 5.6x less, or when the context window is larger, 1.05M against 400K tokens.

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

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, Gemini 2.5 Flash costs $0.466 and GPT-5.2-Codex $0.43.

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

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

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

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

Compare next