Skip to content
All models
MistralAvailable

Devstral 2

Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding.

Try in ewpiremistralai/devstral-2512

Opens in the ewpire workspace. Creating an account is free; runs are paid from your credits.

Devstral 2 in plain words

Devstral 2 is a text model from Mistral. It takes text and files as input and returns text. Its context window is 262,144 tokens. It costs 0.496471 credits per 1M input tokens and 2.482353 credits per 1M output tokens.

It is good at writing and reviewing code, reading attached files, and calling tools. It does not read images. It runs at medium speed among the models in the catalog. A context window of 262,144 tokens holds about 1,000,000 characters of English text, at 4 characters a token.

For example, a question of 2,000 tokens (about 8,000 characters) with an answer of 1,000 tokens (about 4,000 characters) costs 0.003476 credits. The exact charge follows the usage the model reports for your request.

Details

Made by
Mistral
Good at
FilesTool useCoding
Reads
Text, Files
Produces
Text
Context window
262,144 tokens
Speed
Medium speed

Price

Input, per 1M tokens
0.496471 credits
Output, per 1M tokens
2.482353 credits

Charged per request from your credit balance. No subscription. See pricing

Use it through the API

Call it with the OpenAI SDK or plain HTTP: set the base URL to ewpire and pass this model id. Read the docs

curl https://ewpire.com/api/v1/chat/completions \
  -H "Authorization: Bearer $EWPIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistralai/devstral-2512","messages":[{"role":"user","content":"Hello!"}]}'

The docs show how to list the models the API serves, with their capabilities and prices. Models in the docs

Similar models