Devstral 2 123B API pricing
Devstral 2 123B is in the catalog and available on request: ask and it is normally enabled within a business day, at the price shown.
- Context window
- 256k tokens
- Type
- Text
- Capabilities
- chat
- Availability
- On request
- Model id
- mistral-ai/devstral-2-123b
- Input, per 1M tokens
- $0.40
- Output, per 1M tokens
- $2.00
List price, no platform fee. Billed per request from prepaid credits; every response reports the cost.
Point the OpenAI SDK at OSMEXO and use mistral-ai/devstral-2-123b
The base URL and the key are the only changes. Streaming, tool calls, structured output and vision behave as they do upstream, and every response carries the billed cost beside the list price.
from openai import OpenAI
client = OpenAI(
base_url="https://api.osmexo.com/v1", # was the vendor's URL
api_key="osm-...",
)
r = client.chat.completions.create(
model="mistral-ai/devstral-2-123b",
messages=[{"role": "user", "content": "Hello"}],
)
Check it is the real Devstral 2 123B, with your own key
The same battery we run before a route goes live: tokenizer fingerprint, knowledge cutoff, hidden-prompt probe and exact-output tasks, scored 0 to 100 against the vendor’s own API. One OpenRouter key verifies any text model; a direct Mistral Ai key works too. Exit code 0 means the same model.
curl -fsSLO https://dashboard.osmexo.com/verify.mjs
OSMEXO_API_KEY=osm-... VENDOR_API_KEY=sk-or-... node verify.mjs --model mistral-ai/devstral-2-123b --vendor openrouter
About Devstral 2 123B on OSMEXO
- How much does Devstral 2 123B cost through OSMEXO?
- $0.40 per 1M input tokens and $2.00 per 1M output tokens, billed per request from prepaid credits. That is Mistral Ai’s list price; there is no platform fee on top. The price on this page refreshes from the catalog every few minutes.
- Is this the same Devstral 2 123B as calling Mistral Ai directly?
- Yes. Every route for Devstral 2 123B is probed against the vendor’s own API before it serves anyone: tokenizer fingerprint, knowledge cutoff, a hidden-prompt probe and exact-output tasks, scored 0 to 100 with 85 as the approval threshold. You can run the same check from your machine with your own vendor key; the command is on this page.
- How do I call Devstral 2 123B with the OpenAI SDK?
- Point the official OpenAI SDK at https://api.osmexo.com/v1 with your OSMEXO key and use the model id mistral-ai/devstral-2-123b. Streaming, tool calls, structured output and vision work as they do upstream. Coding agents such as OpenCode, Cline, Roo Code, Continue and Aider take the same base URL and key.
- Why is Devstral 2 123B “on request”?
- The model is in the catalog but not yet enabled for every key, usually because its routes are still being verified or a vendor key is pending. Ask from the contact form or the dashboard and it is normally enabled within a business day.