Models

Mistral Medium

Model id: mistral/mistral-medium

  • Agentic
  • Coding
  • Tools

Mistral mid-tier model balancing quality, speed, and cost for general work.

Best for

agentic apps, coding help, and solid day-to-day production traffic.

Provider
Mistral AI
Context window
256,000
Release date
2025-05-01
Reasoning effort
nonehighDefault: none

Pricing

Input
$2.3148 / 1M
Output
$11.5739 / 1M

Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-07-31).

Performance

Reading

Last 7 days

Not enough data to display the chart.

Activity

Tokens

Top 5 tools · last 7 days

Not enough data to display tool activity.

Availability

Availability (%)

Last 7 days

Operational probes
100% over 7 days
Samples
8,607

View service status

Quick start

Call the API with a tonia_ key and the exact model id below.

curl

curl https://pass.tonia.ca:8443/v1/chat/completions \
  -H "Authorization: Bearer $TONIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral/mistral-medium",
    "messages": [{"role":"user","content":"Bonjour"}]
  }'

Python (OpenAI SDK)

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://pass.tonia.ca:8443/v1",
    api_key=os.environ["TONIA_API_KEY"],
)
response = client.chat.completions.create(
    model="mistral/mistral-medium",
    messages=[{"role": "user", "content": "Bonjour"}],
)

TypeScript (OpenAI SDK)

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://pass.tonia.ca:8443/v1",
  apiKey: process.env.TONIA_API_KEY,
});

const response = await client.chat.completions.create({
  model: "mistral/mistral-medium",
  messages: [{ role: "user", content: "Bonjour" }],
});

Create a key in the portal