Best GPU for running an LLM: which card holds which model
By the GPUfor team, updated 23 Nov 2026, 2 min read
On this page
The rule of thumbWhich models fit on one cardWhat that means in practiceContext costs memory tooRenting instead of buyingRunning a language model yourself, on your own machine or on a rented one, comes down to memory. The model's weights have to fit in the GPU's memory, and the conversation (the context) needs room on top.
The rule of thumb
- At 16-bit, a model needs about 2 GB per billion parameters for its weights.
- At 8-bit, about 1 GB per billion; at 4-bit, about 0.5 GB.
- Keep about 10% of the card free for the runtime, and add the context cache on top.
So an 8B model needs about 16 GB at full precision, a 32B model about 66 GB, a 70B model about 140 GB. Quantizing to 8 or 4 bits shrinks that by half or a quarter, at some cost in quality.
Which models fit on one card
| Card | Memory | Llama 3.1 8B | Llama 3.3 70B | Qwen3 32B | Gemma 3 27B | DeepSeek R1 |
|---|---|---|---|---|---|---|
| RTX 5080 | 16 GB | 8‑bit | no | no | 4‑bit | no |
| RTX 4090 | 24 GB | 16‑bit | no | 4‑bit | 4‑bit | no |
| RTX 5090 | 32 GB | 16‑bit | no | 4‑bit | 8‑bit | no |
| L40S | 48 GB | 16‑bit | 4‑bit | 8‑bit | 8‑bit | no |
| A100 | 80 GB | 16‑bit | 8‑bit | 16‑bit | 16‑bit | no |
| H100 | 80 GB | 16‑bit | 8‑bit | 16‑bit | 16‑bit | no |
| RTX PRO 6000 Blackwell | 96 GB | 16‑bit | 8‑bit | 16‑bit | 16‑bit | no |
| H200 | 141 GB | 16‑bit | 8‑bit | 16‑bit | 16‑bit | no |
| B200 | 180 GB | 16‑bit | 16‑bit | 16‑bit | 16‑bit | no |
The best precision at which the model's weights fit on ONE card, keeping 10% of its memory for the runtime; "no" = it needs more than one card even at 4‑bit. Context needs memory on top: see the VRAM calculator.
What that means in practice
- A 24 GB card (RTX 4090) runs an 8B model at full precision, and 27-32B models only at 4-bit.
- A 32 GB card (RTX 5090) gives a little more room: 8B at full precision with long context, Gemma 3 27B at 8-bit, Qwen3 32B at 4-bit.
- An 80 GB card (A100, H100) runs 27-32B models at full precision and 70B at 8-bit.
- Large models need data-centre cards or several of them. A 70B model at full precision needs about 160 GB with its runtime share: one B200, or a machine with two or more 80 GB cards. DeepSeek R1 at 671B parameters needs a whole multi-GPU server even at 4-bit.
Context costs memory too
Each token of context keeps a key-value cache on the card. For one request it is small at short lengths and grows with the length, and it multiplies with every request served at the same time. Models differ a lot here: Gemma 3 keeps most of its layers on a short window, DeepSeek compresses its cache. The VRAM calculator works it out for each model.
Renting instead of buying
You do not need to own the card to run a model. The cheapest way to run a few common sizes today is in the sidebar, and every card's page lists who rents it and for how much. Whether buying pays off is covered in rent or buy a GPU.