24 GB VRAM: What Local LLMs Actually Fit
24 GB is the 32B tier. A 32B model at 4-bit needs about 20 GB, which leaves roughly 4 GB for context and runtime on a 24 GB card. The same card runs 14B at 8-bit (about 15 GB) or 24B at 4-bit (about 15 GB). It does not fit 32B at 8-bit (about 35 GB) or 70B at 4-bit (about 43 GB). The RTX 4090 and RTX 3090 are the common 24 GB cards; the RTX 5090 moves to 32 GB, and two 24 GB cards give 48 GB for…
24 GB of VRAM is the minimum size needed to run a 32-bit (32B) model at 4-bit precision. This leaves around 4 GB for context and runtime on a 24 GB GPU card. At 8-bit precision, the same card can handle 14B models or 24B models at 4-bit. However, it cannot accommodate a 32B model at 8-bit precision (35 GB) or a 70B model at 4-bit (43 GB).
The RTX 4090 and RTX 3090 are both 24 GB cards, while the RTX 5090 has 32 GB, allowing for more context memory but not a 70B model at 4-bit. Two 24 GB cards make up 48 GB, which can run a 70B model at 4-bit, but it's a complex setup since the model must be split across two devices. Prices for renting a 24 GB card vary, with an RTX A5000 costing $0.27 to $0.89 per hour, and a used RTX 3090 costing several hundred dollars.
Renting for 520 hours a year at $0.27/hour works out to about $140, making it cheaper than buying a card. Checking VRAM usage can be done using the `ollama ps` command or `nvidia-smi` to measure actual usage. A 24 GB card is the smallest pool that supports a 32B model at 4-bit with usable context, making it a significant upgrade from 16 GB, which only supports 14B-24B models.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to