Skip to content
FluxCDNFluxCDN
esc

Mistral: Mistral Medium 3.1

Mistral Medium 3.1 is an updated version of Mistral Medium 3, which is a high-performance enterprise-grade language model designed to deliver frontier-level capabilities at significantly reduced operational cost.

Input
160,552 Toman/M tokens
Output
795,928 Toman/M tokens
Context
131K
Max output
105K
Published
Aug 13, 2025
Maker
Mistral

Free plan prices, in Toman at today's rate. Plans and prices

Price by plan

Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.

PlanInputOutput
Free160,552795,928
Pro153,972763,308
Max147,392730,688

Capabilities

  • Text
  • Vision
  • Tools
  • JSON

What it takes and gives

Accepts
  • Text
  • Image
  • File (PDF)
Creates
  • Text

Every input listed here works through the API and the playground: images and PDFs as data URLs or https links, audio as base64, video as a data URL or a link the model supports.

Call it

Pass mistralai/mistral-medium-3.1 as the model name, or let router/auto choose for you.

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://ai.fluxcdn.cloud/api/v1",
    api_key=os.environ["FLUXCDN_API_KEY"],
)

resp = client.chat.completions.create(
    model="router/auto",
    messages=[{"role": "user", "content": "Hello"}],
)

print(resp.choices[0].message.content)