Mistral Medium (latest)

Model details

Mistral Medium (latest)

Model
mistral-medium-latest
Provider
mistral
API
mistral-conversations
Base URL
https://api.mistral.ai
Input
text, image
Reasoning
No
Context window
128,000
Max tokens
16,384
Cost / million input
$0.4
Cost / million output
$2
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "mistral": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "mistral-medium-latest",
          "name": "Mistral Medium (latest)",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 128000,
          "maxTokens": 16384,
          "cost": {
            "input": 0.4,
            "output": 2,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "mistral-conversations",
      "baseUrl": "https://api.mistral.ai"
    }
  }
}