Multi-GPU LLM setup: two used RTX 3090s vs a 4090 or 5090
By LLM Hardware team · Methodology ·
LLM Hardware team
Short answer
A multi-GPU LLM setup is worth it when the model does not fit in one card's video RAM (VRAM). Two used NVIDIA GeForce RTX 3090 (24GB) cards give 48 GB of VRAM if the runtime can split the weights. By the site formula, a 70 billion parameter (70B) model at 4-bit quantization (Q4) needs 44 GB, and a 32B model at 8-bit (Q8) needs 40.4 GB. Neither size fits a single NVIDIA GeForce RTX 4090 (24GB) or a single NVIDIA GeForce RTX 5090 (32GB).
NVIDIA lists NVLink as available on the RTX 3090 and not on the RTX 4090 or RTX 5090. That affects communication between cards, not whether the weights fit. If a model already fits one GPU, official docs for Ollama and vLLM tell you to keep it on that one GPU.
This page covers when two cards beat one on capacity, how llama.cpp, vLLM and Ollama split a model, Peripheral Component Interconnect Express (PCIe) lanes, power supply unit (PSU) and case limits, and the arithmetic for common sizes. For used 24 GB cards, see the used GPU guide and the RTX 3090 LLM guide. For the 4090 and 5090 side by side, see RTX 5090 vs 4090. For the VRAM formula, see how much VRAM you need. For vLLM formats, see vLLM quantization.
When two used RTX 3090s beat one 4090 or 5090
NVIDIA's GeForce RTX 3090 page lists 24 GB of GDDR6X memory and a 350 W graphics card power figure, and it marks NVIDIA NVLink (SLI-Ready) as Yes. The RTX 4090 page lists 24 GB of GDDR6X, 450 W total graphics power, and NVLink as No. The RTX 5090 page lists 32 GB of GDDR7, 575 W total graphics power, and NVLink as No. Those are the official capacity, power and interconnect facts. This page does not add tokens-per-second figures.
The site formula, from the methodology page, is:
GB = parameters in billions x bytes per parameter x 1.2 + 2
Q4 uses 0.5 bytes per parameter. Q8 uses 1.0. The 1.2 factor and the 2 GB reserve are a site assumption for modest context, about 4K to 8K tokens, not a measured result.
| Model size and quant | Site formula (GB) | One RTX 4090 (24 GB) | One RTX 5090 (32 GB) | Two RTX 3090s (48 GB combined) |
|---|---|---|---|---|
| 8B Q4 | 8 x 0.5 x 1.2 + 2 = 6.8 | Fits on one card | Fits on one card | Fits on one card, so a second GPU is unused for capacity |
| 14B Q8 | 14 x 1.0 x 1.2 + 2 = 18.8 | Fits | Fits | Fits on one card |
| 32B Q4 | 32 x 0.5 x 1.2 + 2 = 21.2 | Fits (tight on 24 GB) | Fits | Fits on one card |
| 32B Q8 | 32 x 1.0 x 1.2 + 2 = 40.4 | Does not fit | Does not fit | Fits if the runtime splits the model |
| 70B Q4 | 70 x 0.5 x 1.2 + 2 = 44 | Does not fit | Does not fit | Tight if the runtime splits the model (44 GB of 48 GB) |
| 70B Q8 | 70 x 1.0 x 1.2 + 2 = 86 | Does not fit | Does not fit | Does not fit |
Two 24 GB cards win on model size for 32B Q8 and 70B Q4. A single 5090 still cannot hold those two sizes, because 40.4 GB and 44 GB are both above 32 GB. A 70B Q8 model is 86 GB and needs more than two 24 GB cards.
Combined VRAM is not a single pool by default. Each runtime decides how to split layers or tensors, and each card still keeps some memory for the runtime and for the key-value (KV) cache. Treat a 44 GB estimate on 48 GB as tight, and shorten context if the load fails.
If the model already fits one card, two GPUs are not required for that load. Ollama's FAQ says it keeps a model on one GPU when the model fits that GPU, because that avoids moving data across the PCIe bus during inference. vLLM's parallelism guide says the same: if the model fits one GPU, distributed inference is probably unnecessary.
The RTX 3090, RTX 4090 and RTX 5090 in this comparison are the catalog entries NVIDIA GeForce RTX 3090 (24GB) (ASIN B08HR6ZBYJ), NVIDIA GeForce RTX 4090 (24GB) (ASIN B0BG94PS2F) and NVIDIA GeForce RTX 5090 (32GB) (ASIN B0DS2X13PH). Amazon links on this site use the tag llmhardware20-20.
Check NVIDIA GeForce RTX 3090 (24GB) on Amazon
ASIN B08HR6ZBYJ. Amazon Associates link. The live price is on that page, not locked in here.
Check NVIDIA GeForce RTX 4090 (24GB) on Amazon
ASIN B0BG94PS2F. Amazon Associates link. The live price is on that page, not locked in here.
Check NVIDIA GeForce RTX 5090 (32GB) on Amazon
ASIN B0DS2X13PH. Amazon Associates link. The live price is on that page, not locked in here.
Tensor split versus pipeline split
Three common local runtimes split a model in different ways.
llama.cpp documents the modes in its multi-GPU guide. --split-mode (-sm) chooses the mode.
layeris the default. llama.cpp calls this pipeline parallelism. Each GPU holds a contiguous slice of layers, and the KV cache for a layer lives on the GPU that owns that layer. The guide says this is the most compatible multi-GPU choice, that it can tolerate a slower link between GPUs, and that it favors a fast prefill.tensoris marked experimental. This is tensor parallelism: both weights and the KV cache are split across the GPUs. The guide says this path favors faster token generation and is more limited by interconnect speed. It also says performance should be good for multiple NVIDIA GPUs on the CUDA backend, with no guarantees on other backends. Flash attention must be on, and quantized KV cache is not supported in this mode. Many architectures are not implemented, including several mixture-of-experts (MoE) models, and those fail with a "not implemented" error. Uselayerin that case.rowis deprecated. The guide says to avoid it in new setups.nonekeeps the model on one GPU. Pick the card with--main-gpuor--device.
--tensor-split (-ts) sets proportions, for example -ts 3,1 to give one card 75 percent and the other 25 percent. If you omit it, layer splits in proportion to memory. --list-devices prints the device names. CUDA_VISIBLE_DEVICES limits which NVIDIA devices the process can see.
llama.cpp can use the NVIDIA Collective Communications Library (NCCL) for reductions in tensor mode when it is built with -DGGML_CUDA_NCCL=ON (the documented default). If NCCL is missing, the guide says you get a one-time warning and lower performance. CUDA peer-to-peer transfers are opt-in through GGML_CUDA_P2P=1. The same guide says this usually needs workstation or datacenter driver support and can crash or corrupt output on some motherboards, including some systems with I/O memory management unit (IOMMU) enabled.
vLLM uses tensor parallelism as the main single-node multi-GPU path. Set tensor_parallel_size (or --tensor-parallel-size) to the number of GPUs, for example 2 on a two-card machine. For a model that needs more than one node, the docs combine tensor parallelism with pipeline parallelism: tensor_parallel_size is the GPU count per node, and pipeline_parallel_size is the node count. On a single node, if the GPU count does not evenly divide the model, the docs say you can set tensor_parallel_size=1 and pipeline_parallel_size to the GPU count. The same note says that if the GPUs do not have NVLink (the docs use an L40S as the example), pipeline parallelism has higher throughput and lower communication overhead than tensor parallelism. That note is relevant to the RTX 4090 and RTX 5090, which NVIDIA marks as not NVLink-ready. vLLM's GPU install page says it does not support Windows natively and points Windows users to the Windows Subsystem for Linux (WSL).
Ollama does not expose a tensor-versus-pipeline flag in its hardware docs. The FAQ "How does Ollama load models on multiple GPUs?" says: if the model fits entirely on any single GPU, Ollama loads it on that GPU; if it does not fit on one GPU, Ollama spreads it across all available GPUs. To limit which NVIDIA cards it can use, set CUDA_VISIBLE_DEVICES. To ignore GPUs and force the CPU, the hardware page says to use an invalid GPU ID such as -1.
PCIe lanes, PSU and case
PCIe is the slot and bus that connect a graphics card to the motherboard. llama.cpp's multi-GPU guide says that if two GPUs are slower than one, the usual cause is interconnect speed, and it suggests more PCIe lanes or NVLink when that is available. It does not publish a tokens-per-second penalty for an x8 versus x16 slot. Read the motherboard manual for the second slot's lane width when two cards are installed, because many consumer boards share lanes between the primary and secondary slots.
NVIDIA's required system power figures are for a single card: 750 W for one RTX 3090, 850 W for one RTX 4090, and 1000 W for one RTX 5090. Graphics card power is 350 W, 450 W and 575 W respectively. Two RTX 3090s are 350 x 2 = 700 W of graphics card power alone, before the CPU, memory, storage and fans. NVIDIA does not publish a two-card system power figure on the 3090 page, so this guide does not invent one. Size the PSU from the two official 350 W figures plus the rest of the system, and check the number and type of power connectors. The 3090 page lists two PCIe 8-pin connectors (with an adapter to a 12-pin) for the Founders Edition. The 4090 page lists three PCIe 8-pin cables or a 450 W or greater PCIe Gen 5 cable. The 5090 page lists four PCIe 8-pin cables or one 600 W PCIe Gen 5 cable.
Two cards also have to fit the case. NVIDIA lists the RTX 4090 Founders Edition at 304 mm long, 137 mm wide and 3 slots (61 mm). The 3090 page lists the Founders Edition as a 3-slot card. Confirm length, slot width and the gap between the two slots against the case and the motherboard before you buy a second card.
FAQ
When do two used RTX 3090s beat one RTX 4090 or one RTX 5090?
On capacity, when the model needs more than 24 GB (and more than 32 GB for the 5090) and can be split. A 32B Q8 model is 40.4 GB and a 70B Q4 model is 44 GB by the site formula. Both fit 48 GB combined if the runtime splits them, and neither fits one 4090 or one 5090. This is not a speed claim.
What is the difference between tensor and pipeline split in llama.cpp?
Pipeline split is --split-mode layer, the default. Each GPU holds some layers and their KV cache. Tensor split is --split-mode tensor, marked experimental. It splits weights and KV cache inside each layer and needs a faster interconnect, flash attention, and a non-quantized KV cache. vLLM uses tensor_parallel_size for tensor parallelism and pipeline_parallel_size for pipeline parallelism.
Does Ollama automatically use two GPUs?
Only when the model does not fit on one GPU. If it fits one card, Ollama loads it on that card.
Do I need NVLink for a two-GPU LLM setup?
No for capacity. NVIDIA lists NVLink on the RTX 3090 and not on the RTX 4090 or RTX 5090. llama.cpp and vLLM treat a faster interconnect as a performance help, and vLLM prefers pipeline parallelism when NVLink is absent. The model can still be split over PCIe.
How much power do two RTX 3090s use?
NVIDIA lists 350 W graphics card power per RTX 3090, so 700 W for two cards, plus the rest of the system. The official required system power of 750 W is for a single 3090 system, not for two cards.
Does a 70B Q8 model fit two 24 GB cards?
No. 70 x 1.0 x 1.2 + 2 = 86 GB, which is above 48 GB.
SOURCES
| # | URL | Claim it supports | Date checked (ET) |
|---|---|---|---|
| 1 | https://github.com/ggml-org/llama.cpp/blob/master/docs/multi-gpu.md | llama.cpp split modes none, layer (default, pipeline), tensor (experimental), row (deprecated); flags --split-mode, --tensor-split, --main-gpu, --device, --list-devices, --fit; NCCL, RCCL, GGML_CUDA_P2P; interconnect and NVLink troubleshooting | 2026-11-29 |
| 2 | https://docs.vllm.ai/en/stable/serving/parallelism_scaling/ | vLLM tensor_parallel_size and pipeline_parallel_size; keep a model on one GPU if it fits; pipeline parallelism when GPU count is uneven or NVLink is absent; multiprocessing on a single node | 2026-11-29 |
| 3 | https://raw.githubusercontent.com/vllm-project/vllm/main/docs/serving/parallelism_scaling.md | Same vLLM parallelism guide, markdown source used for the wording above | 2026-11-29 |
| 4 | https://docs.vllm.ai/en/stable/getting_started/installation/gpu/ | vLLM does not support Windows natively; WSL is the documented Windows path; OS listed as Linux | 2026-11-29 |
| 5 | https://github.com/ollama/ollama/blob/main/docs/gpu.mdx | Ollama NVIDIA support including RTX 3090, 4090 and 5090; CUDA_VISIBLE_DEVICES; invalid ID -1 forces CPU | 2026-11-29 |
| 6 | https://github.com/ollama/ollama/blob/main/docs/faq.mdx | FAQ: Ollama loads on one GPU if the model fits; otherwise it spreads across available GPUs | 2026-11-29 |
| 7 | https://www.nvidia.com/en-us/geforce/graphics-cards/30-series/rtx-3090-3090ti/ | RTX 3090: 24 GB GDDR6X, 384-bit, graphics card power 350 W, required system power 750 W, NVLink (SLI-Ready) Yes, 3-slot, two PCIe 8-pin (adapter to 12-pin), CUDA capability 8.6 | 2026-11-29 |
| 8 | https://www.nvidia.com/en-us/geforce/graphics-cards/40-series/rtx-4090/ | RTX 4090: 24 GB GDDR6X, 384-bit, total graphics power 450 W, required system power 850 W, NVLink (SLI-Ready) No, 304 mm x 137 mm, 3-slot (61 mm), CUDA capability 8.9 | 2026-11-29 |
| 9 | https://www.nvidia.com/en-us/geforce/graphics-cards/50-series/rtx-5090/ | RTX 5090: 32 GB GDDR7, 512-bit, total graphics power 575 W, required system power 1000 W, NVLink (SLI-Ready) No, CUDA capability 12.0, four PCIe 8-pin or one 600 W PCIe Gen 5 cable | 2026-11-29 |
| 10 | https://llmhardware.io/methodology | Site formula GB = params x bytes per param x 1.2 + 2, 4K to 8K context assumption | 2026-11-29 |
| 11 | https://llmhardware.io/hardware | Catalog entries: NVIDIA GeForce RTX 3090 (24GB), RTX 4090 (24GB), RTX 5090 (32GB) | 2026-11-29 |