Devstral Small 2 24B in Q4_K_M with an 8k context takes 15.6 GB of GPU memory. The cheapest option right now is RTX 4060 Ti 16 GB, from $0.132/h.
The weight file and the total GPU memory with the context cache. One GPU, one request.
| Quantisation | File | 8K context | 32K context | 128K context | Fits on |
|---|---|---|---|---|---|
| FP8native | 24.0 | 26.3 | 30.0 | 45.0 | RTX 4080 Super 32 GB |
| BF16 | 43.9 | 46.2 | 49.9 | 64.9 | RTX A6000 48 GB |
| Q8_0 | 23.3 | 25.6 | 29.3 | 44.3 | RTX 4080 Super 32 GB |
| Q6_K | 18.0 | 20.3 | 24.0 | 39.0 | RTX 4090 24 GB |
| Q5_K_M | 15.6 | 17.9 | 21.6 | 36.6 | RTX 3080 20 GB |
| Q4_K_M | 13.3 | 15.6 | 19.3 | 34.3 | RTX 4060 Ti 16 GB |
| Q3_K_M | 10.7 | 12.9 | 16.7 | 31.7 | RTX 4060 Ti 16 GB |
| Q2_K | 8.3 | 10.5 | 14.3 | 29.3 | RTX 3060 12 GB |
How much memory the cache takes per request in FP16. A Q8 cache is about half. 160 KB per token.
GPUs from the catalog the model fits on, by price per hour.
Each price is for the cheapest listed server with that exact GPU count. The final rate depends on the disk you choose and current availability.
For an API under load there is the vLLM template with an OpenAI-compatible API.
File sizes checked against Hugging Face on 2026-10-19. 1 GB here is 1024³ bytes, like GPU memory. Hugging Face lists decimal gigabytes, so its numbers are 7% larger.