Mistral Medium 3.1

MistralMCP Tool Call
mistral/mistral-medium-3.1Closed API

Mistral model for multilingual chat, reasoning, and tool-assisted workflows

Benchmark Pricing$0.40 / 1M in$2.00 / 1M out
Context: 131,072 tokens•Max Output: 104,857 tokens•Knowledge: 2025-06-30•Released: 2025-08-12

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output104,857104.9K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Mistral Medium 3.1 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

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

API CALL INVOCATION EXAMPLE

// Example: Calling Mistral Medium 3.1 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-medium-3.1",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

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

PRICING BY PROVIDER

5 providers
Mistralmistral-medium-2508
$0.40 / $2.00
NanoGPTmistralai/mistral-medium-3.1
$0.40 / $2.00$0.20 cache
AI/ML APImistralai/mistral-medium-3.1
$0.55 / $2.75$0.06 cache
Kilo Gatewaymistralai/mistral-medium-3.1
$0.40 / $2.00$0.04 cache
OpenRoutermistralai/mistral-medium-3.1
$0.40 / $2.00$0.04 cache

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

MODEL RESOURCES