Gemini 3.1 Flash Lite Preview vs GPT-5
GPT-5 leads Gemini 3.1 Flash Lite Preview on coding, 38.8 to 22.7 on the Vibe Coding Index, and Gemini 3.1 Flash Lite Preview costs 6.7x less per output token ($1.50 vs $10.00 per million). Updated October 22, 2026; 68 benchmarks have a result for both.
Gemini 3.1 Flash Lite Preview or GPT-5: which to pick
Pick GPT-5 for coding: it scores 38.8 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview.
Pick Gemini 3.1 Flash Lite Preview for output tokens 6.7x cheaper ($1.50 vs $10.00 per million) and a lower cost per solved task ($0.18 against $0.39).
- Shared results
- 68
- Gemini 3.1 Flash Lite Preview only
- 11
- GPT-5 only
- 45
- Like-for-like categories
- 7 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
GPT-5
GPT-5 scores 38.8 against 22.7.
3 benchmarks behind each score
Intelligence
AA Intelligence Index
GPT-5
GPT-5 leads, 23.0 against 15.6.
Same board, both measured
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
GPT-5
GPT-5 leads, 85.6% against 81.1%.
Same board, both measured
Math
AIME
GPT-5
GPT-5 leads, 93.4% against 83.3%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5
GPT-5 leads, 86.5% against 86.2%.
Same board, both measured
Web design
Design Arena: websites
GPT-5
GPT-5 leads, 1184 against 1082.
Same board, both measured
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 $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview $0.18, GPT-5 $0.39.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.1 Flash Lite Preview 22.7 from 3 benchmarks, GPT-5 38.8 from 3 benchmarks.
- Widest category
- Web design, 12.6 points apart on average over 8 shared benchmarks.
- Widest single gap
- LMArena WebDev: HTML: Gemini 3.1 Flash Lite Preview 1276 against GPT-5 1427, 25.1 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Flash Lite Preview $1.50 against GPT-5 $10.00 per million output tokens, 6.7x apart.
- Context window
- Gemini 3.1 Flash Lite Preview takes 1.05M tokens, GPT-5 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 | Ties |
|---|---|---|---|---|
| Coding | 1 | 9 | ||
| Intelligence | 0 | 1 | ||
| Reasoning | 1 | 6 | ||
| Math | 2 | 1 | ||
| Knowledge | 3 | 9 | ||
| Web design | 1 | 7 | ||
| General | 23 | 4 | ||
| All shared boards | 31 | 37 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index19
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 88.0% | Only GPT-5 measured |
| SWE-bench Verified | Not measured | 74.4% | Only GPT-5 measured |
| LMArena WebDev | 1257 | 1418 | GPT-5 |
| AA Coding Index | 34.7 | 37.8 | GPT-5 |
| LiveCodeBench (Vals AI) | 80.1% | 85.9% | GPT-5 |
| SWE-bench Verified (Vals AI) | 62.8% | 69.0% | GPT-5 |
| Vibe Code Bench (Vals AI) | 0.0% | 20.1% | GPT-5 |
| 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 |
| LiveCodeBench (Artificial Analysis run) | Not measured | 84.6% | Only GPT-5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 37.9% | Only GPT-5 measured |
| Terminal-Bench | Not measured | 49.6% | Only GPT-5 measured |
| GSO-Bench | Not measured | 6.9% | Only GPT-5 measured |
| WeirdML | Not measured | 60.7% | Only GPT-5 measured |
| ALE-Bench | 797.7 | 807.6 | GPT-5 |
| LMArena Text: coding | 1400 | 1436 | GPT-5 |
| LMArena Text: software and IT | 1413 | 1420 | GPT-5 |
| LMArena WebDev: React | 1245 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena WebDev: HTML | 1276 | 1427 | GPT-5 |
| LMArena WebDev: from an image | 1336 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| SciCode | 4.6% | 0.0% | Gemini 3.1 Flash Lite Preview |
| Neither model has a result on the other 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 15.6 | 23.0 | GPT-5 |
| Epoch Capabilities Index | Not measured | 150.0 | Only GPT-5 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | 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 |
| τ²-Bench Telecom | Not measured | 86.5% | Only GPT-5 measured |
| METR time horizons | Not measured | 69.6% | Only GPT-5 measured |
| Remote Labor Index | Not measured | 1.7% | Only GPT-5 measured |
| GDPval | Not measured | 34.8% | Only GPT-5 measured |
| BALROG | Not measured | 32.8% | Only GPT-5 measured |
| DeepResearch Bench | Not measured | 49.6% | Only GPT-5 measured |
| BrowseComp-Plus | Not measured | 80.0% | Only GPT-5 measured |
| Neither model has a result on the other 29 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index16
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| GPQA Diamond | 81.1% | 85.6% | GPT-5 |
| MMMU Pro (Vals AI) | 82.5% | 81.5% | Gemini 3.1 Flash Lite Preview |
| GPQA Diamond (Artificial Analysis run) | Not measured | 85.4% | Only GPT-5 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 28.5% | Only GPT-5 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 86.2% | Only GPT-5 measured |
| ARC-AGI | Not measured | 65.7% | Only GPT-5 measured |
| ARC-AGI-2 | Not measured | 9.9% | Only GPT-5 measured |
| SimpleBench | Not measured | 56.7% | Only GPT-5 measured |
| Chess puzzles | Not measured | 36.0% | Only GPT-5 measured |
| Mystery game puzzles | Not measured | 23.0% | Only GPT-5 measured |
| EBR-bench | Not measured | 12.7% | Only GPT-5 measured |
| VPCT | Not measured | 66.0% | Only GPT-5 measured |
| LMArena Text: hard prompts | 1407 | 1415 | GPT-5 |
| LMArena Text: expert | 1398 | 1419 | GPT-5 |
| LMArena Text: hard prompts in English | 1403 | 1419 | GPT-5 |
| LMArena Vision: diagrams | 1242 | 1252 | GPT-5 |
| LMArena Vision: homework | 1271 | 1278 | GPT-5 |
| Kagi LLM Benchmark | Not measured | 72.7% | Only GPT-5 measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index21
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| AIME | 83.3% | 93.4% | GPT-5 |
| MATH 500 (Vals AI) | Not measured | 96.0% | Only GPT-5 measured |
| MGSM (Vals AI) | Not measured | 92.8% | Only GPT-5 measured |
| AA Math Index | Not measured | 94.3 | Only GPT-5 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 94.3% | Only GPT-5 measured |
| OTIS Mock AIME | Not measured | 91.4% | Only GPT-5 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 55.4% | Only GPT-5 measured |
| FrontierMath, tier 4 | Not measured | 22.0% | Only GPT-5 measured |
| ProofBench | Not measured | 18.0% | Only GPT-5 measured |
| MATH level 5 | Not measured | 98.1% | Only GPT-5 measured |
| LMArena Text: math | 1428 | 1407 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: mathematical work | 1417 | 1405 | Gemini 3.1 Flash Lite Preview |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index39
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | 86.5% | GPT-5 |
| LegalBench (Vals AI) | 83.8% | 86.0% | GPT-5 |
| CaseLaw (Vals AI) | 55.0% | 66.5% | GPT-5 |
| CorpFin (Vals AI) | 59.4% | 61.1% | GPT-5 |
| TaxEval (Vals AI) | 71.8% | 73.4% | GPT-5 |
| MortgageTax (Vals AI) | 68.0% | 65.5% | Gemini 3.1 Flash Lite Preview |
| MedQA (Vals AI) | Not measured | 96.3% | Only GPT-5 measured |
| MedCode (Vals AI) | 47.6% | 49.6% | GPT-5 |
| MMLU Pro (Artificial Analysis run) | Not measured | 87.1% | Only GPT-5 measured |
| SimpleQA Verified | Not measured | 50.1% | Only GPT-5 measured |
| GeoBench | Not measured | 81.0% | Only GPT-5 measured |
| LMArena Text: science | 1425 | 1416 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: medicine and healthcare | 1428 | 1413 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: legal and government | 1418 | 1431 | GPT-5 |
| LMArena Text: business and finance | 1389 | 1400 | GPT-5 |
| FACTS Benchmark Suite | 51.4% | 56.5% | GPT-5 |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index17
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| Design Arena: websites | 1082 | 1184 | GPT-5 |
| Design Arena: UI components | 1069 | 1177 | GPT-5 |
| Design Arena: game dev | 1029 | 1185 | GPT-5 |
| Design Arena: data viz | 1045 | 1221 | GPT-5 |
| Design Arena: 3D | 1047 | 1055 | GPT-5 |
| Design Arena: all code categories | 1072 | 1167 | GPT-5 |
| Design Arena: SVG | 1052 | 1188 | GPT-5 |
| Design Arena: ASCII art | 1167 | 1141 | Gemini 3.1 Flash Lite Preview |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index234
| Benchmark | Gemini 3.1 Flash Lite Preview | GPT-5 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 49.5% | 43.7% | Gemini 3.1 Flash Lite Preview |
| MedScribe (Vals AI) | 63.9% | 83.7% | GPT-5 |
| Vals Multimodal Index | 41.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| IFBench | Not measured | 73.1% | Only GPT-5 measured |
| Long context reasoning (AA-LCR) | Not measured | 78.2% | Only GPT-5 measured |
| DTBench | Not measured | 90.7% | Only GPT-5 measured |
| LMCA | Not measured | 40.0% | Only GPT-5 measured |
| Fiction.LiveBench | Not measured | 97.2% | Only GPT-5 measured |
| Creative writing (Lech Mazur) | Not measured | 86.0% | Only GPT-5 measured |
| LMArena Text | 1416 | 1406 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: instruction following | 1377 | 1388 | GPT-5 |
| LMArena Text: creative writing | 1401 | 1365 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision | 1240 | 1232 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: English | 1414 | 1409 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: non-English | 1410 | 1397 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Chinese | 1460 | 1422 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: German | 1430 | 1416 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Japanese | 1413 | 1409 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Korean | 1392 | 1360 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: French | 1424 | 1409 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Spanish | 1421 | 1399 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Russian | 1420 | 1407 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Polish | 1443 | 1431 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: multi-turn | 1417 | 1426 | GPT-5 |
| LMArena Text: longer queries | 1394 | 1399 | GPT-5 |
| LMArena Text: writing and language | 1408 | 1384 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: entertainment and media | 1386 | 1379 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: English | 1232 | 1231 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: Chinese | 1278 | 1267 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: reading text | 1246 | 1246 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: humor | 1266 | 1219 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: captioning | 1259 | 1212 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: recognizing things | 1308 | 1263 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: creative writing | 1248 | 1210 | Gemini 3.1 Flash Lite Preview |
| Neither model has a result on the other 12 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 | 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 |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | March 3, 2026 | August 7, 2025 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.25 | $1.25 |
| Output $/Mtok | $1.50 | $10.00 |
| Coding index | 22.7 | 38.8 |
| Independent measurements behind it | 3 | 3 |
| Cost per solved task | $0.18 | $0.39 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Flash Lite Preview better than GPT-5 for coding?
Pick GPT-5 for coding: it scores 38.8 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview for output tokens 6.7x cheaper ($1.50 vs $10.00 per million) and a lower cost per solved task ($0.18 against $0.39).
Which is cheaper, Gemini 3.1 Flash Lite Preview or GPT-5?
Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; GPT-5 costs $1.25 and $10.00. Per solved SWE-bench Verified task, Gemini 3.1 Flash Lite Preview costs $0.18 and GPT-5 $0.39.
Which has the bigger context window, Gemini 3.1 Flash Lite Preview or GPT-5?
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 comparison based on?
68 benchmarks have a result for both models as of October 22, 2026. Gemini 3.1 Flash Lite Preview's coding index rests on 3 independent benchmarks and GPT-5's on 3. Where only one model has a result, the page says so instead of naming a winner.