impulse

Magistral Medium

API id magistral-medium-latest
Input / 1M
$1.50
at Mistral AI
Output / 1M
$7.50
at Mistral AI
Context window
262K
tokens
Max output
262K
tokens per reply
Hosts
2
2 listings
Released
-
date not published

Pricing

List prices at Mistral AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$1.50$7.50
Cached input
90% off input
$0.15

What it costs a month

At Mistral AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$891
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$666
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$1,116
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$5,400
Use your own numbers

Where to run it

2 hosts serve Magistral Medium. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Mistral AILab API
magistral-medium-latest
$1.50 / $7.50
magistral-medium
$2.00 / $5.00
−8% vs headline

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
TextImages
Produces
Text
Effort settings the source lists
nonehigh
Features
Assistant prefill

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

  • Vercel AI Gateway
    magistral-medium
    $2.00 / $5.00
    8% less

Smaller Mistral AI models

  • Magistral Small
    Mistral AI · on Mistral AI
    $0.15 / $0.60
    Has every key capability
    91% less
  • Mistral Vibe Cli Fast
    Mistral AI · on Mistral AI
    $0.15 / $0.60
    Has every key capability
    91% less
  • Zai Glm 5.3 Flash
    Mistral AI · on Mistral AI
    $0.15 / $0.50
    Has every key capability
    92% less

Other frontier labs

  • GPT-6.1 Terra
    OpenAI · on OpenAI
    $1.00 / $5.00
    Has every key capability
    33% less
  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    50% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    58% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    93% less

Open-weight picks

  • Qwen4 Max
    Alibaba Qwen · on Alibaba DashScope
    $1.50 / $4.50
    Has every key capability
    25% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    43% less
  • Kimi K2.7 Code
    Moonshot AI · on CLF AI Gateway
    $0.38 / $1.60
    Has every key capability
    77% less
  • DeepSeek Flash
    DeepSeek · on DeepSeek
    $0.30 / $1.20
    Has every key capability
    83% less

Call it

Using Mistral AI's API.

Python
from litellm import completion

response = completion(
    model="mistral/magistral-medium-latest",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Magistral Medium cost?

On Mistral AI, Magistral Medium costs $1.50 per million input tokens and $7.50 per million output tokens. Cached input costs $0.15 per million tokens. The cheapest host is Vercel AI Gateway, at $2.00 per million input tokens and $5.00 per million output tokens.

Which APIs offer Magistral Medium?

Magistral Medium runs on 2 APIs: Mistral AI and Vercel AI Gateway.

What is Magistral Medium's context window?

262K tokens, with up to 262K tokens in one reply.

Is Magistral Medium being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Magistral Medium?

Models that cost less and keep most of what it can do: Magistral Small on Mistral AI (91% less), GPT-6.1 Terra on OpenAI (33% less), Gemini 3.8 Flash on Google AI Studio (50% less) and Qwen4 Max on Alibaba DashScope (25% less). Magistral Medium itself costs 8% less on Vercel AI Gateway. Savings are on a mix of 3 input tokens to 1 output token.

What is Magistral Medium's API model id?

Use magistral-medium-latest with Mistral AI. Other hosts use their own ids: magistral-medium on Vercel AI Gateway.

Sources

Raw catalog entry for magistral-medium-latest on Mistral AI
{
  "cache_read_input_token_cost": 1.5e-7,
  "input_cost_per_token": 0.0000015,
  "litellm_provider": "mistral",
  "max_input_tokens": 262144,
  "max_output_tokens": 262144,
  "mode": "chat",
  "output_cost_per_token": 0.0000075,
  "reasoning_effort_levels": [
    "none",
    "high"
  ],
  "source": "https://docs.mistral.ai/models/model-cards/mistral-medium-3-5-26-04",
  "supports_assistant_prefill": true,
  "supports_function_calling": true,
  "supports_reasoning": true,
  "supports_response_schema": true,
  "supports_tool_choice": true,
  "supports_vision": true
}