Enter opens the highlighted result. Esc closes.

Codestral 2508 vs Gemini 3.1 Flash Lite Preview

Codestral 2508 costs 1.7x less per output token than Gemini 3.1 Flash Lite Preview ($0.90 vs $1.50 per million). Updated October 22, 2026; 7 benchmarks have a result for both.

Codestral 2508Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.90
0
Gemini 3.1 Flash Lite PreviewGoogle
Coding
22.7
Overall
36.6
Output $/M
$1.50
7
vs boards won of 7 shared

Codestral 2508 or Gemini 3.1 Flash Lite Preview: which to pick

Only Gemini 3.1 Flash Lite Preview has a coding score, 22.7 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding.

Pick Codestral 2508 for output tokens 1.7x cheaper ($0.90 vs $1.50 per million).

Shared results
7
Codestral 2508 only
1
Gemini 3.1 Flash Lite Preview only
72
Like-for-like categories
2 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
Codestral 2508 not benchmarked, Gemini 3.1 Flash Lite Preview 22.7 from 3 benchmarks.
Widest category
Coding, 22.0 points apart on average over 1 shared benchmark.
Widest single gap
ALE-Bench: Codestral 2508 137.8 against Gemini 3.1 Flash Lite Preview 797.7, 22.0 points apart on a 0 to 100 scale.
Output price
Codestral 2508 $0.90 against Gemini 3.1 Flash Lite Preview $1.50 per million output tokens, 1.7x apart.
Context window
Codestral 2508 takes 256K tokens, Gemini 3.1 Flash Lite 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.

Boards won, where both have a result
CategoryCodestral 2508BarsGemini 3.1 Flash Lite PreviewTies
Coding01
Web design06
All shared boards07
CodingLike-for-likeSix of these boards feed the Vibe Coding Index01
Coding benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
LMArena WebDevNot measured1257Only Gemini 3.1 Flash Lite Preview measured
AA Coding IndexNot measured34.7Only Gemini 3.1 Flash Lite Preview measured
LiveCodeBench (Vals AI)Not measured80.1%Only Gemini 3.1 Flash Lite Preview measured
SWE-bench Verified (Vals AI)Not measured62.8%Only Gemini 3.1 Flash Lite Preview measured
Vibe Code Bench (Vals AI)Not measured0.0%Only Gemini 3.1 Flash Lite Preview measured
Code migration (Vals AI)Not measured4.6%Only Gemini 3.1 Flash Lite Preview measured
ProgramBench (Vals AI)Not measured0.0%Only Gemini 3.1 Flash Lite Preview measured
Terminal-Bench 2.1 (Vals AI)Not measured34.1%Only Gemini 3.1 Flash Lite Preview measured
ALE-Bench137.8797.7Gemini 3.1 Flash Lite Preview
LMArena Text: codingNot measured1400Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: software and ITNot measured1413Only Gemini 3.1 Flash Lite Preview measured
LMArena WebDev: ReactNot measured1245Only Gemini 3.1 Flash Lite Preview measured
LMArena WebDev: HTMLNot measured1276Only Gemini 3.1 Flash Lite Preview measured
LMArena WebDev: from an imageNot measured1336Only Gemini 3.1 Flash Lite Preview measured
SciCodeNot measured4.6%Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 24 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
AA Intelligence IndexNot measured15.6Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Agentic work benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
AA Agentic IndexNot measured1.6Only Gemini 3.1 Flash Lite Preview measured
Finance Agent (Vals AI)Not measured30.0%Only Gemini 3.1 Flash Lite Preview measured
Tax Agent Bench (Vals AI)Not measured3.1%Only Gemini 3.1 Flash Lite Preview measured
Legal Research Bench (Vals AI)Not measured3.4%Only Gemini 3.1 Flash Lite Preview measured
Excel Modeling Benchmark (Vals AI)Not measured8.6%Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 36 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Reasoning benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
GPQA DiamondNot measured81.1%Only Gemini 3.1 Flash Lite Preview measured
MMMU Pro (Vals AI)Not measured82.5%Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: hard promptsNot measured1407Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: expertNot measured1398Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: hard prompts in EnglishNot measured1403Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: diagramsNot measured1242Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: homeworkNot measured1271Only Gemini 3.1 Flash Lite Preview measured
Kagi LLM Benchmark32.5%Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 14 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Math benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
AIMENot measured83.3%Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: mathNot measured1428Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: mathematical workNot measured1417Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 10 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Knowledge benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
MMLU ProNot measured86.2%Only Gemini 3.1 Flash Lite Preview measured
LegalBench (Vals AI)Not measured83.8%Only Gemini 3.1 Flash Lite Preview measured
CaseLaw (Vals AI)Not measured55.0%Only Gemini 3.1 Flash Lite Preview measured
CorpFin (Vals AI)Not measured59.4%Only Gemini 3.1 Flash Lite Preview measured
TaxEval (Vals AI)Not measured71.8%Only Gemini 3.1 Flash Lite Preview measured
MortgageTax (Vals AI)Not measured68.0%Only Gemini 3.1 Flash Lite Preview measured
MedCode (Vals AI)Not measured47.6%Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: scienceNot measured1425Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: medicine and healthcareNot measured1428Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: legal and governmentNot measured1418Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: business and financeNot measured1389Only Gemini 3.1 Flash Lite Preview measured
FACTS Benchmark SuiteNot measured51.4%Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
Design Arena: websites10121082Gemini 3.1 Flash Lite Preview
Design Arena: UI components10141069Gemini 3.1 Flash Lite Preview
Design Arena: game dev9671029Gemini 3.1 Flash Lite Preview
Design Arena: data viz10171045Gemini 3.1 Flash Lite Preview
Design Arena: 3D10191047Gemini 3.1 Flash Lite Preview
Design Arena: all code categories10071072Gemini 3.1 Flash Lite Preview
Design Arena: SVGNot measured1052Only Gemini 3.1 Flash Lite Preview measured
Design Arena: ASCII artNot measured1167Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 1 board here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index28 boards, none shared
General benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
SAGE (Vals AI)Not measured49.5%Only Gemini 3.1 Flash Lite Preview measured
MedScribe (Vals AI)Not measured63.9%Only Gemini 3.1 Flash Lite Preview measured
Vals Multimodal IndexNot measured41.4%Only Gemini 3.1 Flash Lite Preview measured
LMArena TextNot measured1416Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: instruction followingNot measured1377Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: creative writingNot measured1401Only Gemini 3.1 Flash Lite Preview measured
LMArena VisionNot measured1240Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: EnglishNot measured1414Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: non-EnglishNot measured1410Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: ChineseNot measured1460Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: GermanNot measured1430Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: JapaneseNot measured1413Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: KoreanNot measured1392Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: FrenchNot measured1424Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: SpanishNot measured1421Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: RussianNot measured1420Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: PolishNot measured1443Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: multi-turnNot measured1417Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: longer queriesNot measured1394Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: writing and languageNot measured1408Only Gemini 3.1 Flash Lite Preview measured
LMArena Text: entertainment and mediaNot measured1386Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: EnglishNot measured1232Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: ChineseNot measured1278Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: reading textNot measured1246Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: humorNot measured1266Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: captioningNot measured1259Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: recognizing thingsNot measured1308Only Gemini 3.1 Flash Lite Preview measured
LMArena Vision: creative writingNot measured1248Only Gemini 3.1 Flash Lite Preview measured
Neither model has a result on the other 18 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Codestral 2508 and Gemini 3.1 Flash Lite Preview
BenchmarkCodestral 2508Gemini 3.1 Flash Lite PreviewLeader
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

Codestral 2508$0.0008Fits in one request
Gemini 3.1 Flash Lite Preview$0.0010Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
Gemini 3.1 Flash Lite Preview$0.017Fits in one request

Gemini 3.1 Flash Lite Preview costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
Gemini 3.1 Flash Lite Preview$0.065Fits in one request

Gemini 3.1 Flash Lite Preview 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 Codestral 2508 and Gemini 3.1 Flash Lite Preview
SpecificationMistral Codestral 2508Google Gemini 3.1 Flash Lite Preview
MakerMistral AIGoogle
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025March 3, 2026
Context window256K1.05M
Input $/Mtok$0.30$0.25
Output $/Mtok$0.90$1.50
Coding indexNot benchmarked22.7
Independent measurements behind it03
Cost per solved taskNot computable$0.18
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than Gemini 3.1 Flash Lite Preview for coding?

Only Gemini 3.1 Flash Lite Preview has a coding score, 22.7 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding. Pick Codestral 2508 for output tokens 1.7x cheaper ($0.90 vs $1.50 per million).

Which is cheaper, Codestral 2508 or Gemini 3.1 Flash Lite Preview?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; Gemini 3.1 Flash Lite Preview costs $0.25 and $1.50. Cost per solved task is known for Gemini 3.1 Flash Lite Preview only.

Which has the bigger context window, Codestral 2508 or Gemini 3.1 Flash Lite Preview?

Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 256K.

How many benchmarks is the Codestral 2508 vs Gemini 3.1 Flash Lite Preview comparison based on?

7 benchmarks have a result for both models as of October 22, 2026. Codestral 2508's coding index rests on 0 independent benchmarks and Gemini 3.1 Flash Lite Preview's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next