mistralai
Mistral: Devstral 2 2512
Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring...
Context
262k tokens
Input / 1M tokens
$0.40
Output / 1M tokens
$2
Benchmark
—
Pricing
Input tokens$0.40 per 1M tokens
Output tokens$2 per 1M tokens
Cache read$0.04 per 1M tokens
Technical details
Model IDmistralai/devstral-2512
Context window262k 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/devstral-2512',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Mistral: Devstral 2 2512?
Get an API key and start making requests in minutes.
Get an API key