Devstral Medium 2507
Mistral AI
At a glance
- Price per 1M tokens (input)
- $0.40
- Price per 1M tokens (output)
- $2.00
- Context
- 128,000 tokens
- Free access
- yes (see below)
Refreshed daily; data verified August 15, 2026. Published August 12, 2026.
Devstral Medium 2507 is a compact, tool-calling specialist from Mistral AI, built for developers and enterprises that need reliable function invocation within their AI workflows. It excels at tasks like database queries, API orchestration, and structured data extraction, where precise, schema-aware outputs matter more than open-ended conversation. The vendor’s approach emphasizes efficiency and control: the model is designed to parse user intent into executable tool calls with minimal hallucination, and it integrates cleanly into existing agent architectures. This makes it a strong fit for production systems that require deterministic behavior and low-latency automation, rather than creative writing or broad knowledge tasks.
Specifications & pricing
| Input (per 1M tokens) | $0.40 |
|---|---|
| Output (per 1M tokens) | $2.00 |
| Context window | 128,000 tokens |
| Max output | 128,000 tokens |
| Capabilities | tool calling |
LiteLLM community dataset (MIT), verified August 15, 2026. Official Mistral AI pricing.
What Devstral Medium 2507 would cost on your workload — run it through the cost calculator →
Where to try Devstral Medium 2507 for free
- Mistral AI offers a free chat — Le Chat (free plan). A vendor's free chat may run a different model from the same family — the exact model is not guaranteed.
Frequently asked questions
What is Devstral Medium 2507 best used for?+
It is optimized for tool calling, which means the model can decide when and how to invoke external functions or APIs to complete a task. Typical use cases include building AI agents that query databases, update CRM records, or trigger workflows, as well as extracting structured data from unstructured input. It is not designed for long-form creative writing or general chat.
How do I get started with Devstral Medium 2507?+
You can access it through Mistral AI's platform or via compatible inference providers. The model accepts a standard chat format with messages, and you define a set of tools (functions) in your request. The model then outputs a structured call to one of those tools when needed. Start by testing with a simple function like a calculator or a weather lookup, then expand to more complex integrations.
How does Devstral Medium 2507 differ from other Mistral models like Devstral Small or Large?+
Devstral Medium sits between the Small and Large variants in the Devstral line, offering a balance of capability and computational cost. It is more powerful than Small for complex tool use and multi-step reasoning, but lighter than Large, making it a practical choice for latency-sensitive applications. All Devstral models share the same tool-calling focus, but Medium is often the sweet spot for production workloads that need reliability without excessive resource usage.
What are the limitations of Devstral Medium 2507?+
Like all tool-calling models, it depends on the quality of the tool definitions you provide; ambiguous or poorly documented functions can lead to incorrect calls. It may struggle with tasks that require broad world knowledge or nuanced language understanding, as its training emphasizes function invocation over general conversation. Additionally, it is not a replacement for a full agent framework—you still need to handle error recovery and orchestration on your side.
Compare with others

Org chart: how to move your company onto AI
A practical map: which company roles and processes AI agents can take over, where to start, and in what order to roll it out.