Gemini 3.1 Pro Preview vs Qwen3.7 Max
Qwen3.7 Max leads Gemini 3.1 Pro Preview on coding, 54.1 to 32.3 on the Vibe Coding Index, and Qwen3.7 Max costs 2.7x less per output token ($4.425 vs $12.00 per million). Updated October 22, 2026; 58 benchmarks have a result for both.
Gemini 3.1 Pro Preview or Qwen3.7 Max: which to pick
Pick Qwen3.7 Max for coding: it scores 54.1 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 3 benchmarks against 4.
Pick Gemini 3.1 Pro Preview for a lower cost per solved task ($0.99 against $4.69) and a larger context window (1.05M against 1M tokens).
- Shared results
- 58
- Gemini 3.1 Pro Preview only
- 75
- Qwen3.7 Max only
- 1
- Like-for-like categories
- 8 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
Qwen3.7 Max
Qwen3.7 Max scores 54.1 against 32.3.
4 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 29.7 against 29.5.
Same board, both measured
Agentic work
AA Agentic Index
Qwen3.7 Max
Qwen3.7 Max leads, 22.5 against 8.2.
Same board, both measured
Reasoning
GPQA Diamond
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 95.5% against 90.2%.
Same board, both measured
Math
AIME
No call
Only Gemini 3.1 Pro Preview has a AIME result, 98.1%.
Directional only
Knowledge
MMLU Pro
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 91.0% against 89.3%.
Same board, both measured
Web design
Design Arena: websites
Qwen3.7 Max
Qwen3.7 Max leads, 1274 against 1233.
Same board, both measured
Long documents
Listed context window
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.7 Max
Gemini 3.1 Pro Preview $0.0080, Qwen3.7 Max $0.0037 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview $0.99, Qwen3.7 Max $4.69.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.1 Pro Preview 32.3 from 4 benchmarks, Qwen3.7 Max 54.1 from 3 benchmarks.
- Widest category
- Agentic work, 8.0 points apart on average over 14 shared benchmarks.
- Widest single gap
- Chess puzzles: Gemini 3.1 Pro Preview 51.0% against Qwen3.7 Max 26.0%, 25.0 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Pro Preview $12.00 against Qwen3.7 Max $4.425 per million output tokens, 2.7x apart.
- Context window
- Gemini 3.1 Pro Preview takes 1.05M tokens, Qwen3.7 Max 1M.
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 Pro Preview | Bars | Qwen3.7 Max | Ties |
|---|---|---|---|---|
| Coding | 7 | 5 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 2 | 12 | ||
| Reasoning | 8 | 0 | ||
| Math | 1 | 2 | 1 tie | |
| Knowledge | 5 | 1 | ||
| Web design | 2 | 6 | ||
| General | 3 | 2 | ||
| All shared boards | 29 | 28 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index75
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| LMArena WebDev | 1447 | 1515 | Qwen3.7 Max |
| AA Coding Index | 68.8 | 66.0 | Gemini 3.1 Pro Preview |
| LiveCodeBench (Vals AI) | 88.5% | 87.1% | Gemini 3.1 Pro Preview |
| SWE-bench Verified (Vals AI) | 78.8% | 68.8% | Gemini 3.1 Pro Preview |
| Terminal-Bench 4 (Vals AI) | 2.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench (Vals AI) | 32.0% | 47.7% | Qwen3.7 Max |
| Code migration (Vals AI) | 17.3% | 13.1% | Gemini 3.1 Pro Preview |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IOI (Vals AI) | 51.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 70.8% | 61.0% | Gemini 3.1 Pro Preview |
| Vibe Code Bench 1-100 (Vals AI) | 6.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SciCode | 58.7% | 49.5% | Gemini 3.1 Pro Preview |
| Terminal-Bench Hard (Artificial Analysis run) | 53.8% | 50.8% | Gemini 3.1 Pro Preview |
| Terminal-Bench | 80.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GSO-Bench | 22.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| WeirdML | 72.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MirrorCode | 8.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ALE-Bench | 1160.6 | 1189.4 | Qwen3.7 Max |
| LMArena Text: coding | 1484 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: software and IT | 1487 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: React | 1438 | 1514 | Qwen3.7 Max |
| LMArena WebDev: HTML | 1490 | 1512 | Qwen3.7 Max |
| LMArena WebDev: from an image | 1481 | Not measured | Only Gemini 3.1 Pro Preview measured |
| SciCode | 14.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| AA Intelligence Index | 29.7 | 29.5 | Gemini 3.1 Pro Preview |
| Epoch Capabilities Index | Not measured | 154.0 | Only Qwen3.7 Max measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index212
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| AA Agentic Index | 8.2 | 22.5 | Qwen3.7 Max |
| Design Arena: agents building web apps | 1125 | 1208 | Qwen3.7 Max |
| Design Arena: agents building full-stack apps | 1068 | 1191 | Qwen3.7 Max |
| Design Arena: agents building mobile apps | 1094 | 1155 | Qwen3.7 Max |
| Design Arena: agents building Android apps | 1049 | 1159 | Qwen3.7 Max |
| Design Arena: agents building Godot games | 1236 | 1187 | Gemini 3.1 Pro Preview |
| Design Arena: agents building games | 1113 | 1161 | Qwen3.7 Max |
| Design Arena: HTML slides | 1103 | 1108 | Qwen3.7 Max |
| Design Arena: PowerPoint slides | 1041 | 1171 | Qwen3.7 Max |
| SREBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Finance Agent (Vals AI) | 43.0% | 47.8% | Qwen3.7 Max |
| Tax Agent Bench (Vals AI) | 9.3% | 15.8% | Qwen3.7 Max |
| Legal Research Bench (Vals AI) | 20.7% | 25.5% | Qwen3.7 Max |
| Excel Modeling Benchmark (Vals AI) | 52.6% | 57.0% | Qwen3.7 Max |
| BioMysteryBench (Vals AI) | 60.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench-Science (Vals AI) | 1.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vals Science Index | 27.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| τ²-Bench Telecom | 95.6% | 94.7% | Gemini 3.1 Pro Preview |
| APEX-Agents | 35.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| METR time horizons | 77.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| BALROG | 57.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| DeepResearch Bench | 47.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| PostTrainBench | 22.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vending-Bench 2 | $911 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| GPQA Diamond | 95.5% | 90.2% | Gemini 3.1 Pro Preview |
| MysteryMechanism (Vals AI) | 20.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MMMU Pro (Vals AI) | 88.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GPQA Diamond (Artificial Analysis run) | 94.1% | 92.3% | Gemini 3.1 Pro Preview |
| Humanity's Last Exam (Artificial Analysis run) | 47.0% | 40.5% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Epoch AI run) | 94.4% | 90.9% | Gemini 3.1 Pro Preview |
| ARC-AGI | 98.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ARC-AGI-2 | 77.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SimpleBench | 79.6% | 70.4% | Gemini 3.1 Pro Preview |
| Chess puzzles | 51.0% | 26.0% | Gemini 3.1 Pro Preview |
| Mystery game puzzles | 34.0% | 32.0% | Gemini 3.1 Pro Preview |
| EBR-bench | 14.3% | 9.5% | Gemini 3.1 Pro Preview |
| LMArena Text: hard prompts | 1485 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: expert | 1483 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: hard prompts in English | 1480 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: diagrams | 1311 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: homework | 1316 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index12
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| AIME | 98.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| OTIS Mock AIME | 95.6% | 95.6% | Gemini 3.1 Pro Preview |
| FrontierMath, tiers 1 to 3 | 59.6% | 64.6% | Qwen3.7 Max |
| FrontierMath, tier 4 | 26.8% | 34.1% | Qwen3.7 Max |
| ProofBench | 26.0% | 26.0% | Tie |
| LMArena Text: math | 1486 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: mathematical work | 1478 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| MMLU Pro | 91.0% | 89.3% | Gemini 3.1 Pro Preview |
| LegalBench (Vals AI) | 87.4% | 84.9% | Gemini 3.1 Pro Preview |
| CaseLaw (Vals AI) | 64.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CorpFin (Vals AI) | 64.5% | 63.7% | Gemini 3.1 Pro Preview |
| TaxEval (Vals AI) | 72.9% | 75.3% | Qwen3.7 Max |
| MortgageTax (Vals AI) | 69.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedQA (Vals AI) | 96.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedCode (Vals AI) | 59.1% | 38.8% | Gemini 3.1 Pro Preview |
| SimpleQA Verified | 73.5% | 55.8% | Gemini 3.1 Pro Preview |
| LMArena Text: science | 1497 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: medicine and healthcare | 1486 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: legal and government | 1487 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: business and finance | 1459 | Not measured | Only Gemini 3.1 Pro Preview measured |
| FACTS Benchmark Suite | 67.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index26
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| Design Arena: websites | 1233 | 1274 | Qwen3.7 Max |
| Design Arena: UI components | 1224 | 1267 | Qwen3.7 Max |
| Design Arena: game dev | 1202 | 1264 | Qwen3.7 Max |
| Design Arena: data viz | 1209 | 1275 | Qwen3.7 Max |
| Design Arena: 3D | 1234 | 1265 | Qwen3.7 Max |
| Design Arena: all code categories | 1231 | 1275 | Qwen3.7 Max |
| Design Arena: SVG | 1285 | 1216 | Gemini 3.1 Pro Preview |
| Design Arena: ASCII art | 1270 | 1211 | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 Max | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 53.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SAGE (Vals AI) | 48.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedScribe (Vals AI) | 76.1% | 79.4% | Qwen3.7 Max |
| Vals Multimodal Index | 56.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IFBench | 77.1% | 80.5% | Qwen3.7 Max |
| Long context reasoning (AA-LCR) | 82.0% | 79.0% | Gemini 3.1 Pro Preview |
| DTBench | 97.1% | 92.3% | Gemini 3.1 Pro Preview |
| LMCA | 53.8% | 44.0% | Gemini 3.1 Pro Preview |
| CL-bench | 20.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ExploitBench | 26.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | 16.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text | 1480 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: instruction following | 1466 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: creative writing | 1482 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision | 1296 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: English | 1478 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: non-English | 1476 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Chinese | 1527 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: German | 1490 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Japanese | 1491 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Korean | 1455 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: French | 1487 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Spanish | 1481 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Russian | 1497 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Polish | 1498 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: multi-turn | 1487 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: longer queries | 1482 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: writing and language | 1481 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: entertainment and media | 1465 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: English | 1287 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: Chinese | 1364 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: reading text | 1304 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: humor | 1322 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: captioning | 1345 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: recognizing things | 1330 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: creative writing | 1324 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Document | 1444 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 8 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Qwen3.7 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
Qwen3.7 Max costs less
Repository review
50K input + 3K output tokens
Qwen3.7 Max costs less
Agent loop
200K input + 10K output tokens
Qwen3.7 Max 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 Pro Preview | Qwen3.7 Max |
|---|---|---|
| Maker | Qwen | |
| Weights | No public weights listed | No public weights listed |
| Released | February 19, 2026 | May 21, 2026 |
| Context window | 1.05M | 1M |
| Input $/Mtok | $2.00 | $1.475 |
| Output $/Mtok | $12.00 | $4.425 |
| Coding index | 32.3 | 54.1 |
| Independent measurements behind it | 4 | 3 |
| Cost per solved task | $0.99 | $4.69 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview better than Qwen3.7 Max for coding?
Pick Qwen3.7 Max for coding: it scores 54.1 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 3 benchmarks against 4. Pick Gemini 3.1 Pro Preview for a lower cost per solved task ($0.99 against $4.69) and a larger context window (1.05M against 1M tokens).
Which is cheaper, Gemini 3.1 Pro Preview or Qwen3.7 Max?
Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Qwen3.7 Max costs $1.475 and $4.425. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Qwen3.7 Max $4.69.
Which has the bigger context window, Gemini 3.1 Pro Preview or Qwen3.7 Max?
Gemini 3.1 Pro Preview, with 1.05M tokens against 1M.
How many benchmarks is the Gemini 3.1 Pro Preview vs Qwen3.7 Max comparison based on?
58 benchmarks have a result for both models as of October 22, 2026. Gemini 3.1 Pro Preview's coding index rests on 4 independent benchmarks and Qwen3.7 Max's on 3. Where only one model has a result, the page says so instead of naming a winner.