Skip to content
Rapid Router
← All models

Devstral 2

mistralai/devstral-2512

Mistral model · Served by Mistral · live on the gateway

Input / 1M
$0.440
Output / 1M
$2.20
Context
262K tokens
Max output
262K tokens
Input
Text
Released
10mo ago

Pricing

Input tokens$0.440 per 1M
Output tokens$2.20 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

About Devstral 2

Mistral's coding-agent model for repository work, terminal tasks, and software fixes

Tools

What it supports

  • Tool calling (function calling)
  • JSON mode and structured output
  • Image input (vision)
  • Audio input
  • Extended reasoning
  • Streaming responses
  • OpenAI SDK, Anthropic SDK and any OpenAI-compatible client

Make a request

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

Frequently asked

How do I call Devstral 2 through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to mistralai/devstral-2512. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

What is the context window of Devstral 2?

Devstral 2 has a context window of 262,144 tokens on Rapid Router, and returns up to 262,144 output tokens per reply.

What can Devstral 2 do?

On Rapid Router, Devstral 2 supports tool calling.

More Mistral models