Calculator
Devstral 2 2512: self-host or API?
Self-hosting
Wide estimateNo provider publishes this model in fp8, our default precision. Calculated in fp16 instead: more memory, so another configuration and price.
Wide estimate. The API is cheaper below 369 million tokens a day. Above that, self-hosting wins only if the configuration is busy at least 95% of the time, and only at our higher throughput estimates; at our lowest estimate, even constant use would not pay off.
At 50% utilization · Cheapest API offer: $0.65 per million tokens at NanoGPT (3:1 input:output mix)
Hardware rental only: the hourly price the provider publishes for the machine. It does not count the engineering to deploy and run the model, monitoring, redundancy, start-up time, or storage and network costs billed separately.
- Break-even volume
- 369.23 million tokens a day
- Throughput self-hosting needs
- 8,548 tokens per second
- At 50% utilization
- Throughput self-hosting needs
- 4,274 tokens per second
- If busy all the time
At least this many input plus output tokens per second, all GPUs together, while serving.
What published figures show
- Break-even utilization: Prudent Never (above 100%) · Median Never (above 100%) · Optimistic 94.5%
- Published figure used (opens in a new tab)
Rented configuration
8 x L40 48GB at CoreWeave
$240.00 a day · $10.00 an hour · Guaranteed · 384 GB of GPU memory · fp16
Checked Oct 31, 2026 Price page at the provider (opens in a new tab)
Calculation detail
Throughput scenarios
| Scenario | Tokens per second | Usable capacity (million tokens a day) | Break-even utilization | Self-hosted cost per million tokens | Against the cheapest API offer |
|---|---|---|---|---|---|
| Prudent | 345.3 | 14.92 | Never (above 100%) | $16.09 | Dearer |
| Median | 1,294.8 | 55.94 | Never (above 100%) | $4.29 | Dearer |
| Optimistic | 4,520 | 195.27 | 94.5% | $1.23 | Dearer |
Cheapest of 4 current standard offers, promotions, unstable prices, off-peak prices without published hours and unverified prices far below those of the other providers excluded Checked Oct 31, 2026
Assumptions
- other architecture type, scaled by memory bandwidth and active weights (x0.18)
- Hardware rental only: the hourly price the provider publishes for the machine. It does not count the engineering to deploy and run the model, monitoring, redundancy, start-up time, or storage and network costs billed separately.
- Configuration: we pick the cheapest one whose weights fit. If a configuration costing up to 25% more has a measured throughput, we pick it instead; failing that, one with a derived throughput; failing that, one with a published lower bound that settles the verdict; among equals, the cheaper. A configuration whose throughput is only a wide estimate is never preferred over the cheapest. This is our rule, not a technical requirement.
- Quantization fp16; guaranteed tier prices as published by the provider; utilization 50%.
- Throughput is aggregate (input and output tokens, 3:1). Published figures in generated tokens are converted with a prefill/generation speed ratio of 3 (prudent), 5 (median) and 8 (optimistic). We treat a published output figure as if the GPUs only generated tokens, ignoring that the benchmark also read prompts: this understates the throughput of the whole configuration, which is the cautious side for self-hosting.
- Break-even = daily GPU cost / API price per million tokens (369 million tokens a day). Self-hosting is cheaper only if the average utilization you can sustain exceeds break-even / raw capacity (the break-even utilization of each scenario), whatever the number of GPUs.