Model comparison

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.

Last verified . 1 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Gemini 3.1 Pro Preview Google

56.7

Rank #23 Confirmed

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.

Side by side

Codestral and Gemini 3.1 Pro Preview specifications
CodestralGemini 3.1 Pro Preview
ProviderMistral AIGoogle
Noometry Index30.656.7
Released2024-05-292026-02-19
WeightsProprietaryProprietary
Context window256K1.05M
Max output8K66K
Input $ / M tokens$0.30$2
Output $ / M tokens$0.90$12
Results tracked771

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Gemini 3.1 Pro Preview leads

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

Coding benchmarks
BenchmarkCodestralGemini 3.1 Pro Preview
ALE-Bench137.781,161
SWE-bench Verified—75.6%
DeepSWE—11.7%
Aider Polyglot11.1%—
LMArena WebDev—1447
SciCode—58.9%
GSO—22.6%
WeirdML—72.1%
BigCodeBench Instruct41.8%—
LMArena Coding—1484
MirrorCode—8.9%
BigCodeBench Complete52.5%—
AlgoTune—2.02
HumanEval+73.8%—
MBPP+61.9%—

Agentic & Tool Use Not comparable

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

Agentic & Tool Use benchmarks
BenchmarkCodestralGemini 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 Gemini 3.1 Pro Preview leads

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

Reasoning benchmarks
BenchmarkCodestralGemini 3.1 Pro Preview
ARC-AGI-2—77.1%
SimpleBench—79.6%
Kagi LLM Benchmark32.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 Not comparable

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

Knowledge Not comparable

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

Knowledge benchmarks
BenchmarkCodestralGemini 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 Not comparable

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

Multimodal benchmarks
BenchmarkCodestralGemini 3.1 Pro Preview
LMArena Vision—1296
Blueprint-Bench 2—26.5%
Furniture Assembly—26.7%
LMArena Document—1444

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkCodestralGemini 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 Not comparable

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

Instruction Following benchmarks
BenchmarkCodestralGemini 3.1 Pro Preview
LMArena Instruction Following—1466

Long Context Not comparable

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

Long Context benchmarks
BenchmarkCodestralGemini 3.1 Pro Preview
CL-bench—20.8%
CL-bench Life—16.9%
LMArena Longer Query—1483

Writing & Preference Not comparable

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

Writing & Preference benchmarks
BenchmarkCodestralGemini 3.1 Pro Preview
LMArena Text—1481
LMArena Creative Writing—1482
EQ-Bench Creative Writing—1491
EQ-Bench 4—1142
LMArena Multi-Turn—1488

Frequently asked questions

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.

Related comparisons

Go deeper