mistral/devstral-small-2507Open WeightsMistral coding agent model for repository tasks and software engineering workflows
Benchmark Pricing$0.10 / 1M in$0.30 / 1M out
Context: 128,000 tokens•Max Output: 128,000 tokens•Knowledge: 2025-05•Released: 2025-07-10
TECHNICAL SPECIFICATIONS
Context Window128,000128K tokens
Max Output128,000128K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema
MODEL CONTEXT PROTOCOL (MCP) READINESS
✓ Devstral Small natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.
MCP Context Window Recommendations
With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.
STANDARDIZED BENCHMARKS & EVALS
SWE-Bench Verifiedresolved
53.6API CALL INVOCATION EXAMPLE
// Example: Calling Devstral Small via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.MISTRAL_API_KEY,
});
const response = await client.chat.completions.create({
model: "mistral/devstral-small-2507",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Mistraldevstral-small-2507
$0.10 / $0.30
Merge Gatewaymistral/devstral-small-2507
$0.10 / $0.30
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Mistral
Alternative and family models from the same lab
Mistral Large 4
mistral/mistral-large-4•Mistral
Mistral's 1T-parameter multimodal MoE for reasoning, coding, and agentic work
262.1K out maxVision
In: $0.68 • Out: $2.09
MistralMistral Medium 3.5
mistral/mistral-medium-3-5•Mistral
Mistral model for multilingual chat, reasoning, and tool-assisted workflows
209.7K out maxVisionPDF
In: $1.50 • Out: $7.50
MistralMinistral 14B
mistral/ministral-14b•Mistral
Compact multimodal Mistral model for local assistants, edge agents, and efficient tool use
262.1K out maxVision
In: $0.24 • Out: $0.24
Mistral