Mistral AI

Mistral AI: Mistral Medium 3.1

stable

Mistral Medium 3.1 is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

mistral-medium-2508mistral-mediumreleased Aug 12, 2025
Context
262.1K
tokens
Max output
262.1K
tokens
Input
$0.40
per 1M
Output
$2.00
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

ProviderContextInput /MOutput /M

Pricing

ItemPriceUnit
Input$0.40per 1M tokens
Output$2.00per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
mistral-medium-2508
Family
mistral-medium
Status
stable
Knowledge
May 1, 2025
Released
Aug 12, 2025
Gateway Config
API
2024-01-01
Auth
MISTRAL_API_KEY
Discovery
static
Provider type
static

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@mistral/mistral-medium-2508",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://api.mistral.ai/v1
Chat completions
https://api.mistral.ai/v1/chat/completions
Model
mistral-medium-2508
Auth env
MISTRAL_API_KEY

Mistral Medium 3.1 FAQ

How much does the Mistral Medium 3.1 API cost?

Through Mistral AI, Mistral Medium 3.1 costs $0.40 per 1M input tokens and $2.00 per 1M output tokens.

What is the context window of Mistral Medium 3.1?

Mistral Medium 3.1 accepts up to 262.1K tokens of context and returns up to 262.1K output tokens on Mistral AI.

What can Mistral Medium 3.1 do?

Mistral Medium 3.1 supports chat, function calling and image input. It accepts text and image input.

How do I call Mistral Medium 3.1 through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @mistral/mistral-medium-2508. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.