AI model comparison

Devstral 2 2512 vs Claude Haiku 4.5

Side by side comparison of Devstral 2 2512 and Claude Haiku 4.5 on pricing, benchmark scores, context window, and more.

Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window.

Input / 1M
$0.40
Output / 1M
$2
Context
262K

Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models.

Input / 1M
$1
Output / 1M
$5
Context
200K

Comparing image generators? Compare image models

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

mistralai logo

Devstral 2 2512

2.5x cheaper for a typical chat

Higher intelligence score

mistralai logo

Devstral 2 2512

8.6 vs 7.4 on Artificial Analysis

Larger context window

mistralai logo

Devstral 2 2512

262K vs 200K tokens

Newer release

mistralai logo

Devstral 2 2512

Released December 9, 2025

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

mistralai logoDevstral 2 25128.6
anthropic logoClaude Haiku 4.57.4

Coding index

mistralai logoDevstral 2 251231.3
anthropic logoClaude Haiku 4.543.9

Agentic index

mistralai logoDevstral 2 25122.3
anthropic logoClaude Haiku 4.58

Pricing

Devstral 2 2512 vs Claude Haiku 4.5 API pricing

Per-token API rates. Cheaper option highlighted.

Metricmistralai logoDevstral 2 2512anthropic logoClaude Haiku 4.5
Input tokensPer 1M tokens$0.40$1
Output tokensPer 1M tokens$2$5
Cached input (read)Per 1M tokens$0.04$0.10
Cache writePer 1M tokensNot available$1.25
Web searchPer requestNot available$0.01

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

mistralai logoDevstral 2 2512$1.80
anthropic logoClaude Haiku 4.5$4.50

Coding task

30K in, 4K out

mistralai logoDevstral 2 2512$20$9.20 cached
anthropic logoClaude Haiku 4.5$50$23 cached

Long document summary

150K in, 2K out

mistralai logoDevstral 2 2512$64$10 cached
anthropic logoClaude Haiku 4.5$160$25 cached

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricmistralai logoDevstral 2 2512anthropic logoClaude Haiku 4.5
Context window262K tokens200K tokens
Max output210K tokens64K tokens
Input typesFile, TextFile, Image, Text
Output typesTextText
Reasoning effort levelsNot availableNot available
Default reasoning effortNot availableNot available
Release dateDecember 9, 2025October 15, 2025

Features

Supported features

API features available for each model.

Metricmistralai logoDevstral 2 2512anthropic logoClaude Haiku 4.5
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningNot supportedSupported
TemperatureSupportedSupported
Stop sequencesSupportedSupported
Deterministic seedSupportedNot supported
Verbosity controlNot supportedNot supported

Our take

Devstral 2 2512 is 2.5x cheaper for a typical chat. Devstral 2 2512 scores higher on the Artificial Analysis Intelligence Index (8.6 vs 7.4). Devstral 2 2512 has the larger context window (262K vs 200K tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is Devstral 2 2512 or Claude Haiku 4.5 cheaper?

Devstral 2 2512 is cheaper for a typical chat (2K input tokens and 500 output tokens). Devstral 2 2512 costs $0.40 per 1M input tokens and $2 per 1M output tokens, while Claude Haiku 4.5 costs $1 per 1M input tokens and $5 per 1M output tokens.

Which has a bigger context window, Devstral 2 2512 or Claude Haiku 4.5?

Devstral 2 2512 supports up to 262K tokens of context, compared with 200K for Claude Haiku 4.5.

Is Devstral 2 2512 smarter than Claude Haiku 4.5?

On the Artificial Analysis Intelligence Index, Devstral 2 2512 scores 8.6 and Claude Haiku 4.5 scores 7.4, putting Devstral 2 2512 ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use Devstral 2 2512 and Claude Haiku 4.5 at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see Devstral 2 2512 and Claude Haiku 4.5 answer side by side and keep the better response.

mistralai logoanthropic logo

Why choose? Ask both.

Send one prompt to Devstral 2 2512 and Claude Haiku 4.5 at the same time. Compare the answers side by side and keep the best one.