Codestral 2508 API Cost Calculator
Estimate your monthly API costs for Codestral 2508 from Mistralai.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Mixtral 8x7B Instruct Mistralai | $0.5400 | $0.5400 |
| Saba Mistralai | $0.2000 | $0.6000 |
| Mistral Small 4 Mistralai | $0.1500 | $0.6000 |
| Devstral Small 1.1 Mistralai | $0.1000 | $0.3000 |
| Ministral 3 14B 2512 Mistralai | $0.2000 | $0.2000 |
Frequently Asked Questions
How much does Codestral 2508 cost per token?
Codestral 2508 is priced at $0.3000 per 1M input tokens and $0.9000 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Codestral 2508?
Codestral 2508 has a context window of 256K tokens (256,000 tokens).
Does Codestral 2508 support function calling (tool use)?
Yes, Codestral 2508 supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does Codestral 2508 compare to similar models?
Codestral 2508 costs $0.3000 input and $0.9000 output per 1M tokens. Ministral 3 14B 2512 is less expensive at $0.2000 input and $0.2000 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Ministral 3 14B 2512 page at /tools/cost-calculator/mistralai/ministral-14b-2512.