Gemini 3.1 Flash Lite Preview vs GPT-5.1-Codex-Max
Gemini 3.1 Flash Lite Preview costs 6.7x less per output token than GPT-5.1-Codex-Max ($1.50 vs $10.00 per million). Updated October 21, 2026; 3 benchmarks have a result for both.
Gemini 3.1 Flash Lite Preview or GPT-5.1-Codex-Max: which to pick
Only Gemini 3.1 Flash Lite Preview has a coding score, 22.7 on the Vibe Coding Index; GPT-5.1-Codex-Max has none, so the two cannot be ranked on coding.
Pick GPT-5.1-Codex-Max for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.
- Shared results
- 3
- Gemini 3.1 Flash Lite Preview only
- 76
- GPT-5.1-Codex-Max only
- 3
- Like-for-like categories
- 1 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
Only Gemini 3.1 Flash Lite Preview has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
No call
Only Gemini 3.1 Flash Lite Preview has a AA Intelligence Index result, 15.6.
Directional only
Agentic work
AA Agentic Index
No call
Only Gemini 3.1 Flash Lite Preview has a AA Agentic Index result, 1.6.
Directional only
Reasoning
GPQA Diamond
No call
Only Gemini 3.1 Flash Lite Preview has a GPQA Diamond result, 81.1%.
Directional only
Math
AIME
No call
Only Gemini 3.1 Flash Lite Preview has a AIME result, 83.3%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.1 Flash Lite Preview has a MMLU Pro result, 86.2%.
Directional only
Web design
Design Arena: websites
No call
Only Gemini 3.1 Flash Lite Preview has a Design Arena: websites result, 1083.
Directional only
Long documents
Listed context window
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview $0.0010, GPT-5.1-Codex-Max $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.1 Flash Lite Preview has the number, $0.18.
Directional only
At a glance
- Coding index
- Gemini 3.1 Flash Lite Preview 22.7 from 3 benchmarks, GPT-5.1-Codex-Max not benchmarked.
- Widest category
- Coding, 13.3 points apart on average over 3 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3.1 Flash Lite Preview 0.0% against GPT-5.1-Codex-Max 22.2%, 22.2 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Flash Lite Preview $1.50 against GPT-5.1-Codex-Max $10.00 per million output tokens, 6.7x apart.
- Context window
- Gemini 3.1 Flash Lite Preview takes 1.05M tokens, GPT-5.1-Codex-Max 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.1 Flash Lite Preview | Bars | GPT-5.1-Codex-Max | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| All shared boards | 0 | 3 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| LMArena WebDev | 1257 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| AA Coding Index | 34.7 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LiveCodeBench (Vals AI) | 80.1% | 83.6% | GPT-5.1-Codex-Max |
| SWE-bench Verified (Vals AI) | 62.8% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Vibe Code Bench (Vals AI) | 0.0% | 22.2% | GPT-5.1-Codex-Max |
| Code migration (Vals AI) | 4.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 34.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Terminal-Bench | Not measured | 60.4% | Only GPT-5.1-Codex-Max measured |
| ALE-Bench | 797.7 | 1228.3 | GPT-5.1-Codex-Max |
| LMArena Text: coding | 1400 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: software and IT | 1413 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena WebDev: React | 1245 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena WebDev: HTML | 1276 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena WebDev: from an image | 1336 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| SciCode | 4.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 23 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| AA Intelligence Index | 15.6 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 1 board here | |||
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| AA Agentic Index | 1.6 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Finance Agent (Vals AI) | 30.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Tax Agent Bench (Vals AI) | 3.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Legal Research Bench (Vals AI) | 3.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Excel Modeling Benchmark (Vals AI) | 8.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| METR time horizons | Not measured | 70.8% | Only GPT-5.1-Codex-Max measured |
| Neither model has a result on the other 35 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| GPQA Diamond | 81.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MMMU Pro (Vals AI) | 82.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: hard prompts | 1407 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: expert | 1398 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: hard prompts in English | 1403 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: diagrams | 1242 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: homework | 1271 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 15 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| AIME | 83.3% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| ProofBench | Not measured | 9.0% | Only GPT-5.1-Codex-Max measured |
| LMArena Text: math | 1428 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: mathematical work | 1417 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 9 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LegalBench (Vals AI) | 83.8% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| CaseLaw (Vals AI) | 55.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| CorpFin (Vals AI) | 59.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| TaxEval (Vals AI) | 71.8% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MortgageTax (Vals AI) | 68.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedCode (Vals AI) | 47.6% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: science | 1425 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: medicine and healthcare | 1428 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: legal and government | 1418 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: business and finance | 1389 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| FACTS Benchmark Suite | 51.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 6 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| Design Arena: websites | 1083 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: UI components | 1072 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: game dev | 1029 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: data viz | 1045 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: 3D | 1048 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: all code categories | 1072 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: SVG | 1052 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: ASCII art | 1167 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 1 board here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index28 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 49.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedScribe (Vals AI) | 63.9% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Vals Multimodal Index | 41.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text | 1416 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: instruction following | 1377 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: creative writing | 1401 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision | 1240 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: English | 1414 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: non-English | 1410 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: Chinese | 1460 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: German | 1430 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: Japanese | 1413 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: Korean | 1392 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: French | 1424 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: Spanish | 1421 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: Russian | 1420 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: Polish | 1443 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: multi-turn | 1417 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: longer queries | 1394 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: writing and language | 1408 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: entertainment and media | 1386 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: English | 1232 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: Chinese | 1278 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: reading text | 1246 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: humor | 1266 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: captioning | 1259 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: recognizing things | 1308 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: creative writing | 1248 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 18 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5.1-Codex-Max | 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.1 Flash Lite Preview costs less
Repository review
50K input + 3K output tokens
Gemini 3.1 Flash Lite Preview costs less
Agent loop
200K input + 10K output tokens
Gemini 3.1 Flash Lite 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.1 Flash Lite Preview | OpenAI GPT-5.1-Codex-Max |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | March 3, 2026 | December 4, 2025 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.25 | $1.25 |
| Output $/Mtok | $1.50 | $10.00 |
| Coding index | 22.7 | Not benchmarked |
| Independent measurements behind it | 3 | 1 |
| Cost per solved task | $0.18 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Flash Lite Preview better than GPT-5.1-Codex-Max for coding?
Only Gemini 3.1 Flash Lite Preview has a coding score, 22.7 on the Vibe Coding Index; GPT-5.1-Codex-Max has none, so the two cannot be ranked on coding. Pick GPT-5.1-Codex-Max for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.
Which is cheaper, Gemini 3.1 Flash Lite Preview or GPT-5.1-Codex-Max?
Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GPT-5.1-Codex-Max costs $1.25 and $10.00. Cost per solved task is known for Gemini 3.1 Flash Lite Preview only.
Which has the bigger context window, Gemini 3.1 Flash Lite Preview or GPT-5.1-Codex-Max?
Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 3.1 Flash Lite Preview vs GPT-5.1-Codex-Max comparison based on?
3 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Flash Lite Preview's coding index rests on 3 independent benchmarks and GPT-5.1-Codex-Max's on 1. Where only one model has a result, the page says so instead of naming a winner.