Mistral Small 4
by Mistral AI Chat · Vision · Tools · Thinking
Mistral Small 4 is Mistral AI's mid-size flagship, a mixture-of-experts model that activates only a small fraction of its parameters per token for efficient inference. It reads images as well as text, supports tool use, and handles a 256K-token context, making it a capable all-rounder for chat, coding, and document work.
- Publisher
- Mistral AI (opens in a new tab)
- API model name
- mistral-small-4:119b
- Context window
- 256K tokens
- Sizes
- 119B
- Licence
- Apache 2.0
Run Mistral Small 4
Install it on a Pendra worker, then call it through our SDK with your pdr_sk_ API key.
from pendra import Pendra
client = Pendra(api_key="pdr_sk_...")
response = client.chat.completions.create(
model="mistral-small-4:119b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
from pendra import Pendra
client = Pendra(api_key="pdr_sk_...")
response = client.chat.completions.create(
model="mistral-small-4:119b",
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)
Related models
Ministral 3
Mistral AI
ministral-3
Ministral 3 is Mistral AI's compact instruction model family, offered in several sizes with tool use and image understanding. It's engineered for efficient, low-latency inference on modest hardware while retaining strong general capability, making it a good edge and on-device option.
Chat · Vision · Tools · Thinking
Devstral Small 2
Mistral AI
devstral-small-2
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.
Chat · Vision · Tools
Devstral 2
Mistral AI
devstral-2
Devstral 2 is Mistral AI's large coding model, built for software-engineering agents that explore and modify real repositories rather than answer isolated questions. At 123B dense parameters with a 256K-token context and native tool use, it targets long-running agentic development work. It ships under a modified MIT licence that permits commercial use.
Chat · Tools
Run Mistral Small 4 on infrastructure you trust.
Deploy a worker, install Mistral Small 4, and start serving it through one private API.