ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Claude Sonnet 4vsCodestral

Claude Sonnet 4 and Codestral do not yet share a public benchmark, so quality cannot be compared apples-to-apples. Codestral is 15x cheaper per token. Codestral has the larger context window (256K tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
0
no overlap yet
Cheaper per token
Codestral
15x cheaper, input + output
Larger context
Codestral
256K tokens
Provider uptime (30d)
100% · 100%
Anthropic · Mistral AI
Claude Sonnet 4
Anthropic · released 2025-05-22
textvision
Context
200K
Max out
64K
Input /1M
$3
Output /1M
$15
Cached /1M
$0.3
Scores
4 · 4 core
Codestral
Mistral AI · released 2025-01-13
text
Context
256K
Max out
Input /1M
$0.3
Output /1M
$0.9
Cached /1M
$0.03
Scores
1 · 1 core
Quality

Benchmark matrix

BenchmarkClaude Sonnet 4CodestralΔEdge
Reported by both · 0
No public benchmark is reported for both models yet.
Only Claude Sonnet 4 reports · 4
SWE-bench Verified72.7% not reported
GPQA Diamond79.2% epochnot reported
AIME 2024 (no extended thinking)33.1% not reported
OTIS Mock AIME 2024-2025 (Epoch AI run)71.1% epochnot reported
Only Codestral reports · 1
HumanEvalnot reported86.6%
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Sonnet 4 minus Codestral in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecClaude Sonnet 4CodestralEdge
Context window200K tokens256K tokensCodestral
Max output64K tokens
Input price / 1M$3 $0.3 Codestral
Output price / 1M$15 $0.9 Codestral
Cached input / 1M$0.3 $0.03 Codestral
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$18$1.2Codestral
Modalitiestext · visiontextClaude Sonnet 4
Released2025-05-222025-01-13
Cited benchmark scores41
Reliability

Provider status

All providers
More matchups

Claude Sonnet 4 vs …

More matchups

Codestral vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Claude Sonnet 4 and Codestral on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.