Gemini 3 Flash Preview vs GPT-5.2-Codex
GPT-5.2-Codex leads Gemini 3 Flash Preview on coding, 45.4 to 43.7 on the Vibe Coding Index, and Gemini 3 Flash Preview costs 4.7x less per output token ($3.00 vs $14.00 per million). Updated October 22, 2026; 18 benchmarks have a result for both.
Gemini 3 Flash Preview or GPT-5.2-Codex: which to pick
Gemini 3 Flash Preview and GPT-5.2-Codex are level for coding, 43.7 against 45.4 on the Vibe Coding Index, so price and context decide.
Pick Gemini 3 Flash Preview for output tokens 4.7x cheaper ($3.00 vs $14.00 per million) and a lower cost per solved task ($0.37 against $0.43). Pick GPT-5.2-Codex for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.
- Shared results
- 18
- Gemini 3 Flash Preview only
- 53
- GPT-5.2-Codex only
- 4
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Level: 43.7 against 45.4, inside 2 points.
2 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.2-Codex
GPT-5.2-Codex leads, 28.5 against 26.3.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3 Flash Preview has a GPQA Diamond result, 87.9%.
Directional only
Math
AIME
No call
Only Gemini 3 Flash Preview has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3 Flash Preview has a MMLU Pro result, 88.6%.
Directional only
Web design
Design Arena: websites
No call
Only Gemini 3 Flash Preview has a Design Arena: websites result, 1196.
Directional only
Long documents
Listed context window
Gemini 3 Flash Preview
Gemini 3 Flash Preview takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3 Flash Preview
Gemini 3 Flash Preview $0.0020, GPT-5.2-Codex $0.0088 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3 Flash Preview
Gemini 3 Flash Preview $0.37, GPT-5.2-Codex $0.43.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3 Flash Preview 43.7 from 2 benchmarks, GPT-5.2-Codex 45.4 from 3 benchmarks.
- Widest category
- Agentic work, 7.7 points apart on average over 6 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3 Flash Preview 20.2% against GPT-5.2-Codex 37.9%, 17.7 points apart on a 0 to 100 scale.
- Output price
- Gemini 3 Flash Preview $3.00 against GPT-5.2-Codex $14.00 per million output tokens, 4.7x apart.
- Context window
- Gemini 3 Flash Preview 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.
| Category | Gemini 3 Flash Preview | Bars | GPT-5.2-Codex | Ties |
|---|---|---|---|---|
| Coding | 4 | 3 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 3 | 2 | 1 tie | |
| Reasoning | 1 | 1 | ||
| General | 1 | 1 | ||
| All shared boards | 9 | 8 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index43
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| SWE-bench Verified | 75.8% | 72.8% | Gemini 3 Flash Preview |
| SWE-bench Multilingual | Not measured | 66.3% | Only GPT-5.2-Codex measured |
| LMArena WebDev | Not measured | 1339 | Only GPT-5.2-Codex measured |
| LiveCodeBench (Vals AI) | 85.6% | 88.0% | GPT-5.2-Codex |
| SWE-bench Verified (Vals AI) | 75.0% | 72.4% | Gemini 3 Flash Preview |
| Vibe Code Bench (Vals AI) | 20.2% | 37.9% | GPT-5.2-Codex |
| Code migration (Vals AI) | 6.4% | Not measured | Only Gemini 3 Flash Preview measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 53.9% | Not measured | Only Gemini 3 Flash Preview measured |
| LiveCodeBench (Artificial Analysis run) | 90.8% | Not measured | Only Gemini 3 Flash Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | 38.6% | 37.1% | Gemini 3 Flash Preview |
| Terminal-Bench | 64.3% | 66.5% | GPT-5.2-Codex |
| GSO-Bench | 9.8% | Not measured | Only Gemini 3 Flash Preview measured |
| WeirdML | 61.6% | Not measured | Only Gemini 3 Flash Preview measured |
| ALE-Bench | 1367.2 | 1299.9 | Gemini 3 Flash Preview |
| LMArena WebDev: React | Not measured | 1329 | Only GPT-5.2-Codex measured |
| LMArena WebDev: HTML | Not measured | 1348 | Only GPT-5.2-Codex measured |
| SciCode | 12.7% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| AA Intelligence Index | 26.3 | 28.5 | GPT-5.2-Codex |
| Neither model has a result on the other 1 board here | |||
Agentic workLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1111 | 1051 | Gemini 3 Flash Preview |
| Design Arena: agents building full-stack apps | 1063 | 993 | Gemini 3 Flash Preview |
| Design Arena: agents building mobile apps | 1090 | 1090 | Tie |
| Design Arena: agents building Android apps | 1051 | 1176 | GPT-5.2-Codex |
| Design Arena: agents building Godot games | 1161 | 1142 | Gemini 3 Flash Preview |
| Design Arena: PowerPoint slides | 1036 | Not measured | Only Gemini 3 Flash Preview measured |
| Finance Agent (Vals AI) | 42.5% | Not measured | Only Gemini 3 Flash Preview measured |
| Tax Agent Bench (Vals AI) | 11.8% | Not measured | Only Gemini 3 Flash Preview measured |
| Legal Research Bench (Vals AI) | 18.3% | Not measured | Only Gemini 3 Flash Preview measured |
| Excel Modeling Benchmark (Vals AI) | 26.0% | Not measured | Only Gemini 3 Flash Preview measured |
| τ²-Bench Telecom | 80.4% | 92.1% | GPT-5.2-Codex |
| BALROG | 48.1% | Not measured | Only Gemini 3 Flash Preview measured |
| DeepResearch Bench | 49.8% | Not measured | Only Gemini 3 Flash Preview measured |
| Vending-Bench 2 | $3,635 | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 27 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| GPQA Diamond | 87.9% | Not measured | Only Gemini 3 Flash Preview measured |
| MMMU Pro (Vals AI) | 87.6% | Not measured | Only Gemini 3 Flash Preview measured |
| GPQA Diamond (Artificial Analysis run) | 89.8% | 89.9% | GPT-5.2-Codex |
| Humanity's Last Exam (Artificial Analysis run) | 36.6% | 35.7% | Gemini 3 Flash Preview |
| GPQA Diamond (Epoch AI run) | 89.4% | Not measured | Only Gemini 3 Flash Preview measured |
| ARC-AGI | 84.7% | Not measured | Only Gemini 3 Flash Preview measured |
| ARC-AGI-2 | 33.6% | Not measured | Only Gemini 3 Flash Preview measured |
| SimpleBench | 61.1% | Not measured | Only Gemini 3 Flash Preview measured |
| Chess puzzles | 39.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Mystery game puzzles | 26.0% | Not measured | Only Gemini 3 Flash Preview measured |
| VPCT | 72.6% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 11 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| AIME | 95.6% | Not measured | Only Gemini 3 Flash Preview measured |
| MGSM (Vals AI) | 93.3% | Not measured | Only Gemini 3 Flash Preview measured |
| AA Math Index | 97.0 | Not measured | Only Gemini 3 Flash Preview measured |
| AIME 2025 (Artificial Analysis run) | 97.0% | Not measured | Only Gemini 3 Flash Preview measured |
| OTIS Mock AIME | 95.6% | Not measured | Only Gemini 3 Flash Preview measured |
| FrontierMath, tiers 1 to 3 | 51.2% | Not measured | Only Gemini 3 Flash Preview measured |
| FrontierMath, tier 4 | 17.1% | Not measured | Only Gemini 3 Flash Preview measured |
| ProofBench | 15.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 5 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| MMLU Pro | 88.6% | Not measured | Only Gemini 3 Flash Preview measured |
| LegalBench (Vals AI) | 86.9% | Not measured | Only Gemini 3 Flash Preview measured |
| CaseLaw (Vals AI) | 55.8% | Not measured | Only Gemini 3 Flash Preview measured |
| CorpFin (Vals AI) | 66.4% | Not measured | Only Gemini 3 Flash Preview measured |
| TaxEval (Vals AI) | 73.9% | Not measured | Only Gemini 3 Flash Preview measured |
| MortgageTax (Vals AI) | 68.7% | Not measured | Only Gemini 3 Flash Preview measured |
| MedQA (Vals AI) | 95.8% | Not measured | Only Gemini 3 Flash Preview measured |
| MedCode (Vals AI) | 55.9% | Not measured | Only Gemini 3 Flash Preview measured |
| MMLU Pro (Artificial Analysis run) | 89.0% | Not measured | Only Gemini 3 Flash Preview measured |
| SimpleQA Verified | 66.8% | Not measured | Only Gemini 3 Flash Preview measured |
| GeoBench | 88.0% | Not measured | Only Gemini 3 Flash Preview measured |
| FACTS Benchmark Suite | 63.4% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 6 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Design Arena: websites | 1196 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: game dev | 1166 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: 3D | 1183 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: all code categories | 1189 | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 5 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 51.8% | Not measured | Only Gemini 3 Flash Preview measured |
| MedScribe (Vals AI) | 69.9% | Not measured | Only Gemini 3 Flash Preview measured |
| Vals Multimodal Index | 52.2% | Not measured | Only Gemini 3 Flash Preview measured |
| IFBench | 78.0% | 77.6% | Gemini 3 Flash Preview |
| Long context reasoning (AA-LCR) | 78.0% | 82.3% | GPT-5.2-Codex |
| DTBench | 89.1% | Not measured | Only Gemini 3 Flash Preview measured |
| LMCA | 43.1% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 39 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3 Flash Preview | GPT-5.2-Codex | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
Gemini 3 Flash Preview costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Google Gemini 3 Flash Preview | OpenAI GPT-5.2-Codex |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | December 17, 2025 | January 14, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.50 | $1.75 |
| Output $/Mtok | $3.00 | $14.00 |
| Coding index | 43.7 | 45.4 |
| Independent measurements behind it | 2 | 3 |
| Cost per solved task | $0.37 | $0.43 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3 Flash Preview better than GPT-5.2-Codex for coding?
Gemini 3 Flash Preview and GPT-5.2-Codex are level for coding, 43.7 against 45.4 on the Vibe Coding Index, so price and context decide. Pick Gemini 3 Flash Preview for output tokens 4.7x cheaper ($3.00 vs $14.00 per million) and a lower cost per solved task ($0.37 against $0.43). Pick GPT-5.2-Codex for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.
Which is cheaper, Gemini 3 Flash Preview or GPT-5.2-Codex?
Gemini 3 Flash Preview costs $0.50 per million input tokens and $3.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, Gemini 3 Flash Preview costs $0.37 and GPT-5.2-Codex $0.43.
Which has the bigger context window, Gemini 3 Flash Preview or GPT-5.2-Codex?
Gemini 3 Flash Preview, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 3 Flash Preview vs GPT-5.2-Codex comparison based on?
18 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-5.2-Codex's on 3. Where only one model has a result, the page says so instead of naming a winner.