Black Friday: 10% off every GPU you launch, no code needed. Until 30 Nov. Rent a GPU

Arrakis / Guides / GPU memory

How much GPU memory does your model need?

Count bytes per parameter. Serving needs 2 bytes per parameter in 16-bit, 1 in 8-bit and half a byte in 4-bit, plus about 20% for the KV cache and activations. Fine-tuning needs far more: about 16 bytes per parameter with Adam, unless LoRA or QLoRA freezes the base model.

Serving a model

Memory to run a model for inference, with the smallest GPU setup that holds it and the lowest price on Arrakis right now.

Model size16-bit8-bit4-bit
8BLlama 3.1 8B19 GB: one RTX 4090 or RTX 30909.6 GB: one RTX 4090 or RTX 30904.8 GB: one RTX 4090 or RTX 3090
14BQwen2.5 14B34 GB: one L40S, RTX 6000 Ada or RTX A600017 GB: one RTX 4090 or RTX 30908.4 GB: one RTX 4090 or RTX 3090
32BQwen2.5 32B77 GB: one H100 or A10038 GB: one L40S, RTX 6000 Ada or RTX A600019 GB: one RTX 4090 or RTX 3090
70BLlama 3.3 70B168 GB: one B20084 GB: one RTX PRO 600042 GB: one L40S, RTX 6000 Ada or RTX A6000
405BLlama 3.1 405B972 GB: 8 × H200486 GB: 4 × H200243 GB: one B300

Fine-tuning a model

QLoRA trains adapters on a 4-bit frozen model, LoRA on a 16-bit one, and full fine-tuning updates every weight. Figures are before activations, which grow with batch size and sequence length.

Model sizeQLoRALoRAFull fine-tuning
8BLlama 3.1 8B5.6 GB: one RTX 4090 or RTX 309019 GB: one RTX 4090 or RTX 3090128 GB: one H200
14BQwen2.5 14B9.8 GB: one RTX 4090 or RTX 309034 GB: one L40S, RTX 6000 Ada or RTX A6000224 GB: one B300
32BQwen2.5 32B22 GB: one RTX 4090 or RTX 309077 GB: one H100 or A100512 GB: 4 × H200
70BLlama 3.3 70B49 GB: one H100 or A100168 GB: one B2001,120 GB: 8 × H200
405BLlama 3.1 405B284 GB: one B300972 GB: 8 × H2006,480 GB: more than one 8-GPU machine

The rules behind the numbers

Rules of thumb, close enough to choose a GPU. Measure before a long run.

Weights
Parameters times bytes per parameter: 2 in 16-bit (BF16 or FP16), 1 in 8-bit (FP8 or INT8), 0.5 in 4-bit.
Serving headroom
About 20% more for the KV cache and activations at moderate context and batch. Long contexts and large batches need more.
Full fine-tuning
About 16 bytes per parameter with mixed-precision Adam: weights, gradients, optimizer states and a 32-bit master copy (ZeRO, arXiv:1910.02054). Split it across GPUs with FSDP or ZeRO.
LoRA
The 16-bit base model stays frozen; small adapters train. Plan for the weights plus about 20%.
QLoRA
The frozen base model is stored in 4-bit. Its authors fine-tuned a 65B model on one 48 GB GPU (QLoRA, arXiv:2305.14314), about 0.7 bytes per parameter.
GPU memory
From NVIDIA's pages for each GPU, linked from its page here.

Questions

Live prices for every GPU are on the GPU prices page.

How much GPU memory does a 70B model need?
To serve it, about 168 GB in 16-bit, 84 GB in 8-bit, 42 GB in 4-bit, including about 20% for the KV cache and activations. To fine-tune it, about 49 GB with QLoRA, 168 GB with LoRA and 1,120 GB for full fine-tuning with Adam, before activations.
Can I run a 70B model on a single GPU?
Yes. It needs about 168 GB in 16-bit, which fits on one B200; about 84 GB in 8-bit, which fits on one RTX PRO 6000; about 42 GB in 4-bit, which fits on one L40S, RTX 6000 Ada or RTX A6000.
Can I fine-tune an 8B model on an RTX 4090?
Yes, with LoRA (about 19 GB) or QLoRA (about 6 GB), which fit in the RTX 4090's 24 GB. Full fine-tuning needs about 128 GB before activations, so one H200.
Why does fine-tuning need so much more memory than serving?
Full fine-tuning keeps 16-bit weights and gradients plus 32-bit Adam optimizer states and a 32-bit master copy of the weights, about 16 bytes per parameter (Rajbhandari et al., ZeRO, arXiv:1910.02054). LoRA freezes the base weights and trains small adapters; QLoRA also stores the frozen weights in 4-bit, which let its authors fine-tune a 65B model on one 48 GB GPU (Dettmers et al., arXiv:2305.14314).
How much does it cost to rent the GPUs in these tables?
Each suggestion shows the lowest price per GPU-hour on Arrakis right now. As of 27 Nov 2026, 21:44 UTC, Arrakis lists 703 GPUs on 231 machines. You pay the hourly price shown when you rent, from a prepaid balance.

Rent the GPU that fits, by the hour.