Mistral Small 4 vs Codestral
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
Mistral Small 4 is 41.7% cheaper on blended cost ($0.262 vs $0.450/Mtok) — note: different model classes (budget vs coding)
| Specification |
by Mistral
|
by Mistral
|
|---|---|---|
| Overview | ||
| Status | Current budget | Current coding |
| Released | Sep 1, 2025 | May 29, 2024 |
| Pricing per million tokens | ||
| Input | $0.150/Mtok | $0.300/Mtok |
| Output | $0.600/Mtok | $0.900/Mtok |
| Blended avg | $0.262/Mtok | $0.450/Mtok |
| Specifications | ||
| Context window | 128K tokens | 256K tokens |
| Parameters | Proprietary | 22B |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
text
|
text
|
| Benchmarks sources: LMSYS Chatbot Arena (UC Berkeley) / Mistral model card | ||
| SWE-Bench Verified | — | 38 vendor |
| HumanEval | — | 85 vendor |
| Independent composite scores each on its own scale — not part of the average above | ||
| AA Intelligence Index | 19.7 | — |
| AA Agentic Index | 4.6 | — |
| AA-Omniscience Index (−100–100) | -30.4 | — |
| LMSYS Chatbot Arena | 1357.6 ELO | — |
| Providers | ||
| Available from |
Mistral — $0.150/$0.600/Mtok
|
Mistral — $0.300/$0.900/Mtok
|
Cost at scale
1M tokens · 50/50 input/output| Volume | Mistral Small 4 | Codestral | Savings |
|---|---|---|---|
| 1M tokens | $0.26 | $0.45 | $0.19 (42.2%) |
| 10M tokens | $2.62 | $4.5 | $1.88 (41.8%) |
| 100M tokens | $26.25 | $45 | $18.75 (41.7%) |
| 1000M tokens | $262.5 | $450 | $187.5 (41.7%) |
When to pick which
distilled from the pricing and spec data above
Pick Mistral Small 4 if…
- cost dominates: $0.262/Mtok blended vs $0.450 — 41.7% less on the same 50/50 token mix
Pick Codestral if…
- you need the longer context: 256K tokens vs 128K (2×)
Try Mistral Small 4 on Mistral
The cheaper option here — Mistral Small 4 costs $0.262/Mtok blended on Mistral.
Summary
Mistral Small 4 by Mistral costs $0.150/Mtok input and $0.600/Mtok output, with a 128K-token context window. It supports text input.
Codestral by Mistral costs $0.300/Mtok input and $0.900/Mtok output, with a 256K-token context window. It supports text input.
On a blended cost basis, Mistral Small 4 is 41.7% cheaper than Codestral.
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.
More comparisons
pairs sharing a model with this page
Codestral vs Kimi K2.7 Code (Moonshot)
74% price gap
Codestral vs Relace Search
70% price gap
Codestral vs Grok Build 0.1
64% price gap
Codestral vs Relace Apply 3
50% price gap
Claude Fable 5 vs DeepSeek V4 Pro
97% price gap
Claude Opus 5 vs DeepSeek V4 Pro
95% price gap
DeepSeek V4 Pro vs Claude Sonnet 4.6
91% price gap
Kimi K3 vs DeepSeek V4 Pro
91% price gap