Back to All Models
Mistral · Balanced

Devstral 2 2512

mistralai/devstral-2512
Use Model Now

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

Input Price / 1M Tokens
$0.54
Output Price / 1M Tokens
$2.70
Context Window
262K
Tools
Python Example — mistralai/devstral-2512
from openai import OpenAI

client = OpenAI(
    base_url="https://relaystack-ai.vercel.app/v1",
    api_key="sk-rs-your-key-here",
)

response = client.chat.completions.create(
    model="mistralai/devstral-2512",
    messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)