Codestral
Code-specialist model from Mistral. 256K context fits whole repos and 80+ programming languages.
Codestral is a efficient AI model from Mistral. It costs $0.2000 per million input tokens and $0.6000 per million output tokens (blended $0.3200/M), with a 256,000-token context window.
RatesUSD per million tokens. Blend is 70% input, 30% output, our calculation.
Hand-maintained from Mistral's published pricing; no check date on record.
- Code-tuned
- 256K context
- 80+ languages
- IDE autocomplete
- Code review
- Repo Q&A
Benchmarks
More from Mistral
See all 15 →Frequently asked questions
How much does Codestral cost?
Codestral costs $0.2000 per million input tokens and $0.6000 per million output tokens, for a blended reference rate of $0.3200 per million tokens.
What is Codestral's context window?
Codestral supports up to 256,000 tokens of context in a single request.
What is Codestral best for?
Codestral is well suited to Code-tuned, 256K context and 80+ languages.
Who makes Codestral?
Codestral is developed and served by Mistral.
