Codestral API Pricing
Standard token prices for Codestral from official sources, with worked monthly costs.
Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens. Cached input costs $0.03 per 1M tokens. Prices were verified Nov 9, 2026. At standard non-cached rates, 10,000 monthly requests cost about $5.10. Each request uses 800 input and 300 output tokens. Retries, tools, storage and provider-specific discounts are excluded.
| Model | Input $/1M | Cached input $/1M | Output $/1M | Source | Last verified How we verify |
|---|---|---|---|---|---|
| Codestral | $0.30 | $0.03 | $0.90 | Official source | Nov 9, 2026 |
Prices from official provider pages, verified on the date shown.
Interactive estimate
Codestral cost calculator
Enter your monthly requests and tokens per request to estimate Codestral API cost with the verified standard prices on this page. For several models, cached input or a full monthly budget, use the AI API Cost Calculator.
- Per request
- $0.00051
- Per month
- $5.10
- Per year
- $61.20
- Per month with Batch API
- $2.55
Add users and cached input in the full calculator →Cost of switching from Codestral with these numbers →Cost of switching to Codestral with these numbers →
Codestral at standard non-cached rates: input tokens x input price + output tokens x output price, per 1M tokens. Retries, tools and cached input are not included.
Official source detail
Full pricing details
Standard prices are shown per 1M tokens. Tiers, cache and Batch rates, and time-of-day prices are listed separately below.
Other published rates
| Mode and context | Input | Cached input | Output |
|---|---|---|---|
| Standard · Short context | $0.30 | $0.03 | $0.90 |
| Batch · Short context | $0.15 | — | $0.45 |
Batch API: input $0.15 and output $0.45 per 1M tokens.
Computed examples
What it costs for real workloads
| Workload | Monthly volume | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|---|
| Side project | 1,000 requests/month | 800,000 | 300,000 | $0.51 |
| Side project | 10,000 requests/month | 8,000,000 | 3,000,000 | $5.10 |
| Side project | 100,000 requests/month | 80,000,000 | 30,000,000 | $51.00 |
| Customer support chatbot | 10,000 conversations/month | 121,650,000 | 10,800,000 | $46.22 |
| Agent task | 1,000 tasks/month | 12,000,000 | 3,200,000 | $6.48 |
| Side project with Batch API | 10,000 requests/month | 8,000,000 | 3,000,000 | $2.55 |
Assumptions
- Side project: 800 input and 300 output tokens per request at 1,000, 10,000, and 100,000 requests per month.
- Customer support chatbot: 6 replies per conversation, 600 system tokens, 90 user-message tokens, 1,000 retrieved-context tokens, 180 output tokens per reply, and 50% history carry, for 10,000 conversations.
- Agent task: 8 model calls per task, 1,500 input and 400 output tokens per call, for 1,000 tasks.
- Standard rows use non-cached, non-batch prices. A Batch row appears only when both published Batch token prices exist.
Same-provider context
Codestral in the Mistral AI lineup
- Codestral ranks 5th of 5 current Mistral AI models on this site by blended price (3 input tokens : 1 output token), from lowest to highest.
- The next lower-cost Mistral AI option for the 10,000-request side-project workload is Mistral Small 4. It costs 41% less ($3.00 vs $5.10).
- Output tokens cost 3× input tokens, so long answers and generated code move the bill more than prompt length does.
- Cached input is billed at $0.03 per 1M tokens, 90% below standard input, which matters when the same system prompt or documents repeat across requests.
- Batch requests cost $0.15 input and $0.45 output per 1M tokens, 50% below standard rates, for jobs that can wait.
| Mistral AI model | Input / 1M | Output / 1M | Side project, 10k requests |
|---|---|---|---|
| Ministral 3 3B | $0.10 | $0.10 | $1.10 |
| Ministral 3 8B | $0.15 | $0.15 | $1.65 |
| Ministral 3 14B | $0.20 | $0.20 | $2.20 |
| Mistral Small 4 | $0.15 | $0.60 | $3.00 |
| Codestral (this page) | $0.30 | $0.90 | $5.10 |
Availability
Lifecycle
- Status
- active
- Release date
- Jul 30, 2025
- Context window
- 131,072
- Pricing basis
- Standard list price
Nearby blended prices
Compare with
Alternatives are nearest by a 3:1 input-to-output blended token price, with same-provider coverage when available.
| Model | Input / 1M | Output / 1M | Side project, 10k requests |
|---|---|---|---|
| Mistral Small 4 | $0.15 | $0.60 | $3.00 |
| GPT-5.6 Luna | $0.20 | $1.20 | $5.20 |
| DeepSeek V4.1 Flash | $0.30 | $1.20 | $6.00 |
Cost of switching from Codestral · Cost of switching to Codestral · Open the full pricing comparison
Next steps
Related
Common questions
Frequently asked questions
How much does Codestral cost per million tokens?
Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.
Does Codestral have cached input pricing?
Yes. The published cached-input price is $0.03 per 1M tokens.
How much does Codestral cost for 10,000 requests a month?
Using 800 input and 300 output tokens per request at standard non-cached rates, 10,000 monthly requests cost about $5.10.
Where does this Codestral price come from?
The prices come from Mistral AI's official pricing source and were verified on Nov 9, 2026.
See the pricing verification methodology.