Codestral API Pricing
Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens. Prices were last refreshed on from the AI Pricing Guru daily pricing pipeline.
Cost examples
These examples use published list prices only. They exclude taxes, enterprise discounts, minimum charges, retries, batch discounts, and provider-specific billing rules.
1M input + 1M output
$1.20
A direct per-million comparison against every other text model.
100K input + 25K output
$0.0525
A compact chat, summarization, or analysis workload.
10M input + 2M output
$4.80
A monthly production estimate for heavier RAG or agent traffic.
75% cached input + 250K output
Not listed
Mistral AI does not publish a cached-input rate for this model in our dataset.
Calculator for Codestral
Enter your own input, output, and cached-token assumptions. This calculator is preloaded with only Codestral, so the result stays focused on this model.
Input cost
$0.30
Output cost
$0.90
Total
$1.20
Price history
No list-price movement across 74 daily snapshots from 2026-04-16 to 2026-06-29.
When to use Codestral
Good fit
- code generation, debugging, and agentic development work where output quality affects engineering time
- high-volume routing, classification, extraction, summaries, and fallback traffic
Be careful with
- decisions that depend on unpublished context-window limits without checking the provider docs first