Mistral AI

Mistral Small 4

mistral-small-4

Fast Mistral production model for chat, extraction, and cost-sensitive agents

VisionTool CallingCachingReasoningWeb

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.

Input / 1MOutput / 1MCached input / 1MContextMax output
$0.17$0.66$0.02256K256K

Available providers

Provider Region Input / 1M Output / 1M Cache / 1M ZDR
Mistral AI Global $0.17 $0.66 $0.02

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.

ModelInputOutputContextCapabilitiesRegion
Mistral Medium 3.5$1.65$8.25224K
VisionToolsCacheWeb
Global
Codestral
$0.33$0.9996K
ToolsCacheJSON
Global
Mistral Large 3
$0.55$1.65240K
VisionToolsCacheWebJSON
Global

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.