Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Llama 3.2 3B Instruct

Gemini 3.1 Pro Preview leads Llama 3.2 3B Instruct on the Artificial Analysis Intelligence Index, 29.7 to 5.7, and Llama 3.2 3B Instruct costs 36.1x less per output token ($0.3325 vs $12.00 per million). Updated October 21, 2026; 30 benchmarks have a result for both.

Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
30
Llama 3.2 3B InstructMeta Llama
Coding
No data
Overall
No data
Output $/M
$0.3325
0
vs boards won of 30 shared

Gemini 3.1 Pro Preview or Llama 3.2 3B Instruct: which to pick

Only Gemini 3.1 Pro Preview has a coding score, 32.3 on the Vibe Coding Index; Llama 3.2 3B Instruct has none, so the two cannot be ranked on coding.

Pick Llama 3.2 3B Instruct for output tokens 36.1x cheaper ($0.3325 vs $12.00 per million).

Shared results
30
Gemini 3.1 Pro Preview only
103
Llama 3.2 3B Instruct only
5
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.

At a glance

Coding index
Gemini 3.1 Pro Preview 32.3 from 4 benchmarks, Llama 3.2 3B Instruct not benchmarked.
Widest category
General, 67.1 points apart on average over 14 shared benchmarks.
Widest single gap
LMArena Text: Chinese: Gemini 3.1 Pro Preview 1527 against Llama 3.2 3B Instruct 1017, 85.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Llama 3.2 3B Instruct $0.3325 per million output tokens, 36.1x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, Llama 3.2 3B Instruct 131K.

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 PreviewBarsLlama 3.2 3B InstructTies
Coding20
Intelligence10
Agentic work20
Reasoning50
Math20
Knowledge40
General140
All shared boards300
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
LMArena WebDev1447Not measuredOnly Gemini 3.1 Pro Preview measured
AA Coding Index68.8Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)88.5%Not measuredOnly Gemini 3.1 Pro Preview measured
SWE-bench Verified (Vals AI)78.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 4 (Vals AI)2.5%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench (Vals AI)32.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Code migration (Vals AI)17.3%Not measuredOnly Gemini 3.1 Pro Preview measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
IOI (Vals AI)51.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)70.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Artificial Analysis run)Not measured8.3%Only Llama 3.2 3B Instruct measured
SciCode58.7%Not measuredOnly Gemini 3.1 Pro Preview measured
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
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: coding14841098Gemini 3.1 Pro Preview
LMArena Text: software and IT14871103Gemini 3.1 Pro Preview
LMArena WebDev: React1438Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: HTML1490Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: from an image1481Not measuredOnly Gemini 3.1 Pro Preview measured
SciCode14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
AA Intelligence Index29.75.7Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps1125Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack apps1068Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile apps1093Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Android apps1048Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot games1236Not measuredOnly Gemini 3.1 Pro Preview measured
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 slides1066Not measuredOnly Gemini 3.1 Pro Preview measured
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Tax Agent Bench (Vals AI)9.3%Not measuredOnly Gemini 3.1 Pro Preview measured
Legal Research Bench (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Excel Modeling Benchmark (Vals AI)52.6%Not measuredOnly Gemini 3.1 Pro Preview measured
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%Not measuredOnly Gemini 3.1 Pro Preview measured
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%21.1%Gemini 3.1 Pro Preview
APEX-Agents35.1%Not measuredOnly Gemini 3.1 Pro Preview measured
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%10.1%Gemini 3.1 Pro Preview
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
Berkeley Function Calling Leaderboard (BFCL)Not measured21.9%Only Llama 3.2 3B Instruct measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
GPQA Diamond95.5%Not measuredOnly Gemini 3.1 Pro Preview measured
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GPQA Diamond (Artificial Analysis run)94.1%25.5%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%5.3%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%Not measuredOnly Gemini 3.1 Pro Preview measured
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%Not measuredOnly Gemini 3.1 Pro Preview measured
Mystery game puzzles34.0%Not measuredOnly Gemini 3.1 Pro Preview measured
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851095Gemini 3.1 Pro Preview
LMArena Text: expert14831090Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801141Gemini 3.1 Pro Preview
LMArena Vision: diagrams1311Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: homework1316Not measuredOnly 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 index20
Math benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
AA Math IndexNot measured3.3Only Llama 3.2 3B Instruct measured
AIME 2025 (Artificial Analysis run)Not measured3.3%Only Llama 3.2 3B Instruct measured
OTIS Mock AIME95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierMath, tiers 1 to 359.6%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierMath, tier 426.8%Not measuredOnly Gemini 3.1 Pro Preview measured
ProofBench26.0%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: math14861126Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781128Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
MMLU Pro91.0%Not measuredOnly Gemini 3.1 Pro Preview measured
LegalBench (Vals AI)87.4%Not measuredOnly Gemini 3.1 Pro Preview measured
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%Not measuredOnly Gemini 3.1 Pro Preview measured
TaxEval (Vals AI)72.9%Not measuredOnly Gemini 3.1 Pro Preview measured
MortgageTax (Vals AI)69.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%Not measuredOnly Gemini 3.1 Pro Preview measured
MMLU Pro (Artificial Analysis run)Not measured34.7%Only Llama 3.2 3B Instruct measured
SimpleQA Verified73.5%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: science14971106Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861104Gemini 3.1 Pro Preview
LMArena Text: legal and government14871115Gemini 3.1 Pro Preview
LMArena Text: business and finance14591074Gemini 3.1 Pro Preview
FACTS Benchmark Suite67.4%Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 3 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
Design Arena: websites1234Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: UI components1227Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: game dev1203Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: data viz1209Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: 3D1234Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: all code categories1231Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: SVG1285Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: ASCII art1270Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index140
General benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
Public Benefits Bench (Vals AI)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
SAGE (Vals AI)48.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MedScribe (Vals AI)76.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%26.2%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)82.0%4.3%Gemini 3.1 Pro Preview
DTBench97.1%Not measuredOnly Gemini 3.1 Pro Preview measured
LMCA53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%Not measuredOnly Gemini 3.1 Pro Preview measured
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801110Gemini 3.1 Pro Preview
LMArena Text: instruction following14661089Gemini 3.1 Pro Preview
LMArena Text: creative writing14821094Gemini 3.1 Pro Preview
LMArena Vision1296Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: English14781180Gemini 3.1 Pro Preview
LMArena Text: non-English14761019Gemini 3.1 Pro Preview
LMArena Text: Chinese15271017Gemini 3.1 Pro Preview
LMArena Text: German14901056Gemini 3.1 Pro Preview
LMArena Text: Japanese1491Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: Korean1455Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: French1487Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: Spanish1481Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: Russian1497949Gemini 3.1 Pro Preview
LMArena Text: Polish1498Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: multi-turn14871105Gemini 3.1 Pro Preview
LMArena Text: longer queries14821100Gemini 3.1 Pro Preview
LMArena Text: writing and language14811096Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651083Gemini 3.1 Pro Preview
LMArena Vision: English1287Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: Chinese1364Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: reading text1304Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: humor1322Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things1330Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing1324Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Document1444Not measuredOnly 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
Image generation benchmarks for Gemini 3.1 Pro Preview and Llama 3.2 3B Instruct
BenchmarkGemini 3.1 Pro PreviewLlama 3.2 3B InstructLeader
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
Llama 3.2 3B Instruct$0.0002Fits in one request

Llama 3.2 3B Instruct costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Llama 3.2 3B Instruct$0.0035Fits in one request

Llama 3.2 3B Instruct costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Llama 3.2 3B Instruct$0.013Exceeds the context window

Llama 3.2 3B Instruct 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 Llama 3.2 3B Instruct
SpecificationGoogle Gemini 3.1 Pro PreviewMeta Llama 3.2 3B Instruct
MakerGoogleMeta Llama
WeightsNo public weights listedOpen weights
ReleasedFebruary 19, 2026September 25, 2024
Context window1.05M131K
Input $/Mtok$2.00$0.0505
Output $/Mtok$12.00$0.3325
Coding index32.3Not benchmarked
Independent measurements behind it40
Cost per solved task$0.99Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than Llama 3.2 3B Instruct for coding?

Only Gemini 3.1 Pro Preview has a coding score, 32.3 on the Vibe Coding Index; Llama 3.2 3B Instruct has none, so the two cannot be ranked on coding. Pick Llama 3.2 3B Instruct for output tokens 36.1x cheaper ($0.3325 vs $12.00 per million).

Which is cheaper, Gemini 3.1 Pro Preview or Llama 3.2 3B Instruct?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Llama 3.2 3B Instruct costs $0.0505 and $0.3325. Cost per solved task is known for Gemini 3.1 Pro Preview only.

Which has the bigger context window, Gemini 3.1 Pro Preview or Llama 3.2 3B Instruct?

Gemini 3.1 Pro Preview, with 1.05M tokens against 131K.

How many benchmarks is the Gemini 3.1 Pro Preview vs Llama 3.2 3B Instruct comparison based on?

30 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 4 independent benchmarks and Llama 3.2 3B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next