How much does Devstral Medium cost per million tokens?
As of August 25, 2026, Devstral Medium Mistral API pricing is $0.40 per million input tokens and $2.00 per million output tokens via Mistral AI. Input tokens are the prompt you send; output tokens are the completion. Long answers therefore cost more than short ones even when the prompt stays the same. Source: https://docs.mistral.ai/platform/pricing/
What is the blended API cost for Devstral Medium?
On this page the blended Devstral Medium API cost is $2.40 for 1 million input tokens plus 1 million output tokens. That 1:1 mix is the comparison scale used across the LLM pricing table. A 3:1 mix (three million input tokens per one million output tokens), which some calculators use, would be about $3.20.
How much does a typical Devstral Medium request cost?
A typical Devstral Medium API request with 100K input tokens and 20K output tokens costs about $0.08 at current rates as of August 25, 2026. Multiply that by daily or monthly volume to estimate spend. Caching, batch APIs, and volume discounts from Mistral AI can bring the real invoice lower than the public list rate at https://docs.mistral.ai/platform/pricing/.
What is the context window for Devstral Medium?
Devstral Medium supports a 128K token context window and can generate up to 128K output tokens per request. The context window is the total prompt plus conversation history the model can see in one call. Larger windows cost more when you fill them, because every input token is billed per million tokens.
Is Devstral Medium open source?
No. Devstral Medium is a proprietary model by Mistral. The only public way to call it is Mistral AI's API, billed per million input and output tokens. There is no self-host option for the weights.
What benchmarks does Devstral Medium perform well on?
Devstral Medium currently reports SWE-bench Verified 61.6%, Arena Code Elo 1080. See the performance table for the full eval set. Use those scores with the token prices above when you are choosing between a cheaper LLM and a frontier model. GPQA, SWE-bench, and HLE are the evals people usually compare first.
Is Devstral Medium good for coding?
Devstral Medium scores 61.6% on SWE-bench Verified. Pair that score with Mistral API pricing on this page: a slightly worse SWE-bench model can still win if it is much cheaper per million tokens. Open the SWE-bench or coding leaderboard from the sidebar for the full ranking, then jump into an LLM comparison against a coding specialist.
How do I compare Devstral Medium with another LLM?
Use the Compare picker on this page to start an LLM comparison. Search by model or provider, pick a second model, and AnotherWrapper opens a dedicated Devstral Medium vs page with per-million-token prices, blended 1M-in / 1M-out cost, context window, throughput, and benchmarks. You can also open any model from the sidebar, or go back to the LLM pricing table to sort the full index.
What are the cheapest alternatives to Devstral Medium?
The cheapest LLM alternative depends on whether you optimize for blended token cost, coding evals, or context window. Start with the popular matchups on this page, then sort the LLM pricing table by blended cost to see which hosted APIs undercut Devstral Medium. Open-weight models can be cheaper still if you self-host, but that is not the same as Mistral API pricing on this page.
How do I use Devstral Medium in my application?
Devstral Medium is called through Mistral AI's API with an API key. Bill against input and output tokens separately; cache or shorten prompts if spend is high. If you are shipping a full product, AnotherWrapper includes pre-built API routes and templates for Mistral AI and 5+ other providers with auth, payments, and deployment already configured.
How accurate is this Devstral Medium pricing data?
This Devstral Medium page tracks the latest published Mistral API pricing from Mistral AI, quoted per million tokens. List rates can differ from invoices because of prompt caching, batch discounts, committed-use tiers, and private contracts. Official rate sheet: https://docs.mistral.ai/platform/pricing/. Benchmark scores come from official publications and independent evals, not from a private lab run by AnotherWrapper.
How fast is Devstral Medium?
Devstral Medium has a measured throughput of about 137.1 tokens per second (tok/s). Throughput is how fast completions stream once the model starts generating; time-to-first-token can still lag under load. Faster APIs matter when you are building chat or agents, even if the per-million-token price is the same.