Mistral AI

Devstral Medium

131K ctxText Tools

Released Jul 10, 2025 · 24B tokens this week · 2 providers

Overview

An agentic coding model built to operate inside a repository: reading files, running tests and applying patches. Designed for scaffolded software agents rather than single-turn question answering. Strong on issue-resolution benchmarks for its size.

programmingagents

Providers

Reference data — not yet measured from live traffic

PROVIDERMAX OUTOUTPUT /MQUANT
Mistral AICheapest
131K33K$0.40$2.00200ms9299.80%Full
Azure AI Foundry
131K33K$0.44$2.20640ms7899.55%Full

Latency p50 reflects a provider’s API endpoint responsiveness — the round-trip to its API, not per-token inference time. These figures, with throughput and uptime, are reference data until the gateway aggregates its own traffic.

Price comparison

Blended $ per 1M tokens

Devstral Medium$1.60
GPT-5.2$10.94

Blended rate per 1M tokens, weighted one part prompt to three parts completion — roughly the shape of a chat workload. Your mix will move the number.

Call it

OpenAI-compatible — swap the base URL and go

curl https://model.cards/api/v1/chat/completions \
  -H "Authorization: Bearer $MODELCARDS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/devstral-medium",
    "messages": [
      { "role": "user", "content": "Summarize the tradeoffs of speculative decoding." }
    ]
  }'