All models

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

Full page →
M

Codestral 2508

Mistral AI

0.26¢

for a client proposal

$0.345 in · $1.03 out / 1M

256K context · released August 2025

Full page →

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 out
Claude 3 Haiku
0.13¢
Codestral 2508
0.12¢

Draft a client proposal from notes

5K in · 800 out
Claude 3 Haiku
0.26¢
Codestral 2508
0.26¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Claude 3 Haiku
$0.05
Codestral 2508
$0.06

Analyze a 50-page legal contract

35K in · 1K out
Claude 3 Haiku
1.1¢
Codestral 2508
1.3¢

Large architecture refactor

250K in · 3K out
Claude 3 Haiku
needs 250K ctx
Codestral 2508
$0.09

Solid 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.

80% Input20% Output
free$0.26$0.520 tokens250k500k750k1000k
Claude 3 Haiku
Codestral 2508

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

Pricing

Claude 3 Haiku
Codestral 2508
Input / 1M tokens
$0.287
$0.345
Output / 1M tokens
$1.44
$1.03
Cached input / 1M
$0.035
$0.035
Web search
1.1¢ / search

Specs

Claude 3 Haiku
Codestral 2508
Released
March 2024
August 2025
Context window
200K
256K
Max output
4K
Input
Text and Images
Text and Files
Output
Text
Text
Reasoning
Answers directly
Answers directly
Knowledge cutoff
2023-08-31
2025-03-31

Try it with real numbers

2K tokens in · 500 tokens out.

Claude 3 Haiku

Anthropic

0.13¢

for this task

44% input · 56% output

Full pricing →

Codestral 2508

Mistral AI

0.12¢

for this task

57% input · 43% output

Full pricing →

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?

On a typical client proposal (5K tokens in, 800 out): Codestral 2508 at 0.26¢; Claude 3 Haiku at 0.26¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Codestral 2508 — 256K tokens, about 370 pages.

Can I run Claude 3 Haiku and Codestral 2508 side by side on Alyph?

Yes — that is what Alyph is built for: the identical prompt with identical context to all 2, answers rendered side by side, billed from one wallet. This exact combination costs about 0.51¢ for a typical task.

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.