mistralai
Mistral Large 2407
This is Mistral AI's flagship model, Mistral Large 2 (version mistral-large-2407). It's a proprietary weights-available model and excels at reasoning, code, JSON, chat, and more. Read the launch announcement [here](https://mistral.ai/news/mistral-large-2407/)....
Context
131k tokens
Input / 1M tokens
$2
Output / 1M tokens
$6
Benchmark
—
Pricing
Input tokens$2 per 1M tokens
Output tokens$6 per 1M tokens
Cache read$0.20 per 1M tokens
Technical details
Model IDmistralai/mistral-large-2407
Context window131k tokens
Input modalitiestext, file
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-large-2407',
messages: [{ role: 'user', content: 'Hello!' }],
})