Model Comparison

Codestral-22B vs Claude 3.5 HaikuWhich is better in 2026?

Claude 3.5 Haiku significantly outperforms across most benchmarks.

Verdict: Codestral-22B vs Claude 3.5 Haiku — which is better?

Codestral-22B (by Mistral AI) and Claude 3.5 Haiku (by Anthropic) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Codestral-22B outperforms in 0 benchmarks, while Claude 3.5 Haiku is better at 1 benchmark (HumanEval). Claude 3.5 Haiku significantly outperforms across most benchmarks.

Choose Codestral-22B if…

  • you need open weights you can self-host or fine-tune

Choose Claude 3.5 Haiku if…

  • you want the strongest raw capability — it leads on 1 of 1 shared benchmarks
  • you want the most recent training data — it shipped Oct 2024

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Codestral-22B outperforms in 0 benchmarks, while Claude 3.5 Haiku is better at 1 benchmark (HumanEval).

Claude 3.5 Haiku significantly outperforms across most benchmarks.

Sat Jun 27 2026 • llm-stats.com

Arena Performance

Human preference votes

Context Window

Maximum input and output token capacity

Only Claude 3.5 Haiku specifies input context (200,000 tokens). Only Claude 3.5 Haiku specifies output context (200,000 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
Anthropic
Claude 3.5 Haiku
Input200,000 tokens
Output200,000 tokens
Sat Jun 27 2026 • llm-stats.com

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while Claude 3.5 Haiku uses a proprietary license.

License differences may affect how you can use these models in commercial or open-source projects.

Codestral-22B

MNPL-0.1

Open weights

Claude 3.5 Haiku

Proprietary

Closed source

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while Claude 3.5 Haiku was released on 2024-10-22.

Claude 3.5 Haiku is 5 months newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.1 years ago

Claude 3.5 Haiku

Oct 22, 2024

1.7 years ago

4mo newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Has open weights
Larger context window (200,000 tokens)
Higher HumanEval score (88.1% vs 81.1%)

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Codestral-22B and Claude 3.5 Haiku side-by-side, then vote on the output you prefer.

Codestral-22B
✓ Preferred
Claude 3.5 Haiku
Open in Playground
AI Model Comparison Table
Feature
Mistral AI
Codestral-22B
Anthropic
Claude 3.5 Haiku

FAQ

Common questions about Codestral-22B vs Claude 3.5 Haiku.

Which is better, Codestral-22B or Claude 3.5 Haiku?

Claude 3.5 Haiku significantly outperforms across most benchmarks. Codestral-22B is made by Mistral AI and Claude 3.5 Haiku is made by Anthropic. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Codestral-22B compare to Claude 3.5 Haiku in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. Claude 3.5 Haiku scores HumanEval: 88.1%, MGSM: 85.6%, DROP: 83.1%, MATH: 69.4%, MMLU-Pro: 65.0%.

What are the context window sizes for Codestral-22B and Claude 3.5 Haiku?

Codestral-22B supports an unknown number of tokens and Claude 3.5 Haiku supports 200K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Codestral-22B and Claude 3.5 Haiku?

Key differences include licensing (MNPL-0.1 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and Claude 3.5 Haiku?

Codestral-22B is developed by Mistral AI and Claude 3.5 Haiku is developed by Anthropic.