Devstral 2 2512 vs Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads Devstral 2 2512 on the Artificial Analysis Intelligence Index, 29.7 to 8.6, and Devstral 2 2512 costs 6.0x less per output token ($2.00 vs $12.00 per million). Updated October 22, 2026; 5 benchmarks have a result for both.
Devstral 2 2512 or Gemini 3.1 Pro Preview: which to pick
Only Gemini 3.1 Pro Preview has a coding score, 32.3 on the Vibe Coding Index; Devstral 2 2512 has none, so the two cannot be ranked on coding.
Pick Devstral 2 2512 for output tokens 6.0x cheaper ($2.00 vs $12.00 per million).
- Shared results
- 5
- Devstral 2 2512 only
- 1
- Gemini 3.1 Pro Preview only
- 128
- Like-for-like categories
- 3 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 Pro Preview has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 29.7 against 8.6.
Same board, both measured
Agentic work
AA Agentic Index
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 8.2 against 2.3.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3.1 Pro Preview has a GPQA Diamond result, 95.5%.
Directional only
Math
AIME
No call
Only Gemini 3.1 Pro Preview has a AIME result, 98.1%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.1 Pro Preview has a MMLU Pro result, 91.0%.
Directional only
Web design
Design Arena: websites
No call
Only Gemini 3.1 Pro Preview has a Design Arena: websites result, 1233.
Directional only
Long documents
Listed context window
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Devstral 2 2512
Devstral 2 2512 $0.0014, Gemini 3.1 Pro Preview $0.0080 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.1 Pro Preview
Devstral 2 2512 $1.19, Gemini 3.1 Pro Preview $0.99.
Published attempt cost and pass rate
At a glance
- Coding index
- Devstral 2 2512 not benchmarked, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
- Widest category
- Coding, 30.0 points apart on average over 3 shared benchmarks.
- Widest single gap
- AA Coding Index: Devstral 2 2512 31.3 against Gemini 3.1 Pro Preview 68.8, 37.5 points apart on a 0 to 100 scale.
- Output price
- Devstral 2 2512 $2.00 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 6.0x apart.
- Context window
- Devstral 2 2512 takes 262K tokens, Gemini 3.1 Pro Preview 1.05M.
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 | Devstral 2 2512 | Bars | Gemini 3.1 Pro Preview | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| All shared boards | 0 | 5 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| SWE-bench Verified | 53.8% | Not measured | Only Devstral 2 2512 measured |
| LMArena WebDev | Not measured | 1447 | Only Gemini 3.1 Pro Preview measured |
| AA Coding Index | 31.3 | 68.8 | Gemini 3.1 Pro Preview |
| LiveCodeBench (Vals AI) | 51.8% | 88.5% | Gemini 3.1 Pro Preview |
| SWE-bench Verified (Vals AI) | 62.8% | 78.8% | Gemini 3.1 Pro Preview |
| Terminal-Bench 4 (Vals AI) | Not measured | 2.5% | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench (Vals AI) | Not measured | 32.0% | Only Gemini 3.1 Pro Preview measured |
| Code migration (Vals AI) | Not measured | 17.3% | Only Gemini 3.1 Pro Preview measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Gemini 3.1 Pro Preview measured |
| IOI (Vals AI) | Not measured | 51.8% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 70.8% | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 6.7% | Only Gemini 3.1 Pro Preview measured |
| SciCode | Not measured | 58.7% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 53.8% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench | Not measured | 80.2% | Only Gemini 3.1 Pro Preview measured |
| GSO-Bench | Not measured | 22.6% | Only Gemini 3.1 Pro Preview measured |
| WeirdML | Not measured | 72.1% | Only Gemini 3.1 Pro Preview measured |
| MirrorCode | Not measured | 8.9% | Only Gemini 3.1 Pro Preview measured |
| ALE-Bench | Not measured | 1160.6 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: coding | Not measured | 1484 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: software and IT | Not measured | 1487 | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: React | Not measured | 1438 | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: HTML | Not measured | 1490 | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: from an image | Not measured | 1481 | Only Gemini 3.1 Pro Preview measured |
| SciCode | Not measured | 14.3% | Only 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 index01
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 8.6 | 29.7 | Gemini 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 index01
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AA Agentic Index | 2.3 | 8.2 | Gemini 3.1 Pro Preview |
| Design Arena: agents building web apps | Not measured | 1125 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building full-stack apps | Not measured | 1068 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building mobile apps | Not measured | 1094 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Android apps | Not measured | 1049 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Godot games | Not measured | 1236 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building games | Not measured | 1113 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: HTML slides | Not measured | 1103 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: PowerPoint slides | Not measured | 1041 | Only Gemini 3.1 Pro Preview measured |
| SREBench (Vals AI) | Not measured | 0.0% | Only Gemini 3.1 Pro Preview measured |
| Finance Agent (Vals AI) | Not measured | 43.0% | Only Gemini 3.1 Pro Preview measured |
| Tax Agent Bench (Vals AI) | Not measured | 9.3% | Only Gemini 3.1 Pro Preview measured |
| Legal Research Bench (Vals AI) | Not measured | 20.7% | Only Gemini 3.1 Pro Preview measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 52.6% | Only Gemini 3.1 Pro Preview measured |
| BioMysteryBench (Vals AI) | Not measured | 60.0% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 1.4% | Only Gemini 3.1 Pro Preview measured |
| Vals Science Index | Not measured | 27.4% | Only Gemini 3.1 Pro Preview measured |
| τ²-Bench Telecom | Not measured | 95.6% | Only Gemini 3.1 Pro Preview measured |
| APEX-Agents | Not measured | 35.1% | Only Gemini 3.1 Pro Preview measured |
| METR time horizons | Not measured | 77.0% | Only Gemini 3.1 Pro Preview measured |
| BALROG | Not measured | 57.0% | Only Gemini 3.1 Pro Preview measured |
| DeepResearch Bench | Not measured | 47.8% | Only Gemini 3.1 Pro Preview measured |
| PostTrainBench | Not measured | 22.0% | Only Gemini 3.1 Pro Preview measured |
| Vending-Bench 2 | Not measured | $911 | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 17 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 95.5% | Only Gemini 3.1 Pro Preview measured |
| MysteryMechanism (Vals AI) | Not measured | 20.7% | Only Gemini 3.1 Pro Preview measured |
| MMMU Pro (Vals AI) | Not measured | 88.2% | Only Gemini 3.1 Pro Preview measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 94.1% | Only Gemini 3.1 Pro Preview measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 47.0% | Only Gemini 3.1 Pro Preview measured |
| GPQA Diamond (Epoch AI run) | Not measured | 94.4% | Only Gemini 3.1 Pro Preview measured |
| ARC-AGI | Not measured | 98.0% | Only Gemini 3.1 Pro Preview measured |
| ARC-AGI-2 | Not measured | 77.1% | Only Gemini 3.1 Pro Preview measured |
| SimpleBench | Not measured | 79.6% | Only Gemini 3.1 Pro Preview measured |
| Chess puzzles | Not measured | 51.0% | Only Gemini 3.1 Pro Preview measured |
| Mystery game puzzles | Not measured | 34.0% | Only Gemini 3.1 Pro Preview measured |
| EBR-bench | Not measured | 14.3% | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: hard prompts | Not measured | 1485 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: expert | Not measured | 1483 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: hard prompts in English | Not measured | 1480 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: diagrams | Not measured | 1311 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: homework | Not measured | 1316 | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 5 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AIME | Not measured | 98.1% | Only Gemini 3.1 Pro Preview measured |
| OTIS Mock AIME | Not measured | 95.6% | Only Gemini 3.1 Pro Preview measured |
| FrontierMath, tiers 1 to 3 | Not measured | 59.6% | Only Gemini 3.1 Pro Preview measured |
| FrontierMath, tier 4 | Not measured | 26.8% | Only Gemini 3.1 Pro Preview measured |
| ProofBench | Not measured | 26.0% | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: math | Not measured | 1486 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: mathematical work | Not measured | 1478 | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 91.0% | Only Gemini 3.1 Pro Preview measured |
| LegalBench (Vals AI) | Not measured | 87.4% | Only Gemini 3.1 Pro Preview measured |
| CaseLaw (Vals AI) | Not measured | 64.8% | Only Gemini 3.1 Pro Preview measured |
| CorpFin (Vals AI) | Not measured | 64.5% | Only Gemini 3.1 Pro Preview measured |
| TaxEval (Vals AI) | Not measured | 72.9% | Only Gemini 3.1 Pro Preview measured |
| MortgageTax (Vals AI) | Not measured | 69.4% | Only Gemini 3.1 Pro Preview measured |
| MedQA (Vals AI) | Not measured | 96.4% | Only Gemini 3.1 Pro Preview measured |
| MedCode (Vals AI) | Not measured | 59.1% | Only Gemini 3.1 Pro Preview measured |
| SimpleQA Verified | Not measured | 73.5% | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: science | Not measured | 1497 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: medicine and healthcare | Not measured | 1486 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: legal and government | Not measured | 1487 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: business and finance | Not measured | 1459 | Only Gemini 3.1 Pro Preview measured |
| FACTS Benchmark Suite | Not measured | 67.4% | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 4 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1233 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: UI components | Not measured | 1224 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: game dev | Not measured | 1202 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: data viz | Not measured | 1209 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: 3D | Not measured | 1234 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: all code categories | Not measured | 1231 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: SVG | Not measured | 1285 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: ASCII art | Not measured | 1270 | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 1 board here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index38 boards, none shared
| Benchmark | Devstral 2 2512 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | Not measured | 53.8% | Only Gemini 3.1 Pro Preview measured |
| SAGE (Vals AI) | Not measured | 48.7% | Only Gemini 3.1 Pro Preview measured |
| MedScribe (Vals AI) | Not measured | 76.1% | Only Gemini 3.1 Pro Preview measured |
| Vals Multimodal Index | Not measured | 56.1% | Only Gemini 3.1 Pro Preview measured |
| IFBench | Not measured | 77.1% | Only Gemini 3.1 Pro Preview measured |
| Long context reasoning (AA-LCR) | Not measured | 82.0% | Only Gemini 3.1 Pro Preview measured |
| DTBench | Not measured | 97.1% | Only Gemini 3.1 Pro Preview measured |
| LMCA | Not measured | 53.8% | Only Gemini 3.1 Pro Preview measured |
| CL-bench | Not measured | 20.8% | Only Gemini 3.1 Pro Preview measured |
| Furniture assembly | Not measured | 26.7% | Only Gemini 3.1 Pro Preview measured |
| ExploitBench | Not measured | 26.1% | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | Not measured | 16.9% | Only Gemini 3.1 Pro Preview measured |
| LMArena Text | Not measured | 1480 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: instruction following | Not measured | 1466 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: creative writing | Not measured | 1482 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision | Not measured | 1296 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: English | Not measured | 1478 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: non-English | Not measured | 1476 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Chinese | Not measured | 1527 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: German | Not measured | 1490 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Japanese | Not measured | 1491 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Korean | Not measured | 1455 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: French | Not measured | 1487 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Spanish | Not measured | 1481 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Russian | Not measured | 1497 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Polish | Not measured | 1498 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: multi-turn | Not measured | 1487 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: longer queries | Not measured | 1482 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: writing and language | Not measured | 1481 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: entertainment and media | Not measured | 1465 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: English | Not measured | 1287 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: Chinese | Not measured | 1364 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: reading text | Not measured | 1304 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: humor | Not measured | 1322 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: captioning | Not measured | 1345 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: recognizing things | Not measured | 1330 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: creative writing | Not measured | 1324 | Only Gemini 3.1 Pro Preview measured |
| LMArena Document | Not measured | 1444 | 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 | Devstral 2 2512 | Gemini 3.1 Pro Preview | 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
Devstral 2 2512 costs less
Repository review
50K input + 3K output tokens
Devstral 2 2512 costs less
Agent loop
200K input + 10K output tokens
Devstral 2 2512 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 | Mistral Devstral 2 2512 | Google Gemini 3.1 Pro Preview |
|---|---|---|
| Maker | Mistral AI | |
| Weights | Open weights | No public weights listed |
| Released | December 9, 2025 | February 19, 2026 |
| Context window | 262K | 1.05M |
| Input $/Mtok | $0.40 | $2.00 |
| Output $/Mtok | $2.00 | $12.00 |
| Coding index | Not benchmarked | 32.3 |
| Independent measurements behind it | 1 | 4 |
| Cost per solved task | $1.19 | $0.99 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Devstral 2 2512 better than Gemini 3.1 Pro Preview for coding?
Only Gemini 3.1 Pro Preview has a coding score, 32.3 on the Vibe Coding Index; Devstral 2 2512 has none, so the two cannot be ranked on coding. Pick Devstral 2 2512 for output tokens 6.0x cheaper ($2.00 vs $12.00 per million).
Which is cheaper, Devstral 2 2512 or Gemini 3.1 Pro Preview?
Devstral 2 2512 costs $0.40 per million input tokens and $2.00 per million output tokens; Gemini 3.1 Pro Preview costs $2.00 and $12.00. Per solved SWE-bench Verified task, Devstral 2 2512 costs $1.19 and Gemini 3.1 Pro Preview $0.99.
Which has the bigger context window, Devstral 2 2512 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview, with 1.05M tokens against 262K.
How many benchmarks is the Devstral 2 2512 vs Gemini 3.1 Pro Preview comparison based on?
5 benchmarks have a result for both models as of October 22, 2026. Devstral 2 2512's coding index rests on 1 independent benchmark and Gemini 3.1 Pro Preview's on 4. Where only one model has a result, the page says so instead of naming a winner.