Codestral vs Mistral Large 4
Neighbouring Mistral models in order of price. Prices, limits, input types and published benchmark scores side by side, each linked to its source.
As of Nov 22, 2026 (UTC), Codestral costs $0.30 per million input tokens and $0.90 per million output tokens, and Mistral Large 4 costs $0.70 per million input tokens and $2.10 per million output tokens. Codestral is lower on both input and output. Context window: Codestral 128K tokens, Mistral Large 4 1M tokens.
Comparing Codestral with Mistral Large 4
- Input priceCodestral57% lower
- Output priceCodestral57% lower
- Context windowMistral Large 47.8x larger
| Attribute | ACodestral | BMistral Large 4 |
|---|---|---|
| Provider | ||
| API model id | codestral-2508 | mistral-large-4 |
| Released | Jul 30, 2025 | Nov 5, 2026 |
| Context windowtokens | 128K | 1Mlarger |
| Max outputtokens | not published | not published |
| Input priceUSD per 1M tokens | $0.30lower | $0.70 |
| Output priceUSD per 1M tokens | $0.90lower | $2.10 |
| Cached input priceUSD per 1M tokens | not published | $0.07 |
| Price tiers | ||
| Pricing note | not published | not published |
| Input types | text | text, image |
| Open weights | No | Yes |
| Status | Generally available | Generally available |
| Sources | 123Last checked | 12345Last checked |
| Vendor-reported benchmarks | ||
| Terminal-Bench 4.0reported by each vendor | not published | 28.3%preview announcement |
| DeepSWE v1.1reported by each vendor | not published | 61.7%preview announcement |
Estimate the monthly cost of Codestral and Mistral Large 4 for your workload
The better value in a row is highlighted for prices, limits and official leaderboard scores. Vendor-reported benchmark scores are shown without a highlight because each vendor uses its own harness and settings. A dash means the source does not publish the value. A scheduled price change is shown with the date it was last checked.
Compare other models starting from this pair.
How these 69 pairs are chosen
- Only models with a public per-token price are paired. A model's price here is the standard input and output price of its newest price window, blended 3 parts input to 1 part output; the blend is only an ordering key and is never shown as a price.
- Tier pairs (up to 25): within one provider, models are put in order of that blended price and each model is paired with the next one up. Where there are more than 25, the pairs with the most recently released model come first.
- Competitor pairs (the rest, up to 50 in all): models from different providers, closest first by blended price, then by the gap in the Artificial Analysis Intelligence Index score (pairs where both models have a score come first), then by context window size. A model appears in at most 3 competitor pairs.
- Ties are broken by model id, so the same data always gives the same 50 pairs.
- Headline pairs (added to those): among OpenAI, Anthropic, Google, DeepSeek, xAI, each provider's flagship (its highest-priced generally available model that returns text, by the same blend) is paired with every other provider's flagship, and its budget model (the lowest-priced one) with every other budget model. A pair already chosen above keeps its place. Any other pair is available in the picker on the Compare page.