All models
Model card on Hugging Face
Magistral Small
by Mistral AI
Chat
Vision
Tools
Thinking
Magistral Small is Mistral AI's reasoning model, trained to work through problems step by step before answering. It now reads images as well as text, extending that deliberate reasoning to visual input. At a compact 24B size it brings transparent reasoning and tool use within reach of single-GPU deployments.
- Publisher
- Mistral AI
- Context window
- 128K tokens
- Sizes
- 24B
- Licence
- Apache 2.0
Run Magistral Small
Install it on a Pendra worker, then call it through the OpenAI-compatible API with a pdr_sk_ key.
Chat
from pendra import Pendra
client = Pendra(api_key="pdr_sk_...")
response = client.chat.completions.create(
model="magistral:magistral-small-2509",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Vision
from pendra import Pendra
client = Pendra(api_key="pdr_sk_...")
response = client.chat.completions.create(
model="magistral:magistral-small-2509",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "What's in this image?"},
{"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}},
],
}
],
)
print(response.choices[0].message.content)
Run Magistral Small on your own UK infrastructure
Deploy a worker, install Magistral Small, and start serving it through one sovereign API endpoint.