All models
Model card on Hugging Face
Devstral Small
by Mistral AI
Chat Vision Tools
Mistral AI's Devstral Small (mistral3 family) — vision, tool use; 393K context.
- Publisher
- Mistral AI
- Context window
- 384K tokens
- Sizes
- 24B
- Licence
- Apache 2.0
Run Devstral 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="devstral-small-2:24b",
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="devstral-small-2:24b",
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 Devstral Small on your own UK infrastructure
Deploy a worker, install Devstral Small, and start serving it through one sovereign API endpoint.