Claude Opus 4.8 vs Codestral 2508
Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.
$0.30 vs $5.00 / 1M
$0.90 vs $25.00 / 1M
—
1M vs 256K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | Claude Opus 4.8 | Codestral 2508 |
|---|---|---|
| Reasoning | max/xhigh/high/medium/low/none | — |
| Input Modalities | text, image | text, file |
| Tools & JSON | Tools · JSON | Tools |
| Prompt Caching | $0.50/1M | $0.03/1M |
| Open-Weight | Proprietary | Open |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Claude Opus 4.8 and Codestral 2508.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Live provider uptime, latency, throughput, and parameter support for anthropic/claude-opus-4.8.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $5.00 | $0.30 | Codestral 2508 -94% |
| Output / 1M | $25.00 | $0.90 | Codestral 2508 -96% |
| 5m Cache Write / 1M | $6.25 | $0.30 | Codestral 2508 -95% |
| 1h Cache Write / 1M | $10.00 | — | — |
| Cache Read | $0.50 | $0.03 | Codestral 2508 -94% |
| Web Search / Call | $0.01 | — | — |
| Context | 1M (1,000,000) | 256K (256,000) | Claude Opus 4.8 3.9× |
| Max Output | 128K (128,000) | 205K (204,800) | Codestral 2508 1.6× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text, image | text, file | Equal |
| Reasoning | max, xhigh, high, medium, low, none | Not listed | Claude Opus 4.8 |
| Structured Outputs(JSON Schema) | Supported | Not listed | Claude Opus 4.8 |
| Open-Weight | Proprietary API | Open-Weight | Codestral 2508 |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is Claude Opus 4.8 or Codestral 2508 cheaper per API token?
Codestral 2508 is 94% cheaper on input tokens ($0.30 vs $5.00 per 1M). For output tokens, Codestral 2508 costs 96% less ($0.90 vs $25.00 per 1M).
How do Claude Opus 4.8 and Codestral 2508 prompt caching discounts compare?
Codestral 2508 offers 94% cheaper cache reads at $0.03/1M compared to $0.50/1M for Claude Opus 4.8. Claude Opus 4.8 5m write: $6.25/1M; Codestral 2508 5m write: $0.30/1M.
Which model has a larger context window: Claude Opus 4.8 or Codestral 2508?
Claude Opus 4.8 provides a 3.9× larger context window (1M vs 256K tokens). For single-turn output generation, Claude Opus 4.8 caps at 128K tokens and Codestral 2508 caps at 205K tokens.
How do Claude Opus 4.8 and Codestral 2508 compare on benchmarks and capabilities?
Claude Opus 4.8 adds native vision/image input support, and Codestral 2508 releases open weights for self-hosting or dedicated inference.
Related Head-to-Head Matchups
ComparisonsClaude Opus 4.8 vs GPT-6.2 Astra
In: $5.00 vs $8.00 · Out: $25.00 vs $40.00
Claude Opus 4.8 vs GPT-6.2 Sol
In: $5.00 vs $2.00 · Out: $25.00 vs $10.00
Claude Opus 4.8 vs GPT Oss 20B
In: $5.00 vs $0.03 · Out: $25.00 vs $0.13
Claude Opus 4.8 vs GPT-6 Sol Pro
In: $5.00 vs $2.00 · Out: $25.00 vs $10.00
Codestral 2508 vs Gemini 3.5 Flash Lite
In: $0.30 vs $0.30 · Out: $0.90 vs $2.50
Codestral 2508 vs DeepSeek Flash
In: $0.30 vs $0.30 · Out: $0.90 vs $1.20