mistralai
Mistral Large
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
128k 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
Context window128k 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',
messages: [{ role: 'user', content: 'Hello!' }],
})