Magistral Medium
magistral-medium-latestPricing
List prices at Mistral AI, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $1.50 | $7.50 | |
| Cached input 90% off input | $0.15 | 90% off input |
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
Where to run it
2 hosts serve Magistral Medium. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Mistral AILab API magistral-medium-latest | $1.50 / $7.50 | magistral-medium-latest | |
Vercel AI GatewayGateway magistral-medium | $2.00 / $5.00 −8% vs headline | magistral-medium |
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 Gateway8% lessmagistral-medium$2.00 / $5.00
Smaller Mistral AI models
- 91% less
- 91% less
- 92% less
Other frontier labs
- 33% less
- 50% less
- 58% less
- 93% less
Open-weight picks
- 25% less
- 43% less
- 77% less
- 83% less
Call it
Using Mistral AI's API.
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
}