Mistral: devstral-medium-latest

codeproprietary

Our frontier code agents model for solving software engineering tasks; excels at using tools to explore codebases, editing multiple files and power software engineering agents.

Context
256K
Input price
$0.4/1M tokens
Output price
$2/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Infrastructure
Streaming

Details

Model IDmistral/devstral-medium-latest
Familydevstral
Licenseproprietary
Status—
Typecode
Input modalitiestext
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window256K tokens
Max input—
Max output—
Reasoning tokens—
Knowledge cutoff—
Release date—
Sourceofficial

Pricing

Input
$0.4
Output
$2
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: devstral

ModelContextMax outPricing
Mistral: devstral-small-2505:free———
Mistral: devstral-small:free———
OpenRouter: mistralai/devstral-2512:free———
OpenRouter: mistralai/devstral-small-2505:free———
OpenRouter: mistralai/devstral-small:free———
Mistral: devstral-small-2505128K—$0.06$0.12
OpenRouter: mistralai/devstral-small-2505——$0.06$0.12
Mistral: devstral-small-2507128K—$0.1$0.3
Mistral: devstral-small128K—$0.1$0.3
OpenRouter: mistralai/devstral-small-2507——$0.1$0.3
OpenRouter: mistralai/devstral-small——$0.1$0.3
Mistral: devstral-2512——$0.4$2
Mistral: devstral-medium-2507128K—$0.4$2
Mistral: devstral-medium-latest256K—$0.4$2
Mistral: devstral-medium128K—$0.4$2
OpenRouter: mistralai/devstral-2512——$0.4$2
OpenRouter: mistralai/devstral-medium-2507——$0.4$2
OpenRouter: mistralai/devstral-medium——$0.4$2

API

GET/v1/models/cloudflare-ai-gateway/mistral/devstral-medium-latest