Codestral
Mistral CodestralText
Codestral is a text model from Mistral Codestral with a context window of 32K tokens and max output of 8K tokens.
Specifications
| Model Key | codestral/codestral-latest |
| Provider | Mistral Codestral |
| LiteLLM Provider | codestral |
| Mode | Text |
| Canonical Name | codestral-latest |
| Context Window | 32K tokens |
| Max Output | 8K tokens |
Capabilities
✗ Vision✗ Function Calling✗ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | N/A | N/A |
| Output Tokens | N/A | N/A |
Price Comparison by Provider
Compare prices for Codestral across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Mistral Codestral | codestral/codestral-latest | N/A | N/A |
| Mistral Codestral | text-completion-codestral/codestral-latest | N/A | N/A |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Codestral 2405 | Mistral Codestral | Text | N/A | N/A | 32K | 8K | no | no |
| Llama3 405B Instruct Maas | Google Vertex AI | Text | N/A | N/A | 32K | 32K | no | no |
| Llama3 70B Instruct Maas | Google Vertex AI | Text | N/A | N/A | 32K | 32K | no | no |
| Llama3 8B Instruct Maas | Google Vertex AI | Text | N/A | N/A | 32K | 32K | no | no |
| Mistral Small | Mistral AI | Text | $0.100 | $0.300 | 32K | 8K | no | yes |
| Mistral Small | Mistral AI | Text | $0.100 | $0.300 | 32K | 8K | no | yes |
| Mistral Small 2503 | Watsonx | Text | $0.100 | $0.300 | 32K | 32K | no | yes |
| Mistral Small 3.2 24B Instruct | OpenRouter | Text | $0.100 | $0.300 | 32K | N/A | no | no |
| Qwen2.5 7B Instruct | Novita | Text | $0.070 | $0.070 | 32K | 32K | no | yes |
| Qwen3 32B | Ovhcloud | Text | $0.080 | $0.230 | 32K | 32K | no | yes |