Magistral-Medium-2509-Thinking

Magistral-Medium-2509-Thinking

Provider: Mistral AI
Category: Text Generation
Endpoint: POST /v1/chat/completions
Context window: 40K
Served from:

Reasoning model tuned for tasks needing longer thought and higher accuracy: legal research, financial forecasting, software, and storytelling.

At a glance

FieldValue
Model idmagistral-medium-2509-thinking
Input modalitiestext
Output modalitiestext
Context window40K
Region
Featuresreasoning, thinking
NewNo
Native inferenceNo

Pricing

ChargeSpecRate
Input (text)per 1M tokens$2.60
Output (text)per 1M tokens$6.50

Example request

$curl https://api.empiriolabs.ai/v1/chat/completions \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "magistral-medium-2509-thinking", "messages": [{"role":"user","content":"Hello"}]}'

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno0.7Sampling temperature · Range: 0 – 2
top_pnumberno1Nucleus sampling · Range: 0 – 1
max_tokensnumberno4096Max output tokens · Range: 1 – 65536
frequency_penaltynumberno0Range: -2 – 2
presence_penaltynumberno0Range: -2 – 2
streambooleannofalseServer-Sent Events streaming
stopstringnoComma-separated stop sequences
disable_formattingbooleannofalseReturn raw upstream response with no formatting wrappers
enable_thinkingbooleannotrueReason step-by-step before answering
thinking_budgetnumberno32768Tokens reserved for thinking · Range: 1 – 393216

Live machine-readable schema is also available at GET https://api.empiriolabs.ai/v1/models/magistral-medium-2509-thinking.