Will it fit? · prices checked 2026-11-19
Which GPU can run your model?
Pick a model, a precision and a context length: see the GPU memory it needs and every GPU in the index that holds it, with today's cheapest on-demand and interruptible prices. The formula is under the result.
Llama 3.1 8B needs about 17.1 GB to run in BF16 with an 8K context.
| Machine | On-demand $/hour | Interruptible $/hour |
|---|---|---|
| 1 x RTX 409024 GB each | $0.34RunPod | |
| 1 x RTX A600048 GB each | $0.35Thunder Compute | $0.46 |
| 1 x L424 GB each | $0.44RunPod | $0.10 |
| 1 x RTX 509032 GB each | $0.60Salad | |
| 1 x L40S48 GB each | $0.79RunPod | from $0.74 |
| 2 x T416 GB each | $0.80Hugging Face | $0.14 |
| 1 x A100 40GB40 GB each | $0.89Jarvislabs | $0.72 |
| 1 x A10G24 GB each | $1.00Hugging Face | $0.42 |
| 1 x A100 80GB80 GB each | $1.09Thunder Compute | $0.68 |
| 1 x RTX PRO 600096 GB each | $1.80Nebius | from $0.79 |
Weights: parameters times bytes per parameter (BF16 2, INT8 1, INT4 0.5). The key-value cache: 2 x layers x key-value heads x head size x 2 bytes x context x batch. LoRA adds about 4% of the weights; a full fine-tune adds 14 bytes a parameter (gradients, Adam's two moments, 32-bit master weights). A GPU can use about 90% of its memory. Activations during training come on top, so treat a fine-tune's number as the least it needs.
Popular open models · 8K context
At a glance
| Model | BF16 GB | INT4 GB | Cheapest machine (BF16) |
|---|---|---|---|
| Llama 3.1 8B | 17.1 | 5.1 | 1 x RTX 4090, $0.34/h |
| Llama 3.1 70B | 143.9 | 38 | 4 x RTX A6000, $1.40/h |
| Llama 3.1 405B | 816 | 207.2 | 5 x MI300X, $12.95/h |
| Qwen2.5 7B | 15.7 | 4.3 | 1 x RTX 4090, $0.34/h |
| Qwen2.5 72B | 148.1 | 39 | 4 x RTX A6000, $1.40/h |
| Mistral 7B | 15.6 | 4.7 | 1 x RTX 4090, $0.34/h |
| Mixtral 8x7B | 94.5 | 24.4 | 3 x RTX A6000, $1.05/h |
| Gemma 2 9B | 21.3 | 7.4 | 1 x RTX 4090, $0.34/h |
| Gemma 2 27B | 57.5 | 16.7 | 2 x RTX A6000, $0.70/h |
| Phi-3 mini | 10.9 | 5.1 | 1 x RTX 4090, $0.34/h |