Enter opens the highlighted result. Esc closes.

Codestral 2508 vs Grok 4.7

Updated October 21, 2026. 6 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
Grok 4.7xAI
Coding
66.7
Overall
46.4
Output $/M
$6.00
6
vs boards won of 6 shared

Decision reading

Only Grok 4.7 has a coding score, 66.7 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 6.7x less.

Shared results
6
Codestral 2508 only
1
Grok 4.7 only
93
Like-for-like categories
1 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, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Web design, 32.8 points apart on average over 6 shared benchmarks.
Widest single gap
Design Arena: game dev: Codestral 2508 968 against Grok 4.7 1312, 43.0 points apart on a 0 to 100 scale.
Output price
Codestral 2508 $0.90 against Grok 4.7 $6.00 per million output tokens, 6.7x apart.
Context window
Codestral 2508 takes 256K tokens, Grok 4.7 500K.

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 2508BarsGrok 4.7Ties
Web design06
All shared boards06
CodingDirectional onlySix of these boards feed the Vibe Coding Index19 boards, none shared
Coding benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDevNot measured1637Only Grok 4.7 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)Not measured86.2%Only Grok 4.7 measured
Code migration (Vals AI)Not measured44.8%Only Grok 4.7 measured
ProgramBench (Vals AI)Not measured0.5%Only Grok 4.7 measured
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)Not measured73.4%Only Grok 4.7 measured
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
SciCodeNot measured57.8%Only Grok 4.7 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena Text: codingNot measured1432Only Grok 4.7 measured
LMArena Text: software and ITNot measured1421Only Grok 4.7 measured
LMArena WebDev: ReactNot measured1663Only Grok 4.7 measured
LMArena WebDev: HTMLNot measured1627Only Grok 4.7 measured
LMArena WebDev: from an imageNot measured1586Only Grok 4.7 measured
Neither model has a result on the other 19 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
AA Intelligence IndexNot measured46.4Only Grok 4.7 measured
Epoch Capabilities IndexNot measured154.4Only Grok 4.7 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
Agentic work benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
LiveBench researchNot measured86.4%Only Grok 4.7 measured
LiveBench browserNot measured60.0%Only Grok 4.7 measured
LiveBench long agenticNot measured50.1%Only Grok 4.7 measured
SREBench (Vals AI)Not measured3.8%Only Grok 4.7 measured
Finance Agent (Vals AI)Not measured52.3%Only Grok 4.7 measured
Tax Agent Bench (Vals AI)Not measured34.2%Only Grok 4.7 measured
Legal Research Bench (Vals AI)Not measured47.1%Only Grok 4.7 measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured18.3%Only Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)Not measured67.0%Only Grok 4.7 measured
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)Not measured10.0%Only Grok 4.7 measured
Vals Science IndexNot measured34.8%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
Vending-Bench 2Not measured$10,537Only Grok 4.7 measured
Neither model has a result on the other 24 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Reasoning benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
Humanity's Last Exam (Artificial Analysis run)Not measured43.1%Only Grok 4.7 measured
GPQA Diamond (Epoch AI run)Not measured92.7%Only Grok 4.7 measured
ARC-AGINot measured90.2%Only Grok 4.7 measured
ARC-AGI-2Not measured61.4%Only Grok 4.7 measured
Chess puzzlesNot measured41.0%Only Grok 4.7 measured
Mystery game puzzlesNot measured29.0%Only Grok 4.7 measured
LMArena Text: hard promptsNot measured1415Only Grok 4.7 measured
LMArena Text: expertNot measured1439Only Grok 4.7 measured
LMArena Text: hard prompts in EnglishNot measured1427Only Grok 4.7 measured
LMArena Vision: diagramsNot measured1254Only Grok 4.7 measured
LMArena Vision: homeworkNot measured1309Only Grok 4.7 measured
Neither model has a result on the other 8 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
OTIS Mock AIMENot measured98.1%Only Grok 4.7 measured
FrontierMath, tiers 1 to 3Not measured53.0%Only Grok 4.7 measured
FrontierMath, tier 4Not measured17.1%Only Grok 4.7 measured
ProofBenchNot measured26.0%Only Grok 4.7 measured
LMArena Text: mathNot measured1414Only Grok 4.7 measured
LMArena Text: mathematical workNot measured1435Only Grok 4.7 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Knowledge benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
LegalBench (Vals AI)Not measured84.4%Only Grok 4.7 measured
MedCode (Vals AI)Not measured49.5%Only Grok 4.7 measured
SimpleQA VerifiedNot measured56.0%Only Grok 4.7 measured
LMArena Text: scienceNot measured1419Only Grok 4.7 measured
LMArena Text: medicine and healthcareNot measured1395Only Grok 4.7 measured
LMArena Text: legal and governmentNot measured1423Only Grok 4.7 measured
LMArena Text: business and financeNot measured1389Only Grok 4.7 measured
Neither model has a result on the other 10 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
Design Arena: websites10131254Grok 4.7
Design Arena: UI components10171273Grok 4.7
Design Arena: game dev9681312Grok 4.7
Design Arena: data viz10171235Grok 4.7
Design Arena: 3D10201270Grok 4.7
Design Arena: all code categories10071271Grok 4.7
LiveBench designNot measured78.0%Only Grok 4.7 measured
Neither model has a result on the other 2 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index31 boards, none shared
General benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysisNot measured76.9%Only Grok 4.7 measured
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)Not measured40.8%Only Grok 4.7 measured
MedScribe (Vals AI)Not measured89.4%Only Grok 4.7 measured
Long context reasoning (AA-LCR)Not measured80.0%Only Grok 4.7 measured
DTBenchNot measured96.0%Only Grok 4.7 measured
LMCANot measured49.4%Only Grok 4.7 measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena TextNot measured1399Only Grok 4.7 measured
LMArena Text: instruction followingNot measured1406Only Grok 4.7 measured
LMArena Text: creative writingNot measured1381Only Grok 4.7 measured
LMArena VisionNot measured1231Only Grok 4.7 measured
LMArena Text: EnglishNot measured1411Only Grok 4.7 measured
LMArena Text: non-EnglishNot measured1386Only Grok 4.7 measured
LMArena Text: ChineseNot measured1449Only Grok 4.7 measured
LMArena Text: GermanNot measured1366Only Grok 4.7 measured
LMArena Text: JapaneseNot measured1359Only Grok 4.7 measured
LMArena Text: KoreanNot measured1383Only Grok 4.7 measured
LMArena Text: FrenchNot measured1431Only Grok 4.7 measured
LMArena Text: SpanishNot measured1406Only Grok 4.7 measured
LMArena Text: RussianNot measured1399Only Grok 4.7 measured
LMArena Text: PolishNot measured1420Only Grok 4.7 measured
LMArena Text: multi-turnNot measured1394Only Grok 4.7 measured
LMArena Text: longer queriesNot measured1416Only Grok 4.7 measured
LMArena Text: writing and languageNot measured1394Only Grok 4.7 measured
LMArena Text: entertainment and mediaNot measured1376Only Grok 4.7 measured
LMArena Vision: EnglishNot measured1229Only Grok 4.7 measured
LMArena Vision: ChineseNot measured1250Only Grok 4.7 measured
LMArena Vision: reading textNot measured1241Only Grok 4.7 measured
LMArena Vision: creative writingNot measured1217Only Grok 4.7 measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Codestral 2508 and Grok 4.7
BenchmarkCodestral 2508Grok 4.7Leader
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
Grok 4.7$0.0050Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
Grok 4.7$0.118Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
Grok 4.7$0.460Fits 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 Grok 4.7
SpecificationMistral Codestral 2508SpaceXAI Grok 4.7
MakerMistral AIxAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 1, 2025September 21, 2026
Context window256K500K
Input $/Mtok$0.30$2.00
Output $/Mtok$0.90$6.00
Coding indexNot benchmarked66.7
Independent measurements behind it05
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than Grok 4.7 for coding?

Only Grok 4.7 has a coding score, 66.7 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 6.7x less.

Which is cheaper, Codestral 2508 or Grok 4.7?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for neither of them.

Which has the bigger context window, Codestral 2508 or Grok 4.7?

Grok 4.7, with 500K tokens against 256K.

How many benchmarks is the Codestral 2508 vs Grok 4.7 comparison based on?

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

Compare next