Devstral Small 2

by Mistral AI Chat · Vision · Tools

Devstral Small 2 is Mistral AI's coding-focused model, tuned for software-engineering agents that navigate and edit real codebases. It combines tool use with image understanding in a compact 24B size, targeting practical developer automation.

API model name
devstral-small-2:24b
Context window
256K tokens
Sizes
24B
Licence
Apache 2.0

Run Devstral Small 2

Install it on a Pendra worker, then call it through our SDK with your pdr_sk_ API key.

Read the quickstart

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)

Run Devstral Small 2 on infrastructure you trust.

Deploy a worker, install Devstral Small 2, and start serving it through one private API.