Gemini 3.7 Flash vs GPT-5.1-Codex-Mini
Updated October 21, 2026. 14 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Gemini 3.7 Flash for coding: it scores 69.9 on the Vibe Coding Index against 6.2 for GPT-5.1-Codex-Mini.
Pick GPT-5.1-Codex-Mini when output tokens cost 1.9x less.
- Shared results
- 14
- Gemini 3.7 Flash only
- 98
- GPT-5.1-Codex-Mini only
- 8
- 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.
Coding
Vibe Coding Index, four public coding benchmarks
Gemini 3.7 Flash
Gemini 3.7 Flash scores 69.9 against 6.2.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 39.6 against 20.4.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3.7 Flash has a GPQA Diamond result, 93.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.7 Flash has a MMLU Pro result, 90.1%.
Directional only
Web design
Design Arena: websites
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 1304 against 1111.
Same board, both measured
Long documents
Listed context window
Gemini 3.7 Flash
Gemini 3.7 Flash takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.1-Codex-Mini
Gemini 3.7 Flash $0.0026, GPT-5.1-Codex-Mini $0.0013 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.7 Flash has the number, $1.78.
Directional only
At a glance
- Coding index
- Gemini 3.7 Flash 69.9 from 2 benchmarks, GPT-5.1-Codex-Mini 6.2 from 1 benchmark.
- Widest category
- Coding, 53.2 points apart on average over 2 shared benchmarks.
- Widest single gap
- LMArena WebDev: HTML: Gemini 3.7 Flash 1593 against GPT-5.1-Codex-Mini 1253, 56.8 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.7 Flash $3.75 against GPT-5.1-Codex-Mini $2.00 per million output tokens, 1.9x apart.
- Context window
- Gemini 3.7 Flash takes 1.05M tokens, GPT-5.1-Codex-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.
| Category | Gemini 3.7 Flash | Bars | GPT-5.1-Codex-Mini | Ties |
|---|---|---|---|---|
| Coding | 2 | 0 | ||
| Intelligence | 1 | 0 | ||
| Reasoning | 2 | 0 | ||
| Web design | 8 | 0 | ||
| General | 1 | 0 | ||
| All shared boards | 14 | 0 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index20
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| LiveBench coding | 80.5% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev | 1591 | 1244 | Gemini 3.7 Flash |
| AA Coding Index | 71.5 | Not measured | Only Gemini 3.7 Flash measured |
| LiveCodeBench (Vals AI) | 88.7% | Not measured | Only Gemini 3.7 Flash measured |
| SWE-bench Verified (Vals AI) | 80.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench 4 (Vals AI) | 12.1% | Not measured | Only Gemini 3.7 Flash measured |
| Vibe Code Bench (Vals AI) | 70.4% | Not measured | Only Gemini 3.7 Flash measured |
| Code migration (Vals AI) | 34.8% | Not measured | Only Gemini 3.7 Flash measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.7 Flash measured |
| IOI (Vals AI) | 67.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 77.5% | Not measured | Only Gemini 3.7 Flash measured |
| SkillsBench (Vals AI) | 65.9% | Not measured | Only Gemini 3.7 Flash measured |
| CyberBench (Vals AI) | 43.8% | Not measured | Only Gemini 3.7 Flash measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 83.6% | Only GPT-5.1-Codex-Mini measured |
| SciCode | 59.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 33.3% | Only GPT-5.1-Codex-Mini measured |
| Terminal-Bench | Not measured | 61.6% | Only GPT-5.1-Codex-Mini measured |
| FrontierCode | 43.6% | Not measured | Only Gemini 3.7 Flash measured |
| FrontierSWE | 20.3% | Not measured | Only Gemini 3.7 Flash measured |
| ALE-Bench | 904.3 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: coding | 1499 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: software and IT | 1498 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev: React | 1587 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev: HTML | 1593 | 1253 | Gemini 3.7 Flash |
| LMArena WebDev: from an image | 1599 | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.6 | 20.4 | Gemini 3.7 Flash |
| Epoch Capabilities Index | 158.0 | Not measured | Only Gemini 3.7 Flash measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index19 boards, none shared
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1224 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building full-stack apps | 1208 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building mobile apps | 1230 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building Android apps | 1247 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building Godot games | 1264 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building games | 1235 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: spreadsheets | 1028 | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench research | 76.5% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench browser | 56.0% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench long agentic | 28.3% | Not measured | Only Gemini 3.7 Flash measured |
| SREBench (Vals AI) | 4.6% | Not measured | Only Gemini 3.7 Flash measured |
| Finance Agent (Vals AI) | 59.0% | Not measured | Only Gemini 3.7 Flash measured |
| Tax Agent Bench (Vals AI) | 22.8% | Not measured | Only Gemini 3.7 Flash measured |
| Legal Research Bench (Vals AI) | 34.6% | Not measured | Only Gemini 3.7 Flash measured |
| Excel Modeling Benchmark (Vals AI) | 71.3% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench-Science (Vals AI) | 7.1% | Not measured | Only Gemini 3.7 Flash measured |
| τ²-Bench Telecom | Not measured | 62.9% | Only GPT-5.1-Codex-Mini measured |
| APEX-Agents | 67.8% | Not measured | Only Gemini 3.7 Flash measured |
| Remote Labor Index | 5.0% | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 20 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 93.9% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench reasoning | 87.8% | Not measured | Only Gemini 3.7 Flash measured |
| MMMU Pro (Vals AI) | 89.0% | Not measured | Only Gemini 3.7 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 94.5% | 81.3% | Gemini 3.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 47.9% | 18.5% | Gemini 3.7 Flash |
| GPQA Diamond (Epoch AI run) | 94.8% | Not measured | Only Gemini 3.7 Flash measured |
| ARC-AGI | 95.5% | Not measured | Only Gemini 3.7 Flash measured |
| ARC-AGI-2 | 84.6% | Not measured | Only Gemini 3.7 Flash measured |
| Chess puzzles | 66.0% | Not measured | Only Gemini 3.7 Flash measured |
| Mystery game puzzles | 37.0% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: hard prompts | 1495 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: expert | 1512 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: hard prompts in English | 1487 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: diagrams | 1329 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: homework | 1320 | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 6 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 91.7 | Only GPT-5.1-Codex-Mini measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 91.7% | Only GPT-5.1-Codex-Mini measured |
| OTIS Mock AIME | 97.2% | Not measured | Only Gemini 3.7 Flash measured |
| FrontierMath, tiers 1 to 3 | 71.6% | Not measured | Only Gemini 3.7 Flash measured |
| FrontierMath, tier 4 | 36.6% | Not measured | Only Gemini 3.7 Flash measured |
| ProofBench | 58.0% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: math | 1511 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: mathematical work | 1502 | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 5 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| MMLU Pro | 90.1% | Not measured | Only Gemini 3.7 Flash measured |
| LegalBench (Vals AI) | 87.3% | Not measured | Only Gemini 3.7 Flash measured |
| TaxEval (Vals AI) | 74.7% | Not measured | Only Gemini 3.7 Flash measured |
| MortgageTax (Vals AI) | 66.7% | Not measured | Only Gemini 3.7 Flash measured |
| MedCode (Vals AI) | 53.4% | Not measured | Only Gemini 3.7 Flash measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 82.0% | Only GPT-5.1-Codex-Mini measured |
| SimpleQA Verified | 69.2% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: science | 1511 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: medicine and healthcare | 1494 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: legal and government | 1496 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: business and finance | 1479 | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1304 | 1111 | Gemini 3.7 Flash |
| Design Arena: UI components | 1299 | 1081 | Gemini 3.7 Flash |
| Design Arena: game dev | 1318 | 1093 | Gemini 3.7 Flash |
| Design Arena: data viz | 1315 | 1097 | Gemini 3.7 Flash |
| Design Arena: 3D | 1308 | 988 | Gemini 3.7 Flash |
| Design Arena: all code categories | 1308 | 1094 | Gemini 3.7 Flash |
| Design Arena: SVG | 1283 | 977 | Gemini 3.7 Flash |
| Design Arena: ASCII art | 1276 | 1104 | Gemini 3.7 Flash |
| LiveBench design | 73.2% | Not measured | Only Gemini 3.7 Flash measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | Leader |
|---|---|---|---|
| LiveBench data analysis | 68.0% | Not measured | Only Gemini 3.7 Flash measured |
| SAGE (Vals AI) | 49.2% | Not measured | Only Gemini 3.7 Flash measured |
| MedScribe (Vals AI) | 83.9% | Not measured | Only Gemini 3.7 Flash measured |
| IFBench | Not measured | 67.9% | Only GPT-5.1-Codex-Mini measured |
| Long context reasoning (AA-LCR) | 83.0% | 66.7% | Gemini 3.7 Flash |
| DTBench | 96.8% | Not measured | Only Gemini 3.7 Flash measured |
| LMCA | 50.4% | Not measured | Only Gemini 3.7 Flash measured |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text | 1489 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: instruction following | 1484 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: creative writing | 1488 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision | 1314 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: English | 1483 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: non-English | 1487 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: Chinese | 1552 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: German | 1506 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: Japanese | 1511 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: Korean | 1481 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: French | 1500 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: Spanish | 1495 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: Russian | 1515 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: Polish | 1503 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: multi-turn | 1485 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: longer queries | 1492 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: writing and language | 1491 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: entertainment and media | 1477 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: English | 1309 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: Chinese | 1394 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: reading text | 1322 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: humor | 1299 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: creative writing | 1312 | Not measured | Only Gemini 3.7 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
| Benchmark | Gemini 3.7 Flash | GPT-5.1-Codex-Mini | 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
GPT-5.1-Codex-Mini costs less
Repository review
50K input + 3K output tokens
GPT-5.1-Codex-Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5.1-Codex-Mini 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.7 Flash | OpenAI GPT-5.1-Codex-Mini |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | August 13, 2026 | November 13, 2025 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.75 | $0.25 |
| Output $/Mtok | $3.75 | $2.00 |
| Coding index | 69.9 | 6.2 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.78 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.7 Flash better than GPT-5.1-Codex-Mini for coding?
Pick Gemini 3.7 Flash for coding: it scores 69.9 on the Vibe Coding Index against 6.2 for GPT-5.1-Codex-Mini. Pick GPT-5.1-Codex-Mini when output tokens cost 1.9x less.
Which is cheaper, Gemini 3.7 Flash or GPT-5.1-Codex-Mini?
Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GPT-5.1-Codex-Mini costs $0.25 and $2.00. Cost per solved task is known for Gemini 3.7 Flash only.
Which has the bigger context window, Gemini 3.7 Flash or GPT-5.1-Codex-Mini?
Gemini 3.7 Flash, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 3.7 Flash vs GPT-5.1-Codex-Mini comparison based on?
14 benchmarks have a result for both models as of October 21, 2026. Gemini 3.7 Flash's coding index rests on 2 independent benchmarks and GPT-5.1-Codex-Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.