Codestral API pricing 2508
Published on-demand rates for Mistral's mistral/codestral-2508, captured 2026-09-21 from public pricing data and committed to our archive. Context window 128k tokens; first observed in our archive 2025-12-15.
| Meter | USD per 1M tokens |
|---|---|
| Input | $0.300 |
| Output | $0.900 |
| Cached input | $0.030 |
Standard on-demand rates. Excludes batch endpoints and negotiated pricing; confirm on Mistral's pricing page before committing.
What it costs on a real workload
Per 1M tokens processed, at the rates above. How the four profiles are defined.
| Profile | In / out mix | Cached share | Cost |
|---|---|---|---|
| Retrieval | 800k / 200k | 70% | $0.269 |
| Chat | 500k / 500k | 30% | $0.559 |
| Content | 200k / 800k | 20% | $0.769 |
| Agent | 900k / 100k | 85% | $0.153 |
Observed rate history
| Observed | Input | Output | Cached input | |
|---|---|---|---|---|
| 2025-12-15 | $0.300 | $0.900 | — | entered our archive |
| 2026-08-30 | $0.300 | $0.900 | $0.030 | repricing observed |
Dates are when we observed the rate in our own snapshots, which can lag the provider's announcement. Rates per 1M tokens.
What the record shows
We have observed one change to Codestral's rates since it entered our archive on 2025-12-15. The most recent, on 2026-08-30, left the output rate unchanged.
Against the 40 models we price, it is the 9th cheapest for retrieval-shaped work, which reads a great deal and writes little, and the 9th cheapest for content-shaped work, which does the reverse. The two are close, so it holds its position whichever way your workload leans.
It charges 3.0 times more for output than for input, against a median of 5.0 times across the set. That is narrower than most, so it punishes long answers less than the typical model does.
Inside Mistral's own lineup it is the 6th cheapest of the 10 models we track on this workload, so 5 cheaper and 4 more expensive options sit on the same account behind the same key.
33 of the 40 models we price offer a larger context window, and 5 match it exactly. Context is a capability limit rather than a cost one: paying more buys no extra room unless the larger window is what you are paying for.
Cached input reads at $0.030 against a standard input rate of $0.300, a 90% discount on the part of your prompt that repeats.
Whether it accepts image input is not stated in the source we capture, and we do not guess at it.
Its 128k token context window holds roughly 96,000 words of English text in a single request. A workload that does not fit cannot run here at any price, which is a capability limit rather than a cost one.
Priced near this one
Closest to Codestral on a retrieval workload, cheaper and more expensive alike. Cost only; we publish no quality score.
| Model | Provider | Input | Output | vs Codestral |
|---|---|---|---|---|
| GPT 5.6 Luna | OpenAI | $0.200 | $1.20 | 11% more |
| GPT 5.4 Nano | OpenAI | $0.200 | $1.25 | 15% more |
| DeepSeek Flash | DeepSeek | $0.300 | $1.20 | 17% more |
| Mistral vibe cli Fast | Mistral | $0.150 | $0.600 | 39% less |
Retrieval profile: 800k in, 200k out, 70% cached where offered.
No affiliate or referral arrangements: the console link carries no parameters and nothing on this page is paid placement. Codestral is a trademark of its owner; LLMPrice.io is independent and unaffiliated.