Magistral Small

Model details

Magistral Small

Model
magistral-small
Provider
mistral
API
mistral-conversations
Base URL
https://api.mistral.ai
Input
text
Reasoning
Yes
Context window
128,000
Max tokens
128,000
Cost / million input
$0.5
Cost / million output
$1.5
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "mistral": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "magistral-small",
          "name": "Magistral Small",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 128000,
          "maxTokens": 128000,
          "cost": {
            "input": 0.5,
            "output": 1.5,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "mistral-conversations",
      "baseUrl": "https://api.mistral.ai"
    }
  }
}