# Codestral vs Gemini 3.1 Pro Preview

> Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 30.6 on the Noometry Index. Codestral costs 10× less per token, which makes it the better buy when Gemini 3.1 Pro Preview's lead doesn't matter for your workload.

- Canonical page: https://noometry.com/compare/codestral-vs-gemini-3-1-pro-preview
- Last updated: 2026-10-10
- Shared benchmarks: 1

## Summary

- They share 1 benchmark with published results for both. Codestral scores higher in 0 categories and Gemini 3.1 Pro Preview in 2 categories; 2 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Gemini 3.1 Pro Preview leads 71.7 to 19.8.
- Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $2 / $12 for Gemini 3.1 Pro Preview.
- Gemini 3.1 Pro Preview accepts more context: 1.05M tokens versus 256K.

## Snapshot

| | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| Provider | Mistral AI | Google |
| Noometry Index | 30.6 | 56.7 |
| Rank | 290 | 23 |
| Context | 256K | 1.05M |
| Input $/M | $0.30 | $2 |
| Output $/M | $0.90 | $12 |
| Weights | Proprietary | Proprietary |

## Coding

- Codestral: 27.3 (#321)
- Gemini 3.1 Pro Preview: 42.5 (#99)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| ALE-Bench | 137.78 | 1,161 |
| SWE-bench Verified | — | 75.6% |
| DeepSWE | — | 11.7% |
| Aider Polyglot | 11.1% | — |
| LMArena WebDev | — | 1447 |
| SciCode | — | 58.9% |
| GSO | — | 22.6% |
| WeirdML | — | 72.1% |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1484 |
| MirrorCode | — | 8.9% |
| BigCodeBench Complete | 52.5% | — |
| AlgoTune | — | 2.02 |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |

## Agentic & Tool Use

- Codestral: —
- Gemini 3.1 Pro Preview: 37.7 (#34)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| Terminal-Bench | — | 80.2% |
| APEX-Agents | — | 35.3% |
| τ²-bench Banking | — | 26% |
| DeepResearch Bench | — | 47.8% |
| PostTrainBench | — | 22% |
| BALROG | — | 57% |
| ExploitBench | — | 26.1% |
| GBAEval | — | 0.8% |
| GDP.pdf | — | 17% |
| LMArena Search | — | 1211 |
| METR Time Horizons | — | 77% |
| Vending-Bench 2 | — | 3,774 |

## Reasoning

- Codestral: 19.8 (#251)
- Gemini 3.1 Pro Preview: 71.7 (#12)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| ARC-AGI-2 | — | 77.1% |
| SimpleBench | — | 79.6% |
| Kagi LLM Benchmark | 32.5% | — |
| NYT Connections (extended) | — | 97.4% |
| ARC-AGI-1 | — | 98% |
| CritPt | — | 17.7% |
| Chess Puzzles | — | 55% |
| EnigmaEval | — | 36.8% |
| Thematic Generalization | — | 79.4% |
| EBR-Bench | — | 14.3% |
| LMArena Hard Prompts | — | 1485 |
| Mystery Game Puzzles | — | 34% |
| DTBench | — | 97.1% |
| LMCA | — | 53.8% |
| Epoch Capabilities Index | — | 154.77 |
| ForecastBench | — | 59 |

## Math

- Codestral: —
- Gemini 3.1 Pro Preview: 62.1 (#34)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| FrontierMath (Tiers 1-3) | — | 59.6% |
| FrontierMath Tier 4 | — | 26.8% |
| MathArena Final-Answer Competitions | — | 86.5% |
| OTIS Mock AIME 2024-2025 | — | 95.6% |
| ProofBench | — | 26% |
| LMArena Math | — | 1485 |
| FrontierMath (Feb 2025 set) | — | 36.9% |
| FrontierMath Tier 4 (v1) | — | 16.7% |

## Knowledge

- Codestral: —
- Gemini 3.1 Pro Preview: 71.8 (#3)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| GPQA Diamond | — | 94.4% |
| Humanity's Last Exam | — | 46.4% |
| SimpleQA Verified | — | 73.5% |
| Vectara Hallucination Rate | — | 10.4% |
| LMArena Expert | — | 1485 |

## Multimodal

- Codestral: —
- Gemini 3.1 Pro Preview: 37.9 (#69)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| LMArena Vision | — | 1296 |
| Blueprint-Bench 2 | — | 26.5% |
| Furniture Assembly | — | 26.7% |
| LMArena Document | — | 1444 |

## Multilingual

- Codestral: —
- Gemini 3.1 Pro Preview: 57.0 (#12)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| LMArena Non-English | — | 1477 |
| LMArena Chinese | — | 1529 |
| LMArena French | — | 1487 |
| LMArena German | — | 1491 |
| LMArena Japanese | — | 1493 |
| LMArena Korean | — | 1455 |
| LMArena Russian | — | 1498 |
| LMArena Spanish | — | 1479 |

## Instruction Following

- Codestral: —
- Gemini 3.1 Pro Preview: 77.0 (#32)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| LMArena Instruction Following | — | 1466 |

## Long Context

- Codestral: —
- Gemini 3.1 Pro Preview: 47.4 (#18)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| CL-bench | — | 20.8% |
| CL-bench Life | — | 16.9% |
| LMArena Longer Query | — | 1483 |

## Writing & Preference

- Codestral: —
- Gemini 3.1 Pro Preview: 66.1 (#37)

| Benchmark | Codestral | Gemini 3.1 Pro Preview |
|---|---|---|
| LMArena Text | — | 1481 |
| LMArena Creative Writing | — | 1482 |
| EQ-Bench Creative Writing | — | 1491 |
| EQ-Bench 4 | — | 1142 |
| LMArena Multi-Turn | — | 1488 |

## FAQ

### Is Codestral better than Gemini 3.1 Pro Preview?

Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 30.6 on the Noometry Index. Codestral costs 10× less per token, which makes it the better buy when Gemini 3.1 Pro Preview's lead doesn't matter for your workload.

### Which is cheaper, Codestral or Gemini 3.1 Pro Preview?

Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; Gemini 3.1 Pro Preview lists at $2 and $12.

### Is Codestral or Gemini 3.1 Pro Preview better for coding?

Gemini 3.1 Pro Preview scores higher on coding benchmarks: 42.5 versus 27.3 in the Noometry coding category.

### Which has the bigger context window?

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

### How many benchmarks do Codestral and Gemini 3.1 Pro Preview share?

1 benchmark has published results for both models. Codestral has 7 scored results on Noometry and Gemini 3.1 Pro Preview has 71.
