mistralaiVision
Mistral: Mistral Small 4
Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system. It combines strong reasoning from...
Context
262k tokens
Input / 1M tokens
$0.15
Output / 1M tokens
$0.60
Benchmark
—
Pricing
Input tokens$0.15 per 1M tokens
Output tokens$0.60 per 1M tokens
Cache read$0.01 per 1M tokens
Technical details
Model IDmistralai/mistral-small-2603
Context window262k tokens
Input modalitiestext, image
Output modalitiestext
TokenizerMistral
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'mistralai/mistral-small-2603',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Mistral: Mistral Small 4?
Get an API key and start making requests in minutes.
Get an API key