Mistral API pricing calculator
Codestral Pricing Calculator: Input and Output Token Costs
Estimate prompt, response, cached input, and volume costs for Codestral. Pricing verified 2026-06-25 from the provider source.
Quick estimate
No API key needed. Pick a model, paste your question, choose the answer length, and get a close cost estimate.
3. How long will the AI answer be?
Your estimate will appear here.
Paste a prompt, choose an answer length, and calculate.
Pricing table
Input: $0.3 per 1M tokens
Output: $0.9 per 1M tokens
Cached input: $0.03 per 1M tokens
Context window: 128,000 tokens
Example prompt costs
A 2,000 token prompt and 1,000 token answer costs about $0.001500 before tool add-ons.
Code-completion Mistral seed.
How much does Codestral cost per 1M input tokens?
Codestral is seeded at $0.3 per 1M input tokens for the standard tier.
How much does Codestral cost per 1M output tokens?
Codestral is seeded at $0.9 per 1M output tokens.
Does Codestral support cached input pricing?
Yes. The cached input seed price is $0.03 per 1M tokens.