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.

MachineOn-demand $/hourInterruptible $/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.79RunPodfrom $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.80Nebiusfrom $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

ModelBF16 GBINT4 GBCheapest machine (BF16)
Llama 3.1 8B17.15.11 x RTX 4090, $0.34/h
Llama 3.1 70B143.9384 x RTX A6000, $1.40/h
Llama 3.1 405B816207.25 x MI300X, $12.95/h
Qwen2.5 7B15.74.31 x RTX 4090, $0.34/h
Qwen2.5 72B148.1394 x RTX A6000, $1.40/h
Mistral 7B15.64.71 x RTX 4090, $0.34/h
Mixtral 8x7B94.524.43 x RTX A6000, $1.05/h
Gemma 2 9B21.37.41 x RTX 4090, $0.34/h
Gemma 2 27B57.516.72 x RTX A6000, $0.70/h
Phi-3 mini10.95.11 x RTX 4090, $0.34/h