Claude 3 Haiku vs Codestral 2508
Claude 3 Haiku at $0.287 in and $1.44 out and Codestral 2508 at $0.345 in and $1.03 out — per million tokens, from the same wallet.
Claude 3 Haiku
Anthropic
0.26¢
for a client proposal
$0.287 in · $1.44 out / 1M
200K context · released March 2024
Codestral 2508
Mistral AI
0.26¢
for a client proposal
$0.345 in · $1.03 out / 1M
256K context · released August 2025
Asking all both at once — identical prompt, identical context — costs about 0.51¢ for a typical client proposal.
At a glance
- Cheapest input: Claude 3 Haiku at $0.287 per million tokens.
- Cheapest output: Codestral 2508 at $1.03 per million tokens.
- Largest context: Codestral 2508 at 256K tokens — about 370 pages.
Cost per task
Estimated totals at the rates above. Solid bar is input, lighter bar is output.
Quick code fix
2K in · 500 outDraft a client proposal from notes
5K in · 800 outContext-heavy session (Alyph workspace)
155K in · 4K outAnalyze a 50-page legal contract
35K in · 1K outLarge architecture refactor
250K in · 3K outSolid part of each bar is input tokens, the lighter part is output. Models that don’t fit a task are marked instead of priced.
Cost vs Token Amount
Drag the slider to adjust the split between input and output workload.
Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.
Pricing
Specs
Try it with real numbers
2K tokens in · 500 tokens out.
All 2, same prompt and context: 0.25¢. That is the entire cost of the comparison.
Your $5 welcome credit covers about 1,999 of these.
Which should you pick?
For long documents, Codestral 2508 has the largest context window here — 256K tokens.
On price, Codestral 2508 is the cheapest of the two on a typical task, at about 0.26¢.
Or don’t pick. Send the identical prompt to all both, read the answers side by side, and keep the winner. How to run a fair bake-off →
Questions, answered
Which is cheaper, Claude 3 Haiku or Codestral 2508?
Which has the largest context window?
Can I run Claude 3 Haiku and Codestral 2508 side by side on Alyph?
Ask both at once
Identical prompt, identical context, answers side by side — about 0.51¢ for a typical client proposal. Free to start, with $5 of credit.