Mistral Small 3.1 24B

Mistral
mistral/mistral-small-3.1-24b-instructOpen Weights

Efficient Mistral model for fast chat, extraction, and production assistants

Benchmark Pricing$0.10 / 1M in$0.30 / 1M out$0.05 cache read
Context: 128,000 tokens•Max Output: 102,400 tokens•Knowledge: 2023-10-31•Released: 2025-03-17

TECHNICAL SPECIFICATIONS

Context Window128,000128K tokens
Max Output102,400102.4K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
TextVision
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ Mistral Small 3.1 24B does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Mistral Small 3.1 24B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.MISTRAL_API_KEY,
});

const response = await client.chat.completions.create({
  model: "mistral/mistral-small-3.1-24b-instruct",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

8 providers
NanoGPTmistralai/mistral-small-3.1-24b-instruct
$0.10 / $0.30$0.05 cache
watsonx.aimistralai/mistral-small-3-1-24b-instruct-2503
$0.11 / $0.32
AI/ML APImistralai/mistral-small-3.1-24b-instruct
$0.48 / $0.76
Eden AIcloudflare/@cf/mistralai/mistral-small-3.1-24b-instruct
$0.35 / $0.56
Kilo Gatewaymistralai/mistral-small-3.1-24b-instruct
$0.35 / $0.56
Vertexmistral-small-2503
$0.10 / $0.30
Cloudflare Workers AI@cf/mistralai/mistral-small-3.1-24b-instruct
$0.35 / $0.56
OpenRoutermistralai/mistral-small-3.1-24b-instruct
$0.35 / $0.56

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.05 / 1M tokens, saving up to 50% on repetitive MCP tool definitions and system instructions.