Claude Opus 4.7 vs Codestral 2508
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.
- Coding
- 67.5
- Overall
- 40.7
- Output $/M
- $25.00
- Coding
- No data
- Overall
- No data
- Output $/M
- $0.90
Decision reading
Only Claude Opus 4.7 has a coding score, 67.5 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 27.8x less.
No benchmark has tested both yet. Claude Opus 4.7 has results on LMArena WebDev, AA Coding Index and LiveCodeBench (Vals AI); Codestral 2508 on ALE-Bench, Design Arena: websites and Design Arena: UI components. 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only Claude Opus 4.7 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
No call
Only Claude Opus 4.7 has a AA Intelligence Index result, 40.7.
Directional only
Agentic work
AA Agentic Index
No call
Only Claude Opus 4.7 has a AA Agentic Index result, 38.6.
Directional only
Reasoning
GPQA Diamond
No call
Only Claude Opus 4.7 has a GPQA Diamond result, 90.2%.
Directional only
Math
AIME
No call
Only Claude Opus 4.7 has a AIME result, 96.3%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Opus 4.7 has a MMLU Pro result, 89.9%.
Directional only
Web design
Design Arena: websites
No call
Only Codestral 2508 has a Design Arena: websites result, 1013.
Directional only
Long documents
Listed context window
Claude Opus 4.7
Claude Opus 4.7 takes 1M tokens against 256K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Codestral 2508
Claude Opus 4.7 $0.018, Codestral 2508 $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Claude Opus 4.7 has the number, $2.95.
Directional only
At a glance
- Coding index
- Claude Opus 4.7 67.5 from 4 benchmarks, Codestral 2508 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
- Claude Opus 4.7 $25.00 against Codestral 2508 $0.90 per million output tokens, 27.8x apart.
- Context window
- Claude Opus 4.7 takes 1M tokens, Codestral 2508 256K.
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 Index20 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| LMArena WebDev | 1558 | Not measured | Only Claude Opus 4.7 measured |
| AA Coding Index | 73.6 | Not measured | Only Claude Opus 4.7 measured |
| LiveCodeBench (Vals AI) | 85.1% | Not measured | Only Claude Opus 4.7 measured |
| SWE-bench Verified (Vals AI) | 82.0% | Not measured | Only Claude Opus 4.7 measured |
| Vibe Code Bench (Vals AI) | 71.0% | Not measured | Only Claude Opus 4.7 measured |
| Code migration (Vals AI) | 43.9% | Not measured | Only Claude Opus 4.7 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | 68.5% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 54.5% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench | 80.2% | Not measured | Only Claude Opus 4.7 measured |
| FrontierCode | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| GSO-Bench | 44.1% | Not measured | Only Claude Opus 4.7 measured |
| WeirdML | 76.4% | Not measured | Only Claude Opus 4.7 measured |
| MirrorCode | 31.1% | Not measured | Only Claude Opus 4.7 measured |
| ALE-Bench | Not measured | 137.8 | Only Codestral 2508 measured |
| LMArena Text: coding | 1519 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: software and IT | 1516 | Not measured | Only Claude Opus 4.7 measured |
| LMArena WebDev: React | 1560 | Not measured | Only Claude Opus 4.7 measured |
| LMArena WebDev: HTML | 1554 | Not measured | Only Claude Opus 4.7 measured |
| LMArena WebDev: from an image | 1577 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| AA Intelligence Index | 40.7 | Not measured | Only Claude Opus 4.7 measured |
| Epoch Capabilities Index | 156.8 | Not measured | Only Claude Opus 4.7 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| AA Agentic Index | 38.6 | Not measured | Only Claude Opus 4.7 measured |
| Finance Agent (Vals AI) | 51.5% | Not measured | Only Claude Opus 4.7 measured |
| Tax Agent Bench (Vals AI) | 23.7% | Not measured | Only Claude Opus 4.7 measured |
| Legal Research Bench (Vals AI) | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 63.7% | Not measured | Only Claude Opus 4.7 measured |
| τ²-Bench Telecom | 88.6% | Not measured | Only Claude Opus 4.7 measured |
| APEX-Agents | 49.2% | Not measured | Only Claude Opus 4.7 measured |
| OSWorld 2.0 | 18.2% | Not measured | Only Claude Opus 4.7 measured |
| PostTrainBench | 28.6% | Not measured | Only Claude Opus 4.7 measured |
| Vending-Bench 2 | $10,937 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Search | 1230 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 28 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index16 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | Not measured | Only Claude Opus 4.7 measured |
| MMMU Pro (Vals AI) | 85.5% | Not measured | Only Claude Opus 4.7 measured |
| GPQA Diamond (Artificial Analysis run) | 91.4% | Not measured | Only Claude Opus 4.7 measured |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | Not measured | Only Claude Opus 4.7 measured |
| GPQA Diamond (Epoch AI run) | 90.2% | Not measured | Only Claude Opus 4.7 measured |
| ARC-AGI | 93.5% | Not measured | Only Claude Opus 4.7 measured |
| ARC-AGI-2 | 75.8% | Not measured | Only Claude Opus 4.7 measured |
| SimpleBench | 61.7% | Not measured | Only Claude Opus 4.7 measured |
| Chess puzzles | 41.0% | Not measured | Only Claude Opus 4.7 measured |
| Mystery game puzzles | 28.0% | Not measured | Only Claude Opus 4.7 measured |
| EBR-bench | 19.0% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: hard prompts | 1506 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: expert | 1521 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: hard prompts in English | 1508 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: diagrams | 1336 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: homework | 1337 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 5 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| AIME | 96.3% | Not measured | Only Claude Opus 4.7 measured |
| OTIS Mock AIME | 97.8% | Not measured | Only Claude Opus 4.7 measured |
| FrontierMath, tiers 1 to 3 | 70.2% | Not measured | Only Claude Opus 4.7 measured |
| FrontierMath, tier 4 | 31.7% | Not measured | Only Claude Opus 4.7 measured |
| ProofBench | 54.0% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: math | 1498 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: mathematical work | 1509 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | Not measured | Only Claude Opus 4.7 measured |
| LegalBench (Vals AI) | 85.3% | Not measured | Only Claude Opus 4.7 measured |
| CaseLaw (Vals AI) | 68.4% | Not measured | Only Claude Opus 4.7 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only Claude Opus 4.7 measured |
| TaxEval (Vals AI) | 75.3% | Not measured | Only Claude Opus 4.7 measured |
| MortgageTax (Vals AI) | 70.3% | Not measured | Only Claude Opus 4.7 measured |
| MedCode (Vals AI) | 54.9% | Not measured | Only Claude Opus 4.7 measured |
| SimpleQA Verified | 51.7% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: science | 1508 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: medicine and healthcare | 1495 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: legal and government | 1504 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: business and finance | 1490 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1013 | Only Codestral 2508 measured |
| Design Arena: UI components | Not measured | 1017 | Only Codestral 2508 measured |
| Design Arena: game dev | Not measured | 968 | Only Codestral 2508 measured |
| Design Arena: data viz | Not measured | 1017 | Only Codestral 2508 measured |
| Design Arena: 3D | Not measured | 1020 | Only Codestral 2508 measured |
| Design Arena: all code categories | Not measured | 1007 | Only Codestral 2508 measured |
| Neither model has a result on the other 3 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index34 boards measured
| Benchmark | Claude Opus 4.7 | Codestral 2508 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 56.1% | Not measured | Only Claude Opus 4.7 measured |
| MedScribe (Vals AI) | 83.0% | Not measured | Only Claude Opus 4.7 measured |
| Vals Multimodal Index | 67.4% | Not measured | Only Claude Opus 4.7 measured |
| IFBench | 58.6% | Not measured | Only Claude Opus 4.7 measured |
| Long context reasoning (AA-LCR) | 78.7% | Not measured | Only Claude Opus 4.7 measured |
| DTBench | 94.7% | Not measured | Only Claude Opus 4.7 measured |
| LMCA | 52.2% | Not measured | Only Claude Opus 4.7 measured |
| Furniture assembly | 33.3% | Not measured | Only Claude Opus 4.7 measured |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text | 1490 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: instruction following | 1498 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: creative writing | 1486 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision | 1317 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: English | 1496 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: non-English | 1480 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Chinese | 1531 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: German | 1495 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Japanese | 1474 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Korean | 1464 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: French | 1503 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Spanish | 1494 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Russian | 1494 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Polish | 1489 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: multi-turn | 1505 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: longer queries | 1505 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: writing and language | 1492 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: entertainment and media | 1474 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: English | 1322 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: Chinese | 1371 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: reading text | 1327 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: humor | 1309 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: recognizing things | 1278 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: creative writing | 1326 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Document | 1495 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 12 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 costs less
Repository review
50K input + 3K output tokens
Codestral 2508 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Anthropic Claude Opus 4.7 | Mistral Codestral 2508 |
|---|---|---|
| Maker | Anthropic | Mistral AI |
| Weights | No public weights listed | No public weights listed |
| Released | April 16, 2026 | August 1, 2025 |
| Context window | 1M | 256K |
| Input $/Mtok | $5.00 | $0.30 |
| Output $/Mtok | $25.00 | $0.90 |
| Coding index | 67.5 | Not benchmarked |
| Independent measurements behind it | 4 | 0 |
| Cost per solved task | $2.95 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than Codestral 2508 for coding?
Only Claude Opus 4.7 has a coding score, 67.5 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 27.8x less.
Which is cheaper, Claude Opus 4.7 or Codestral 2508?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Codestral 2508 costs $0.30 and $0.90. Cost per solved task is known for Claude Opus 4.7 only.
Which has the bigger context window, Claude Opus 4.7 or Codestral 2508?
Claude Opus 4.7, with 1M tokens against 256K.
Has any benchmark tested both Claude Opus 4.7 and Codestral 2508?
No benchmark has tested both yet. Claude Opus 4.7 has results on LMArena WebDev, AA Coding Index and LiveCodeBench (Vals AI); Codestral 2508 on ALE-Bench, Design Arena: websites and Design Arena: UI components. Compare them on price and context instead. Data as of October 21, 2026.