- Model
codestral-latest- Provider
mistral- API
mistral-conversations- Base URL
https://api.mistral.ai- Input
- text
- Reasoning
- No
- Context window
- 256,000
- Max tokens
- 4,096
- Cost / million input
- $0.3
- Cost / million output
- $0.9
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"mistral": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "codestral-latest",
"name": "Codestral (latest)",
"reasoning": false,
"input": [
"text"
],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.3,
"output": 0.9,
"cacheRead": 0,
"cacheWrite": 0
}
}
],
"api": "mistral-conversations",
"baseUrl": "https://api.mistral.ai"
}
}
}