Mistral Small 4
mistral-small-4 Fast Mistral production model for chat, extraction, and cost-sensitive agents
Quick facts
- Released
- March 2026
- Model type
- Open-weight
- Model family
- Mistral Small
- Input modalities
- Supports: Text, Image
- Output modalities
- Supports: Text
- Available regions
- Global
- Zero data retention
- Yes
- Available on nexos.ai
- Yes
Pricing and specifications of Mistral Small 4
Explore Mistral Small 4 pricing per million input, output, and cached tokens, along with its context window and maximum output limits.
Available providers
Specifications
Context window
256K tokens
Max output
256K tokens
Input
Output
Quickstart
Start using Mistral Small 4
Model ID
mistral-small-4 Base URL
https://api.nexos.ai/v1 Code
from openai import OpenAI
# Get your API key from the nexos.ai dashboard
client = OpenAI(
base_url="https://api.nexos.ai/v1",
api_key="YOUR_NEXOS_API_KEY",
)
response = client.chat.completions.create(
model="mistral-small-4",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content) import OpenAI from 'openai';
// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
baseURL: 'https://api.nexos.ai/v1',
apiKey: 'YOUR_NEXOS_API_KEY',
});
const response = await client.chat.completions.create({
model: 'mistral-small-4',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content); curl https://api.nexos.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistral-small-4",
"messages": [{"role": "user", "content": "Hello!"}]
}' Other Mistral AI models
Models from Mistral AI with comparable capabilities and pricing.
Start building with Mistral Small 4
Access Mistral Small 4 and 200+ other AI models through nexos.ai.
FAQ
Common questions about Mistral Small 4, its availability and usage.
Mistral Small 4 pricing starts at $0.17 per 1 million input tokens and $0.66 per million output tokens. Prices may vary depending on the provider, region, and caching options. See the pricing table above for a full comparison.
Mistral Small 4 supports a context window of 256,000 tokens, with a maximum output of 256,000 tokens. The context window determines how much information the model can process in a single request.
Mistral Small 4 supports vision, tool calling, prompt caching, reasoning, and web search. These features can be used individually or together, depending on the model and your application’s requirements.
Mistral Small 4 is available through Mistral AI, with deployment options in the Global region. Availability may vary by provider. See the provider comparison table above for details.
Zero data retention (ZDR) is available for Mistral Small 4 through Mistral AI. With ZDR, supported providers do not retain request and response content after processing, subject to their applicable policies.
To use Mistral Small 4 through nexos.ai, you’ll need an Enterprise plan. Once your account is set up, create an API key, set your base URL to https://api.nexos.ai/v1, and specify mistral-small-4 in your API request. nexos.ai is OpenAI-compatible, so you can use your existing SDK integration by updating the API key, base URL, and model ID.