LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Qwen3.8 Max (0902)

Updated October 21, 2026. 99 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 3.1 Pro PreviewGoogle
Coding
35.3
Overall
29.7
Output $/M
$12.00
31
Qwen3.8 Max (0902)Qwen
Coding
63.5
Overall
45.4
Output $/M
$6.00
67
vs boards won of 99 shared, 1 tied

Decision reading

Pick Qwen3.8 Max (0902) for coding: it scores 63.5 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview when a solved task costs $0.99 against $1.32, or when the context window is larger, 1.05M against 1M tokens.

Shared results
99
Gemini 3.1 Pro Preview only
32
Qwen3.8 Max (0902) only
14
Like-for-like categories
8 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.

At a glance

Coding index
Gemini 3.1 Pro Preview 35.3 from 1 benchmark, Qwen3.8 Max (0902) 63.5 from 2 benchmarks.
Widest category
Agentic work, 20.3 points apart on average over 13 shared benchmarks.
Widest single gap
AA Agentic Index: Gemini 3.1 Pro Preview 8.2 against Qwen3.8 Max (0902) 56.0, 47.8 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Qwen3.8 Max (0902) $6.00 per million output tokens, 2.0x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, Qwen3.8 Max (0902) 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.

Boards won, where both have a result
CategoryGemini 3.1 Pro PreviewBarsQwen3.8 Max (0902)Ties
Coding3131 tie
Intelligence01
Agentic work112
Reasoning67
Math06
Knowledge56
Web design16
General1516
All shared boards31671 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index313
Coding benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
LiveBench codingNot measured60.3%Only Qwen3.8 Max (0902) measured
LMArena WebDev14471674Qwen3.8 Max (0902)
AA Coding Index68.876.2Qwen3.8 Max (0902)
LiveCodeBench (Vals AI)88.5%87.8%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%85.6%Qwen3.8 Max (0902)
Terminal-Bench 4 (Vals AI)2.5%34.3%Qwen3.8 Max (0902)
Vibe Code Bench (Vals AI)32.0%64.7%Qwen3.8 Max (0902)
Code migration (Vals AI)17.3%24.0%Qwen3.8 Max (0902)
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)51.8%68.9%Qwen3.8 Max (0902)
Terminal-Bench 2.1 (Vals AI)70.8%67.4%Gemini 3.1 Pro Preview
SWE-bench Multimodal (Vals AI)Not measured42.5%Only Qwen3.8 Max (0902) measured
Vibe Code Bench 1-100 (Vals AI)6.7%12.8%Qwen3.8 Max (0902)
SkillsBench (Vals AI)Not measured42.0%Only Qwen3.8 Max (0902) measured
CyberBench (Vals AI)Not measured28.6%Only Qwen3.8 Max (0902) measured
SciCode58.7%53.2%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierSWENot measured17.8%Only Qwen3.8 Max (0902) measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%Not measuredOnly Gemini 3.1 Pro Preview measured
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: coding14841502Qwen3.8 Max (0902)
LMArena Text: software and IT14871498Qwen3.8 Max (0902)
LMArena WebDev: React14381692Qwen3.8 Max (0902)
LMArena WebDev: HTML14901649Qwen3.8 Max (0902)
LMArena WebDev: from an image14811637Qwen3.8 Max (0902)
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
AA Intelligence Index29.745.4Qwen3.8 Max (0902)
Epoch Capabilities IndexNot measured157.4Only Qwen3.8 Max (0902) measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index112
Agentic work benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
AA Agentic Index8.256.0Qwen3.8 Max (0902)
Design Arena: agents building web apps11251301Qwen3.8 Max (0902)
Design Arena: agents building full-stack apps10681305Qwen3.8 Max (0902)
Design Arena: agents building mobile apps10941223Qwen3.8 Max (0902)
Design Arena: agents building Android apps10551207Qwen3.8 Max (0902)
Design Arena: agents building Godot games12361234Gemini 3.1 Pro Preview
Design Arena: agents building games1114Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1153Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides10641257Qwen3.8 Max (0902)
Design Arena: spreadsheetsNot measured868Only Qwen3.8 Max (0902) measured
LiveBench researchNot measured69.9%Only Qwen3.8 Max (0902) measured
LiveBench browserNot measured32.0%Only Qwen3.8 Max (0902) measured
LiveBench long agenticNot measured42.3%Only Qwen3.8 Max (0902) measured
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%50.6%Qwen3.8 Max (0902)
Tax Agent Bench (Vals AI)9.3%32.1%Qwen3.8 Max (0902)
Legal Research Bench (Vals AI)20.7%47.6%Qwen3.8 Max (0902)
Excel Modeling Benchmark (Vals AI)52.6%60.1%Qwen3.8 Max (0902)
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%12.9%Qwen3.8 Max (0902)
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
APEX-Agents35.1%63.3%Qwen3.8 Max (0902)
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%Not measuredOnly Gemini 3.1 Pro Preview measured
DeepResearch Bench47.8%Not measuredOnly Gemini 3.1 Pro Preview measured
PostTrainBench22.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Vending-Bench 2$911Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena SearchNot measured1261Only Qwen3.8 Max (0902) measured
Neither model has a result on the other 10 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index67
Reasoning benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
GPQA Diamond95.5%93.7%Gemini 3.1 Pro Preview
LiveBench reasoningNot measured88.2%Only Qwen3.8 Max (0902) measured
MysteryMechanism (Vals AI)20.7%23.9%Qwen3.8 Max (0902)
MMMU Pro (Vals AI)88.2%88.0%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)94.1%92.8%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%43.1%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%92.7%Gemini 3.1 Pro Preview
ARC-AGI98.0%Not measuredOnly Gemini 3.1 Pro Preview measured
ARC-AGI-277.1%Not measuredOnly Gemini 3.1 Pro Preview measured
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%46.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%38.0%Qwen3.8 Max (0902)
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851496Qwen3.8 Max (0902)
LMArena Text: expert14831507Qwen3.8 Max (0902)
LMArena Text: hard prompts in English14801503Qwen3.8 Max (0902)
LMArena Vision: diagrams13111323Qwen3.8 Max (0902)
LMArena Vision: homework13161336Qwen3.8 Max (0902)
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%100.0%Qwen3.8 Max (0902)
FrontierMath, tiers 1 to 359.6%74.7%Qwen3.8 Max (0902)
FrontierMath, tier 426.8%46.3%Qwen3.8 Max (0902)
ProofBench26.0%58.0%Qwen3.8 Max (0902)
LMArena Text: math14861501Qwen3.8 Max (0902)
LMArena Text: mathematical work14781491Qwen3.8 Max (0902)
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index56
Knowledge benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
MMLU Pro91.0%88.6%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%83.6%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%65.8%Qwen3.8 Max (0902)
TaxEval (Vals AI)72.9%75.5%Qwen3.8 Max (0902)
MortgageTax (Vals AI)69.4%64.0%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%40.7%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%47.3%Gemini 3.1 Pro Preview
LMArena Text: science14971512Qwen3.8 Max (0902)
LMArena Text: medicine and healthcare14861503Qwen3.8 Max (0902)
LMArena Text: legal and government14871492Qwen3.8 Max (0902)
LMArena Text: business and finance14591480Qwen3.8 Max (0902)
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index16
Web design benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
Design Arena: websites12341275Qwen3.8 Max (0902)
Design Arena: UI components12261340Qwen3.8 Max (0902)
Design Arena: game dev12031313Qwen3.8 Max (0902)
Design Arena: data viz12091281Qwen3.8 Max (0902)
Design Arena: 3D12341337Qwen3.8 Max (0902)
Design Arena: all code categories12311293Qwen3.8 Max (0902)
Design Arena: SVG1285Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: ASCII art12701201Gemini 3.1 Pro Preview
LiveBench designNot measured78.6%Only Qwen3.8 Max (0902) measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index1516
General benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)Leader
LiveBench data analysisNot measured78.4%Only Qwen3.8 Max (0902) measured
Public Benefits Bench (Vals AI)53.8%67.1%Qwen3.8 Max (0902)
SAGE (Vals AI)48.7%51.2%Qwen3.8 Max (0902)
MedScribe (Vals AI)76.1%85.0%Qwen3.8 Max (0902)
Vals Multimodal Index56.1%65.4%Qwen3.8 Max (0902)
IFBench77.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Long context reasoning (AA-LCR)82.0%80.3%Gemini 3.1 Pro Preview
DTBench97.1%92.0%Gemini 3.1 Pro Preview
LMCA53.8%46.2%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%20.0%Gemini 3.1 Pro Preview
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801483Qwen3.8 Max (0902)
LMArena Text: instruction following14661481Qwen3.8 Max (0902)
LMArena Text: creative writing14821477Gemini 3.1 Pro Preview
LMArena Vision12961313Qwen3.8 Max (0902)
LMArena Text: English14781491Qwen3.8 Max (0902)
LMArena Text: non-English14761473Gemini 3.1 Pro Preview
LMArena Text: Chinese15271539Qwen3.8 Max (0902)
LMArena Text: German14901478Gemini 3.1 Pro Preview
LMArena Text: Japanese14911473Gemini 3.1 Pro Preview
LMArena Text: Korean14551460Qwen3.8 Max (0902)
LMArena Text: French14871498Qwen3.8 Max (0902)
LMArena Text: Spanish14811489Qwen3.8 Max (0902)
LMArena Text: Russian14971482Gemini 3.1 Pro Preview
LMArena Text: Polish14981471Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871489Qwen3.8 Max (0902)
LMArena Text: longer queries14821488Qwen3.8 Max (0902)
LMArena Text: writing and language14811477Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651464Gemini 3.1 Pro Preview
LMArena Vision: English12871311Qwen3.8 Max (0902)
LMArena Vision: Chinese13641358Gemini 3.1 Pro Preview
LMArena Vision: reading text13041322Qwen3.8 Max (0902)
LMArena Vision: humor13221304Gemini 3.1 Pro Preview
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things1330Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing13241312Gemini 3.1 Pro Preview
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 7 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
BenchmarkGemini 3.1 Pro PreviewQwen3.8 Max (0902)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 Pro Preview$0.0080Fits in one request
Qwen3.8 Max (0902)$0.0050Fits in one request

Qwen3.8 Max (0902) costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Qwen3.8 Max (0902)$0.118Fits in one request

Qwen3.8 Max (0902) costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Qwen3.8 Max (0902)$0.460Fits in one request

Qwen3.8 Max (0902) 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.

Specifications of Gemini 3.1 Pro Preview and Qwen3.8 Max (0902)
SpecificationGoogle Gemini 3.1 Pro PreviewQwen3.8 Max (0902)
MakerGoogleQwen
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026September 3, 2026
Context window1.05M1M
Input $/Mtok$2.00$2.00
Output $/Mtok$12.00$6.00
Coding index35.363.5
Independent measurements behind it12
Cost per solved task$0.99$1.32
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than Qwen3.8 Max (0902) for coding?

Pick Qwen3.8 Max (0902) for coding: it scores 63.5 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when a solved task costs $0.99 against $1.32, or when the context window is larger, 1.05M against 1M tokens.

Which is cheaper, Gemini 3.1 Pro Preview or Qwen3.8 Max (0902)?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Qwen3.8 Max (0902) costs $2.00 and $6.00. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Qwen3.8 Max (0902) $1.32.

Which has the bigger context window, Gemini 3.1 Pro Preview or Qwen3.8 Max (0902)?

Gemini 3.1 Pro Preview, with 1.05M tokens against 1M.

How many benchmarks is the Gemini 3.1 Pro Preview vs Qwen3.8 Max (0902) comparison based on?

99 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 1 independent benchmark and Qwen3.8 Max (0902)'s on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next