Enter opens the highlighted result. Esc closes.

Codestral 2508 vs Granite 4.2 8B

Granite 4.2 8B costs 4.5x less per output token than Codestral 2508 ($0.20 vs $0.90 per million). Updated October 22, 2026; no benchmark has tested both models yet.

Codestral 2508Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.90
Granite 4.2 8BIBM Granite
Coding
No data
Overall
No data
Output $/M
$0.20
vs $0.90 vs $0.20 per 1M output tokens. Granite 4.2 8B is 4.5x cheaper.

Codestral 2508 or Granite 4.2 8B: which to pick

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

Pick Codestral 2508 for a larger context window (256K against 131K tokens).

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Kagi LLM Benchmark and Design Arena: websites; Granite 4.2 8B on AA Coding Index, SciCode and LMArena Text: coding. 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, Granite 4.2 8B 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 Granite 4.2 8B $0.20 per million output tokens, 4.5x apart.
Context window
Codestral 2508 takes 256K tokens, Granite 4.2 8B 131K.

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 Index5 boards measured
Coding benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
AA Coding IndexNot measured22.4Only Granite 4.2 8B measured
SciCodeNot measured31.5%Only Granite 4.2 8B measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena Text: codingNot measured1378Only Granite 4.2 8B measured
LMArena Text: software and ITNot measured1367Only Granite 4.2 8B measured
Neither model has a result on the other 34 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
AA Intelligence IndexNot measured11.1Only Granite 4.2 8B measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Agentic work benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
AA Agentic IndexNot measured1.3Only Granite 4.2 8B measured
Neither model has a result on the other 40 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Reasoning benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
GPQA Diamond (Artificial Analysis run)Not measured63.1%Only Granite 4.2 8B measured
Humanity's Last Exam (Artificial Analysis run)Not measured9.7%Only Granite 4.2 8B measured
LMArena Text: hard promptsNot measured1327Only Granite 4.2 8B measured
LMArena Text: expertNot measured1386Only Granite 4.2 8B measured
LMArena Text: hard prompts in EnglishNot measured1345Only Granite 4.2 8B measured
Kagi LLM Benchmark32.5%Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 16 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index4 boards measured
Knowledge benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
LMArena Text: scienceNot measured1336Only Granite 4.2 8B measured
LMArena Text: medicine and healthcareNot measured1336Only Granite 4.2 8B measured
LMArena Text: legal and governmentNot measured1327Only Granite 4.2 8B measured
LMArena Text: business and financeNot measured1322Only Granite 4.2 8B measured
Neither model has a result on the other 14 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Web design benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
Design Arena: websites1012Not measuredOnly Codestral 2508 measured
Design Arena: UI components1014Not measuredOnly Codestral 2508 measured
Design Arena: game dev967Not measuredOnly Codestral 2508 measured
Design Arena: data viz1017Not measuredOnly Codestral 2508 measured
Design Arena: 3D1019Not 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 index12 boards measured
General benchmarks for Codestral 2508 and Granite 4.2 8B
BenchmarkCodestral 2508Granite 4.2 8BLeader
Long context reasoning (AA-LCR)Not measured45.0%Only Granite 4.2 8B measured
LMArena TextNot measured1319Only Granite 4.2 8B measured
LMArena Text: instruction followingNot measured1300Only Granite 4.2 8B measured
LMArena Text: creative writingNot measured1236Only Granite 4.2 8B measured
LMArena Text: EnglishNot measured1337Only Granite 4.2 8B measured
LMArena Text: non-EnglishNot measured1301Only Granite 4.2 8B measured
LMArena Text: ChineseNot measured1367Only Granite 4.2 8B measured
LMArena Text: RussianNot measured1282Only Granite 4.2 8B measured
LMArena Text: multi-turnNot measured1301Only Granite 4.2 8B measured
LMArena Text: longer queriesNot measured1325Only Granite 4.2 8B measured
LMArena Text: writing and languageNot measured1269Only Granite 4.2 8B measured
LMArena Text: entertainment and mediaNot measured1271Only Granite 4.2 8B measured
Neither model has a result on the other 34 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
Granite 4.2 8B$0.0002Fits in one request

Granite 4.2 8B costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
Granite 4.2 8B$0.0046Fits in one request

Granite 4.2 8B costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
Granite 4.2 8B$0.018Exceeds the context window

Granite 4.2 8B 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 Granite 4.2 8B
SpecificationMistral Codestral 2508IBM Granite 4.2 8B
MakerMistral AIIBM Granite
WeightsNo public weights listedOpen weights
ReleasedAugust 1, 2025August 31, 2026
Context window256K131K
Input $/Mtok$0.30$0.08
Output $/Mtok$0.90$0.20
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than Granite 4.2 8B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Codestral 2508 for a larger context window (256K against 131K tokens).

Which is cheaper, Codestral 2508 or Granite 4.2 8B?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; Granite 4.2 8B costs $0.08 and $0.20. Cost per solved task is known for neither of them.

Which has the bigger context window, Codestral 2508 or Granite 4.2 8B?

Codestral 2508, with 256K tokens against 131K.

Has any benchmark tested both Codestral 2508 and Granite 4.2 8B?

No benchmark has tested both yet. Codestral 2508 has results on ALE-Bench, Kagi LLM Benchmark and Design Arena: websites; Granite 4.2 8B on AA Coding Index, SciCode and LMArena Text: coding. Compare them on price and context instead. Data as of October 22, 2026.

Compare next