Mistral Medium (Mistral) API

Mistral AI · serves mistral-medium

Pricing

Input / 1M$1.50
Output / 1M$7.50
Blended / 1M$9
Context window131,072 tokens
Max output32,768 tokens
LicenseAPI only · Proprietary proprietary
Knowledge cutoffJune 2025 · source

textfunction-calling

Price verified 2026-09-03 (2 days ago) · sourcecorroborated

Sources

SourceInput / 1MOutput / 1MVerified
OpenRouter$1.50$7.502026-09-03
LiteLLM$1.50$7.502026-09-03
models.dev$1.50$7.502026-09-04

Two independent sources agree within 20%.

Latency measured

RegionTTFT p50TTFT p95Total p50Total p95ThroughputSamples
eu-paris259.6 ms268.5 ms1,379.4 ms1,943.9 ms118.2 tok/s5

Time-to-first-token, measured server-side. Measured 2026-09-04 (0 days ago).

Call it

OpenAI-compatible endpoint — set MISTRAL_API_KEY.

curl https://api.mistral.ai/v1/chat/completions \
  -H "Authorization: Bearer $MISTRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral-medium-3.5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://api.mistral.ai/v1",
    api_key="...",  # MISTRAL_API_KEY
)
resp = client.chat.completions.create(
    model="mistral-medium-3.5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Price unchanged since 2026-09-03 — 1 point on record.

Use this data

Raw JSON for this page: mistral-medium.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.