Skip to content

Mistral Small 4

Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system.

Pricing

Input
$0.1575per 1M tokens
Output
$0.63per 1M tokens
Cache read
$0.0158per 1M tokens
Max output
209,715tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

opencode.json

{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "mistralai/mistral-small-2603": { "limit": { "context": 262144, "output": 209715 } } }
    }
  }
}
OpenCode, set up for Mistral Small 4

Find us on