---
last_updated: 2026-11-25
source_url: https://opper.ai/mistral/mistral-small-3-1-24b-instruct-2503
title: "Mistral Small 3.1 24B by Mistral"
description: "Mistral Small 3.1 24B is an open-weight instruction-tuned model with 128K context, vision, and function calling at around 150 tokens per second."
---

# Mistral Small 3.1 24B

By [Mistral](https://opper.ai/mistral).

Released 17 Mar 2025, 46 days after [Mistral Small 3 24B Instruct](https://opper.ai/mistral/mistral-small-24b-instruct-2501) · [Announcement](https://docs.mistral.ai/models/mistral-small-3-1-25-03) · [All Mistral releases](https://opper.ai/model-releases/mistral)

Mistral Small 3.1 (March 2025) is a 24B open-weight model designed for versatile generative AI tasks including instruction following, conversational assistance, image understanding, and function calling. Released under Apache 2.0, it is described by Mistral as the first open model to surpass the performance of leading compact proprietary models, outperforming peers such as Gemma 3 and GPT-4o mini while delivering inference speeds of around 150 tokens per second.

The model's 128K token context window supports document analysis, retrieval-augmented generation, and extended interactions. Its multimodal capabilities enable use cases such as document verification, visual inspection, quality checks, and image-based support. Small 3.1 can run on a single high-end consumer GPU or a Mac with 32GB of memory and serves as a strong base for domain-specific fine-tuning.

Optimized for both lean and enterprise deployments, Mistral Small 3.1 pairs the capability of much larger models with the efficiency of open-weight alternatives, making it well suited to applications that must balance quality against resource constraints.

## Available routes

Mistral Small 3.1 24B runs on 1 route through the Opper gateway. Prices are per 1M tokens. In the EU it is served by Berget (Sweden). [See every Mistral model hosted in the EU](https://opper.ai/models/eu/mistral). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=berget%2Fmistral-small-3.1-24b-instruct.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Berget](https://opper.ai/provider/berget) | `berget/mistral-small-3.1-24b-instruct` | EU (Sweden) | Yes | No | $0.36 | $0.36 | Input price |

## Key info

- Model id: `berget/mistral-small-3.1-24b-instruct`
- Input: Text, Image
- Output: Text
- Features: Tools, Structured output
- Context window: 128K
- Max output: 8K
- Input price: $0.36 per 1M tokens
- Output price: $0.36 per 1M tokens
- Released: 17 Mar 2025
- EU residency available
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Mistral Small 3.1 24B has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Berget — Sweden

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Caching: Content cached for replay
- Subprocessor access: No subprocessor reads content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-16.

## Get started

Call Mistral Small 3.1 24B through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Mistral Small 3.1 24B is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call Mistral Small 3.1 24B
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "berget/mistral-small-3.1-24b-instruct",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "berget/mistral-small-3.1-24b-instruct",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "berget/mistral-small-3.1-24b-instruct",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "berget/mistral-small-3.1-24b-instruct",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use Mistral Small 3.1 24B in your apps

Pick your tool to see how to run it on Mistral Small 3.1 24B through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/mistral-small-3-1-24b-instruct-2503)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/mistral-small-3-1-24b-instruct-2503)
- [Codex](https://opper.ai/apps/codex/mistral-small-3-1-24b-instruct-2503)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/mistral-small-3-1-24b-instruct-2503)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/mistral-small-3-1-24b-instruct-2503)
- [Aider](https://opper.ai/apps/aider/mistral-small-3-1-24b-instruct-2503)
- [Goose](https://opper.ai/apps/goose/mistral-small-3-1-24b-instruct-2503)
- [Droid](https://opper.ai/apps/droid/mistral-small-3-1-24b-instruct-2503)
- [OpenCode](https://opper.ai/apps/opencode/mistral-small-3-1-24b-instruct-2503)
- [Pi](https://opper.ai/apps/pi/mistral-small-3-1-24b-instruct-2503)
- [OpenClaw](https://opper.ai/apps/openclaw/mistral-small-3-1-24b-instruct-2503)
- [Hermes](https://opper.ai/apps/hermes/mistral-small-3-1-24b-instruct-2503)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/mistral-small-3-1-24b-instruct-2503)
- [OmniRoute](https://opper.ai/apps/omniroute/mistral-small-3-1-24b-instruct-2503)
- [Cursor](https://opper.ai/apps/cursor/mistral-small-3-1-24b-instruct-2503)
- [Cline](https://opper.ai/apps/cline/mistral-small-3-1-24b-instruct-2503)
- [Continue](https://opper.ai/apps/continue/mistral-small-3-1-24b-instruct-2503)
- [Kilo Code](https://opper.ai/apps/kilo-code/mistral-small-3-1-24b-instruct-2503)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/mistral-small-3-1-24b-instruct-2503)
- [Zed](https://opper.ai/apps/zed/mistral-small-3-1-24b-instruct-2503)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/mistral-small-3-1-24b-instruct-2503)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/mistral-small-3-1-24b-instruct-2503)
- [n8n](https://opper.ai/apps/n8n/mistral-small-3-1-24b-instruct-2503)
- [LibreChat](https://opper.ai/apps/librechat/mistral-small-3-1-24b-instruct-2503)
- [Open WebUI](https://opper.ai/apps/open-webui/mistral-small-3-1-24b-instruct-2503)
- [See all apps](https://opper.ai/apps)

## Other models from Mistral

- [Mistral Large 4](https://opper.ai/mistral/mistral-large-4)
- [Mistral Medium 3.5](https://opper.ai/mistral/mistral-medium-3-5)
- [Mistral Small 4](https://opper.ai/mistral/mistral-small-2603)
- [Mistral Large 3](https://opper.ai/mistral/mistral-large-3)
- [Voxtral TTS 3](https://opper.ai/mistral/voxtral-mini-tts-3-0)
- [Timestral 5M](https://opper.ai/mistral/timestral-5m)
