Mistral's coding-agent model for repository work, terminal tasks, and software fixesDevstral 2 by mistral is offered by 16 providers on this page. Public prices are shown for 14 of them. Its official list price is $0.40 per 1M input tokens and $2.00 per 1M output tokens. The lowest paid channel is NanoGPT at $0.40 / $1.40 per 1M, about 1.2× below the list price. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it. It also has 1 free ($0) channel; free tiers usually carry rate limits, and subscription-covered access bills $0 per token only after the subscription fee.
The context window is 262,144 tokens at the reference host, but hosts report different limits, from 128,000 to 262,144, so the usable window depends on the provider you pick. It supports tool use and structured output. Accepted input modalities are Text and PDF. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use. Its training knowledge cuts off at 2025-12.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| InferX Devstral-2-123B-Instruct-2512-int4-AutoRound | Gateway | Free | — | — | 128,000 ⚠ | 128,000 | ||
| NanoGPT mistralai/devstral-2-123b-instruct-2512 | Gateway | $0.40 | $1.40 | $0.20 | — | 262,144 | 65,536 | |
| MistralOfficial | First-party | $0.40 | $2.00 | — | — | 262,144 | 262,144 | deprecated |
| MistralOfficial devstral-latest | First-party | $0.40 | $2.00 | — | — | 262,144 | 262,144 | deprecated |
| LLM Gateway | Gateway | $0.40 | $2.00 | — | — | 262,144 | 262,144 | |
| Amazon Bedrock mistral.devstral-2-123b | Cloud | $0.40 | $2.00 | — | — | 262,144 | 8,192 | deprecated |
| DevPass (LLM Gateway) | Gateway | $0.40 | $2.00 | — | — | 262,144 | 262,144 | deprecated |
| Merge Gateway | Gateway | $0.40 | $2.00 | $0.04 | — | 256,000 ⚠ | 256,000 | |
| OpenRouter | Gateway | $0.40 | $2.00 | $0.04 | — | 262,144 | 209,715 | |
| Eden AI | Gateway | $0.40 | $2.00 | $0.04 | — | 262,144 | 262,144 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
1 more channels offer $0 (InferX); free tiers usually have rate limits and no SLA, excluded from ranking.
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| Artificial Analysis Coding Index | — | 23.7 | index | Source ↗ |
| SciCode | — | 33.1 | percent correct | Source ↗ |
| Terminal-Bench Hard | — | 18.9 | success rate | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.