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 ID | mistral/devstral-medium-latest |
|---|---|
| Provider | Mistral |
| Context window | 128,000 tokens |
| Operations | CHAT_COMPLETIONS |
| Modalities | text, image |
Pricing
A 6% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| CHAT_COMPLETIONS | INPUT_TEXT | PER_1M_TOKENS | $0.400000 |
| CHAT_COMPLETIONS | OUTPUT_TEXT | PER_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
- Mistral Large 3 mistral/mistral-large-latest
- Mistral Small 4 mistral/mistral-small-latest
- Mistral Medium 3.1 mistral/mistral-medium-latest
- Magistral Medium 1.2 mistral/magistral-medium-latest
- Magistral Small 1.2 mistral/magistral-small-latest
- Devstral Small 2 mistral/devstral-small-latest
- Codestral mistral/codestral-latest
- Pixtral Large mistral/pixtral-large-latest