Enter opens the highlighted result. Esc closes.

Codestral 2508 vs Gemma 2 27B

Updated October 21, 2026. No benchmark has tested both models yet. 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
Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
vs $0.90 vs $0.65 per 1M output tokens. Gemma 2 27B is 1.4x cheaper.

Decision reading

Neither model has a coding score yet, so the two cannot be ranked on coding.

Codestral 2508 has the edge where the context window is larger, 256K against 8K tokens.

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Design Arena: websites and Design Arena: UI components; Gemma 2 27B on LMArena Text: coding, LMArena Text: software and IT and Epoch Capabilities Index. Compare them on price and context instead.

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, Gemma 2 27B not benchmarked.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
Codestral 2508 $0.90 against Gemma 2 27B $0.65 per million output tokens, 1.4x apart.
Context window
Codestral 2508 takes 256K tokens, Gemma 2 27B 8K.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index3 boards measured
Coding benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena Text: codingNot measured1211Only Gemma 2 27B measured
LMArena Text: software and ITNot measured1228Only Gemma 2 27B measured
Neither model has a result on the other 35 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
Epoch Capabilities IndexNot measured122.1Only Gemma 2 27B measured
Neither model has a result on the other 1 board here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Reasoning benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
GPQA Diamond (Epoch AI run)Not measured36.5%Only Gemma 2 27B measured
LMArena Text: hard promptsNot measured1198Only Gemma 2 27B measured
LMArena Text: expertNot measured1171Only Gemma 2 27B measured
LMArena Text: hard prompts in EnglishNot measured1206Only Gemma 2 27B measured
Neither model has a result on the other 17 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Math benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
OTIS Mock AIMENot measured1.4%Only Gemma 2 27B measured
MATH level 5Not measured27.9%Only Gemma 2 27B measured
LMArena Text: mathNot measured1212Only Gemma 2 27B measured
LMArena Text: mathematical workNot measured1221Only Gemma 2 27B measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Knowledge benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
LegalBench (Vals AI)Not measured68.0%Only Gemma 2 27B measured
MMLUNot measured75.7%Only Gemma 2 27B measured
LMArena Text: scienceNot measured1228Only Gemma 2 27B measured
LMArena Text: medicine and healthcareNot measured1198Only Gemma 2 27B measured
LMArena Text: legal and governmentNot measured1241Only Gemma 2 27B measured
LMArena Text: business and financeNot measured1208Only Gemma 2 27B measured
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Web design benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
Design Arena: websites1013Not measuredOnly Codestral 2508 measured
Design Arena: UI components1017Not measuredOnly Codestral 2508 measured
Design Arena: game dev968Not measuredOnly Codestral 2508 measured
Design Arena: data viz1017Not measuredOnly Codestral 2508 measured
Design Arena: 3D1020Not measuredOnly Codestral 2508 measured
Design Arena: all code categories1007Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 3 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index19 boards measured
General benchmarks for Codestral 2508 and Gemma 2 27B
BenchmarkCodestral 2508Gemma 2 27BLeader
DTBenchNot measured48.0%Only Gemma 2 27B measured
LMCANot measured7.1%Only Gemma 2 27B measured
LMArena TextNot measured1231Only Gemma 2 27B measured
LMArena Text: instruction followingNot measured1206Only Gemma 2 27B measured
LMArena Text: creative writingNot measured1240Only Gemma 2 27B measured
LMArena Text: EnglishNot measured1242Only Gemma 2 27B measured
LMArena Text: non-EnglishNot measured1217Only Gemma 2 27B measured
LMArena Text: ChineseNot measured1221Only Gemma 2 27B measured
LMArena Text: GermanNot measured1209Only Gemma 2 27B measured
LMArena Text: JapaneseNot measured1175Only Gemma 2 27B measured
LMArena Text: KoreanNot measured1174Only Gemma 2 27B measured
LMArena Text: FrenchNot measured1248Only Gemma 2 27B measured
LMArena Text: SpanishNot measured1228Only Gemma 2 27B measured
LMArena Text: RussianNot measured1234Only Gemma 2 27B measured
LMArena Text: PolishNot measured1277Only Gemma 2 27B measured
LMArena Text: multi-turnNot measured1224Only Gemma 2 27B measured
LMArena Text: longer queriesNot measured1230Only Gemma 2 27B measured
LMArena Text: writing and languageNot measured1249Only Gemma 2 27B measured
LMArena Text: entertainment and mediaNot measured1212Only Gemma 2 27B measured
Neither model has a result on the other 27 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
Gemma 2 27B$0.0010Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
Gemma 2 27B$0.034Exceeds the context window

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
Gemma 2 27B$0.137Exceeds the context window

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 Gemma 2 27B
SpecificationMistral Codestral 2508Google Gemma 2 27B
MakerMistral AIGoogle
WeightsNo public weights listedOpen weights
ReleasedAugust 1, 2025July 13, 2024
Context window256K8K
Input $/Mtok$0.30$0.65
Output $/Mtok$0.90$0.65
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than Gemma 2 27B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Codestral 2508 has the edge where the context window is larger, 256K against 8K tokens.

Which is cheaper, Codestral 2508 or Gemma 2 27B?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; Gemma 2 27B costs $0.65 and $0.65. Cost per solved task is known for neither of them.

Which has the bigger context window, Codestral 2508 or Gemma 2 27B?

Codestral 2508, with 256K tokens against 8K.

Has any benchmark tested both Codestral 2508 and Gemma 2 27B?

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Design Arena: websites and Design Arena: UI components; Gemma 2 27B on LMArena Text: coding, LMArena Text: software and IT and Epoch Capabilities Index. Compare them on price and context instead. Data as of October 21, 2026.

Compare next