Enter opens the highlighted result. Esc closes.

Codestral 2508 vs Gemini 3.8 Flash

Updated October 21, 2026. 7 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Codestral 2508Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.90
0
Gemini 3.8 FlashGoogle
Coding
61.6
Overall
40.9
Output $/M
$3.75
7
vs boards won of 7 shared

Decision reading

Only Gemini 3.8 Flash has a coding score, 61.6 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding.

Codestral 2508 has the edge where output tokens cost 4.2x less.

Shared results
7
Codestral 2508 only
0
Gemini 3.8 Flash only
119
Like-for-like categories
2 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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.8 Flash 61.6 from 6 benchmarks.
Widest category
Coding, 37.7 points apart on average over 1 shared benchmark.
Widest single gap
Design Arena: game dev: Codestral 2508 968 against Gemini 3.8 Flash 1305, 42.1 points apart on a 0 to 100 scale.
Output price
Codestral 2508 $0.90 against Gemini 3.8 Flash $3.75 per million output tokens, 4.2x apart.
Context window
Codestral 2508 takes 256K tokens, Gemini 3.8 Flash 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.8 FlashTies
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.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
LiveBench codingNot measured82.2%Only Gemini 3.8 Flash measured
LMArena WebDevNot measured1585Only Gemini 3.8 Flash measured
AA Coding IndexNot measured76.3Only Gemini 3.8 Flash measured
LiveCodeBench (Vals AI)Not measured89.5%Only Gemini 3.8 Flash measured
SWE-bench Verified (Vals AI)Not measured80.0%Only Gemini 3.8 Flash measured
Terminal-Bench 4 (Vals AI)Not measured19.7%Only Gemini 3.8 Flash measured
Vibe Code Bench (Vals AI)Not measured78.7%Only Gemini 3.8 Flash measured
Code migration (Vals AI)Not measured36.5%Only Gemini 3.8 Flash measured
ProgramBench (Vals AI)Not measured1.0%Only Gemini 3.8 Flash measured
IOI (Vals AI)Not measured56.9%Only Gemini 3.8 Flash measured
Terminal-Bench 2.1 (Vals AI)Not measured81.3%Only Gemini 3.8 Flash measured
SWE-bench Multimodal (Vals AI)Not measured40.8%Only Gemini 3.8 Flash measured
Vibe Code Bench 1-100 (Vals AI)Not measured18.8%Only Gemini 3.8 Flash measured
SkillsBench (Vals AI)Not measured58.0%Only Gemini 3.8 Flash measured
CyberBench (Vals AI)Not measured43.8%Only Gemini 3.8 Flash measured
SciCodeNot measured56.6%Only Gemini 3.8 Flash measured
FrontierCodeNot measured41.2%Only Gemini 3.8 Flash measured
FrontierSWENot measured19.6%Only Gemini 3.8 Flash measured
WeirdMLNot measured84.8%Only Gemini 3.8 Flash measured
ALE-Bench137.81269.7Gemini 3.8 Flash
LMArena Text: codingNot measured1508Only Gemini 3.8 Flash measured
LMArena Text: software and ITNot measured1507Only Gemini 3.8 Flash measured
LMArena WebDev: ReactNot measured1577Only Gemini 3.8 Flash measured
LMArena WebDev: HTMLNot measured1616Only Gemini 3.8 Flash measured
LMArena WebDev: from an imageNot measured1593Only Gemini 3.8 Flash measured
Neither model has a result on the other 13 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
AA Intelligence IndexNot measured40.9Only Gemini 3.8 Flash measured
Epoch Capabilities IndexNot measured157.4Only Gemini 3.8 Flash measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index25 boards, none shared
Agentic work benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
AA Agentic IndexNot measured40.2Only Gemini 3.8 Flash measured
Design Arena: agents building web appsNot measured1238Only Gemini 3.8 Flash measured
Design Arena: agents building full-stack appsNot measured1244Only Gemini 3.8 Flash measured
Design Arena: agents building mobile appsNot measured1236Only Gemini 3.8 Flash measured
Design Arena: agents building Android appsNot measured1071Only Gemini 3.8 Flash measured
Design Arena: agents building Godot gamesNot measured1273Only Gemini 3.8 Flash measured
Design Arena: PowerPoint slidesNot measured1178Only Gemini 3.8 Flash measured
Design Arena: spreadsheetsNot measured1051Only Gemini 3.8 Flash measured
LiveBench researchNot measured79.1%Only Gemini 3.8 Flash measured
LiveBench browserNot measured64.0%Only Gemini 3.8 Flash measured
LiveBench long agenticNot measured30.1%Only Gemini 3.8 Flash measured
SREBench (Vals AI)Not measured11.1%Only Gemini 3.8 Flash measured
Finance Agent (Vals AI)Not measured61.4%Only Gemini 3.8 Flash measured
Tax Agent Bench (Vals AI)Not measured32.1%Only Gemini 3.8 Flash measured
Legal Research Bench (Vals AI)Not measured38.9%Only Gemini 3.8 Flash measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured12.1%Only Gemini 3.8 Flash measured
Excel Modeling Benchmark (Vals AI)Not measured72.2%Only Gemini 3.8 Flash measured
BioMysteryBench (Vals AI)Not measured62.2%Only Gemini 3.8 Flash measured
Terminal-Bench-Science (Vals AI)Not measured8.6%Only Gemini 3.8 Flash measured
Vals Science IndexNot measured35.8%Only Gemini 3.8 Flash measured
Time Horizon Index (Vals AI)Not measured18.8%Only Gemini 3.8 Flash measured
CUA-bench (Vals AI)Not measured4.2%Only Gemini 3.8 Flash measured
APEX-AgentsNot measured64.3%Only Gemini 3.8 Flash measured
Remote Labor IndexNot measured5.8%Only Gemini 3.8 Flash measured
Vending-Bench 2Not measured$5,094Only Gemini 3.8 Flash measured
Neither model has a result on the other 14 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Reasoning benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
GPQA DiamondNot measured94.4%Only Gemini 3.8 Flash measured
LiveBench reasoningNot measured89.3%Only Gemini 3.8 Flash measured
MysteryMechanism (Vals AI)Not measured36.5%Only Gemini 3.8 Flash measured
MMMU Pro (Vals AI)Not measured89.1%Only Gemini 3.8 Flash measured
GPQA Diamond (Artificial Analysis run)Not measured95.3%Only Gemini 3.8 Flash measured
Humanity's Last Exam (Artificial Analysis run)Not measured47.8%Only Gemini 3.8 Flash measured
GPQA Diamond (Epoch AI run)Not measured95.4%Only Gemini 3.8 Flash measured
ARC-AGINot measured98.5%Only Gemini 3.8 Flash measured
ARC-AGI-2Not measured89.2%Only Gemini 3.8 Flash measured
Chess puzzlesNot measured58.0%Only Gemini 3.8 Flash measured
Mystery game puzzlesNot measured47.0%Only Gemini 3.8 Flash measured
LMArena Text: hard promptsNot measured1509Only Gemini 3.8 Flash measured
LMArena Text: expertNot measured1526Only Gemini 3.8 Flash measured
LMArena Text: hard prompts in EnglishNot measured1504Only Gemini 3.8 Flash measured
LMArena Vision: diagramsNot measured1345Only Gemini 3.8 Flash measured
LMArena Vision: homeworkNot measured1351Only Gemini 3.8 Flash measured
Neither model has a result on the other 5 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
OTIS Mock AIMENot measured98.9%Only Gemini 3.8 Flash measured
FrontierMath, tiers 1 to 3Not measured68.4%Only Gemini 3.8 Flash measured
FrontierMath, tier 4Not measured22.0%Only Gemini 3.8 Flash measured
ProofBenchNot measured48.0%Only Gemini 3.8 Flash measured
LMArena Text: mathNot measured1532Only Gemini 3.8 Flash measured
LMArena Text: mathematical workNot measured1519Only Gemini 3.8 Flash measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Knowledge benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
MMLU ProNot measured90.2%Only Gemini 3.8 Flash measured
LegalBench (Vals AI)Not measured87.0%Only Gemini 3.8 Flash measured
TaxEval (Vals AI)Not measured74.5%Only Gemini 3.8 Flash measured
MortgageTax (Vals AI)Not measured65.3%Only Gemini 3.8 Flash measured
MedCode (Vals AI)Not measured48.1%Only Gemini 3.8 Flash measured
SimpleQA VerifiedNot measured69.7%Only Gemini 3.8 Flash measured
LMArena Text: scienceNot measured1523Only Gemini 3.8 Flash measured
LMArena Text: medicine and healthcareNot measured1508Only Gemini 3.8 Flash measured
LMArena Text: legal and governmentNot measured1497Only Gemini 3.8 Flash measured
LMArena Text: business and financeNot measured1479Only Gemini 3.8 Flash measured
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
Design Arena: websites10131301Gemini 3.8 Flash
Design Arena: UI components10171318Gemini 3.8 Flash
Design Arena: game dev9681305Gemini 3.8 Flash
Design Arena: data viz10171269Gemini 3.8 Flash
Design Arena: 3D10201295Gemini 3.8 Flash
Design Arena: all code categories10071304Gemini 3.8 Flash
Design Arena: SVGNot measured1295Only Gemini 3.8 Flash measured
Design Arena: ASCII artNot measured1264Only Gemini 3.8 Flash measured
LiveBench designNot measured72.7%Only Gemini 3.8 Flash measured
GeneralDirectional onlyPublic boards, shown as published, kept out of the index33 boards, none shared
General benchmarks for Codestral 2508 and Gemini 3.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
Vals IndexNot measured56.0%Only Gemini 3.8 Flash measured
LiveBench data analysisNot measured54.0%Only Gemini 3.8 Flash measured
Public Benefits Bench (Vals AI)Not measured65.3%Only Gemini 3.8 Flash measured
SAGE (Vals AI)Not measured35.1%Only Gemini 3.8 Flash measured
MedScribe (Vals AI)Not measured84.5%Only Gemini 3.8 Flash measured
Long context reasoning (AA-LCR)Not measured84.0%Only Gemini 3.8 Flash measured
DTBenchNot measured95.7%Only Gemini 3.8 Flash measured
LMCANot measured52.9%Only Gemini 3.8 Flash measured
Surface Evolver BenchNot measured76.9%Only Gemini 3.8 Flash measured
Furniture assemblyNot measured31.7%Only Gemini 3.8 Flash measured
LMArena TextNot measured1499Only Gemini 3.8 Flash measured
LMArena Text: instruction followingNot measured1492Only Gemini 3.8 Flash measured
LMArena Text: creative writingNot measured1488Only Gemini 3.8 Flash measured
LMArena VisionNot measured1315Only Gemini 3.8 Flash measured
LMArena Text: EnglishNot measured1498Only Gemini 3.8 Flash measured
LMArena Text: non-EnglishNot measured1491Only Gemini 3.8 Flash measured
LMArena Text: ChineseNot measured1553Only Gemini 3.8 Flash measured
LMArena Text: GermanNot measured1501Only Gemini 3.8 Flash measured
LMArena Text: JapaneseNot measured1507Only Gemini 3.8 Flash measured
LMArena Text: KoreanNot measured1464Only Gemini 3.8 Flash measured
LMArena Text: FrenchNot measured1496Only Gemini 3.8 Flash measured
LMArena Text: SpanishNot measured1487Only Gemini 3.8 Flash measured
LMArena Text: RussianNot measured1514Only Gemini 3.8 Flash measured
LMArena Text: PolishNot measured1497Only Gemini 3.8 Flash measured
LMArena Text: multi-turnNot measured1503Only Gemini 3.8 Flash measured
LMArena Text: longer queriesNot measured1507Only Gemini 3.8 Flash measured
LMArena Text: writing and languageNot measured1494Only Gemini 3.8 Flash measured
LMArena Text: entertainment and mediaNot measured1480Only Gemini 3.8 Flash measured
LMArena Vision: EnglishNot measured1318Only Gemini 3.8 Flash measured
LMArena Vision: ChineseNot measured1416Only Gemini 3.8 Flash measured
LMArena Vision: reading textNot measured1333Only Gemini 3.8 Flash measured
LMArena Vision: humorNot measured1321Only Gemini 3.8 Flash measured
LMArena Vision: creative writingNot measured1299Only Gemini 3.8 Flash measured
Neither model has a result on the other 13 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.8 Flash
BenchmarkCodestral 2508Gemini 3.8 FlashLeader
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.8 Flash$0.0026Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
Gemini 3.8 Flash$0.049Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
Gemini 3.8 Flash$0.188Fits in one request

Codestral 2508 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.8 Flash
SpecificationMistral Codestral 2508Google Gemini 3.8 Flash
MakerMistral AIGoogle
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025September 2, 2026
Context window256K1.05M
Input $/Mtok$0.30$0.75
Output $/Mtok$0.90$3.75
Coding indexNot benchmarked61.6
Independent measurements behind it06
Cost per solved taskNot computable$2.74
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than Gemini 3.8 Flash for coding?

Only Gemini 3.8 Flash has a coding score, 61.6 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding. Codestral 2508 has the edge where output tokens cost 4.2x less.

Which is cheaper, Codestral 2508 or Gemini 3.8 Flash?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; Gemini 3.8 Flash costs $0.75 and $3.75. Cost per solved task is known for Gemini 3.8 Flash only.

Which has the bigger context window, Codestral 2508 or Gemini 3.8 Flash?

Gemini 3.8 Flash, with 1.05M tokens against 256K.

How many benchmarks is the Codestral 2508 vs Gemini 3.8 Flash comparison based on?

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

Compare next