Will it fit? · prices checked 2026-11-19
How much GPU memory does Llama 3.1 70B need?
Llama 3.1 70B needs about 143.9 GB of GPU memory to run in BF16 with an 8K context (141.2 GB of weights, 2.7 GB of key-value cache), 73.3 GB in INT8 and 38 GB in INT4. The cheapest machine that holds it in BF16 today: 4 x RTX A6000 at $1.40 an hour (Thunder Compute).
Memory, 8K context, batch 1
By precision
| Precision | Weights GB | KV cache GB | Total GB |
|---|---|---|---|
| BF16 | 141.2 | 2.7 | 143.9 |
| INT8 | 70.6 | 2.7 | 73.3 |
| INT4 | 35.3 | 2.7 | 38 |
Llama 3.1 70B: 70.6 billion parameters, 80 layers, 8 key-value heads of size 128, from its published configuration. Try other settings on the calculator.
Machines that hold it · 2026-11-19
The cheapest ones that fit (BF16)
One machine of up to 8 GPUs, each provider's cheapest listed price; running across several GPUs splits the model between them.
| Machine | On-demand $/hour | Interruptible $/hour |
|---|---|---|
| 4 x RTX A600048 GB each | $1.40Thunder Compute | $1.83 |
| 2 x A100 80GB80 GB each | $2.18Thunder Compute | $1.36 |
| 7 x RTX 409024 GB each | $2.38RunPod | |
| 1 x MI300X192 GB each | $2.59DigitalOcean | |
| 5 x RTX 509032 GB each | $3.00Salad | |
| 7 x L424 GB each | $3.08RunPod | $0.73 |
| 4 x L40S48 GB each | $3.16RunPod | from $2.96 |
| 4 x A100 40GB40 GB each | $3.56Jarvislabs | $2.87 |
| 2 x RTX PRO 600096 GB each | $3.60Nebius | from $1.58 |
| 2 x H100 SXM80 GB each | $3.98Voltage Park | from $1.58 |
Questions
Llama 3.1 70B, answered
How much GPU memory does Llama 3.1 70B need?
Llama 3.1 70B needs about 143.9 GB of GPU memory to run in BF16 with an 8K context (141.2 GB of weights, 2.7 GB of key-value cache), 73.3 GB in INT8 and 38 GB in INT4. The cheapest machine that holds it in BF16 today: 4 x RTX A6000 at $1.40 an hour (Thunder Compute).
Can I fine-tune Llama 3.1 70B on one GPU?
With QLoRA (4-bit weights) it needs at least 42.2 GB plus activations; a full fine-tune needs at least 1132.3 GB, which takes several GPUs.
How is this worked out?
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.
Other models: Llama 3.1 8B · Llama 3.1 405B · Qwen2.5 7B · Qwen2.5 72B · Mistral 7B · Mixtral 8x7B · Gemma 2 9B · Gemma 2 27B · Phi-3 mini