Mistral / mistral/devstral-medium-latest

Devstral 2 - access through LLMTR

Very capable for repo understanding, implementation, refactors, and debugging in agentic software workflows. One of the main Mistral choices for coding products.

Technical specifications

Canonical IDmistral/devstral-medium-latest
ProviderMistral
Context window128,000 tokens
OperationsCHAT_COMPLETIONS
Modalitiestext, image

Pricing

A 6% platform margin applies to credit top-ups; model usage prices are not separately marked up.

OperationMetricUnitPrice
CHAT_COMPLETIONSINPUT_TEXTPER_1M_TOKENS$0.400000
CHAT_COMPLETIONSOUTPUT_TEXTPER_1M_TOKENS$2.00

Example usage

With existing OpenAI SDK flows, change only the base URL and model identifier.

curl https://llmtr.com/v1/chat/completions \
  -H "Authorization: Bearer llmtr-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistral/devstral-medium-latest","messages":[{"role":"user","content":"Hello"}]}'

Related models