👍 What we like
- CUDA offers the broadest compatibility with PyTorch, TensorFlow, Ollama, LM Studio, llama.cpp and vLLM.
- 24 GB of VRAM lets you run a 30B to 34B model in INT4 quantization.
- The RX 7900 XTX brings 24 GB of VRAM and 960 GB/s of bandwidth, with official ROCm support on Linux.
👎 What to watch
- The RTX 4090 draws up to 450 W and needs a solid power supply.
- ROCm is harder to set up than CUDA and supports fewer cards.
- A 70B model does not fit in 24 GB without very aggressive quantization or CPU offloading.
📑 Contents ▾
To run an LLM or generate images locally, NVIDIA remains the simplest choice: CUDA is supported first by almost every AI tool, and everything works without tuning. AMD is a credible alternative on Linux thanks to ROCm, provided you pick a card from the official list and accept more configuration. In both cases, the amount of VRAM decides how large a model you can load: 24 GB is the tier that opens up 30B to 34B models.
CUDA or ROCm: what actually changes
CUDA (NVIDIA) is a parallel computing platform that has been mature for more than ten years. Almost every open source AI project is optimized for CUDA first: PyTorch, TensorFlow, llama.cpp, vLLM, Ollama or LM Studio install and use the card without any particular configuration. This is NVIDIA’s main argument, far more than raw power.
ROCm (AMD) made clear progress in 2024 and 2025, with better Linux compatibility and broader PyTorch support; llama.cpp natively supports the ROCm backend. Three limits remain:
- The list of supported cards is short. AMD publishes an official compatibility matrix: the RX 7900 XTX is on it for Linux, RDNA 4 cards such as the RX 9070 XT have been added, and the RX 5700 XT is not on it. Check your card and your distribution before buying.
- Installation takes more work. Distributions such as Ubuntu 24.04 and dedicated Docker images have made it easier, but configuration remains more delicate than with CUDA.
- Windows is less well served. AMD’s Windows drivers are less optimized for AI than NVIDIA’s; ROCm is mostly used on Linux.
In practice: if you develop, train or use scientific computing libraries, CUDA is the safe bet, because some libraries or older code are not ported to ROCm. If you run ready-made models with llama.cpp, ROCm is enough on a supported card.
VRAM first: which model size fits on which card
A model must fit entirely in VRAM to run fast. If it spills over, part of it moves to system RAM and inference speed drops sharply. The rule of thumb: 2 bytes per parameter in FP16, 0.5 byte per parameter in INT4, plus 10 to 20% for the context (KV cache) and intermediate computations. A 7B model therefore needs about 14 GB in FP16.
| Model size | In INT4 (Q4), order of magnitude | Cards on this page that fit |
|---|---|---|
| 7B to 8B | 4 to 6 GB | All of them, including 8 GB |
| 13B to 14B | 8 to 10 GB | 16 GB and 24 GB |
| 30B to 34B | 16 to 20 GB | 24 GB (RTX 4090, RTX 3090, RX 7900 XTX) |
| 70B | 35 to 40 GB | No single 24 GB card, except with very aggressive quantization (Q2/Q3) or CPU offloading; aim for 48 GB |
Mixtral 8x7B, which is not a 70B model, also exceeds 24 GB even in INT4. For a smooth 70B, you need 48 GB: two 24 GB cards, or a professional card such as the RTX A6000. Details by model and quantization are in our guide on how much VRAM a local LLM needs.
Memory bandwidth comes next: it sets how fast the weights move from VRAM to the compute units, and therefore how many tokens are generated per second. A card with lots of VRAM but little bandwidth loads large models but runs them slowly. Tokens-per-second figures are not given here: they depend on the model, quantization, software (llama.cpp, vLLM…) and context length. The only measurements published on this site concern a different machine, in our benchmark of 13 LLMs on NVIDIA GB10.
The three 24 GB consumer cards
We did not measure these cards: the specifications below come from NVIDIA and AMD spec sheets.
| NVIDIA RTX 4090 | AMD RX 7900 XTX | NVIDIA RTX 3090 | |
|---|---|---|---|
| VRAM | 24 GB GDDR6X | 24 GB GDDR6 | 24 GB GDDR6X |
| Architecture | Ada Lovelace | RDNA 3 | Ampere |
| Compute units | 16384 CUDA cores | 6144 stream processors | 10496 CUDA cores |
| Bandwidth | 1008 GB/s | 960 GB/s | 936 GB/s |
| Power draw | 450 W | 355 W | 350 W |
| Software stack | CUDA | ROCm on Linux | CUDA |
| Market | New, high price | New, usually cheaper than the 4090 | Mostly used |
NVIDIA RTX 4090: the fastest, the most expensive
The NVIDIA GeForce RTX 4090 combines 24 GB of GDDR6X on a 384-bit bus, the highest bandwidth on this page and fourth-generation Tensor cores, rated by NVIDIA at 1321 AI TOPS. It runs a 30B to 34B model in INT4 or a 13B to 14B model in INT8; a 70B only fits with very aggressive quantization or CPU offloading. With CUDA, every framework and every model works the first time. The trade-offs are its price new and its 450 W power draw, which require a solid power supply and good airflow.
NVIDIA RTX 3090: 24 GB at the best used price
The NVIDIA GeForce RTX 3090 offers the same 24 GB as the 4090, in GDDR6X on 384 bits, with CUDA compatibility and third-generation Tensor cores. It is slower in bandwidth and core count, which shows in token generation speed, but it loads the same models. It is the card that maximizes model size per euro spent, provided you buy it used; our guide to used GPUs for a local LLM covers what to check.
AMD RX 7900 XTX: 24 GB from AMD
The AMD Radeon RX 7900 XTX is the most interesting Radeon for local AI: 24 GB of GDDR6, 960 GB/s of bandwidth and 96 MB of Infinity Cache. AMD rates it at 123 TFLOPS in FP16 matrix and 246 TOPS in INT4 matrix. It is on the official ROCm matrix for Linux and works with llama.cpp, with fewer tools available than with CUDA. Its typical board power is 355 W, AMD recommends an 800 W power supply at minimum, and the reference card is 287 mm long: check the space in your case.
Which Radeon for AI: RX 5700 XT, RX 6800 XT, RX 7900 XTX or RX 9070 XT
| RX 6800 XT | RX 7900 XTX | RX 9070 XT | |
|---|---|---|---|
| Architecture | RDNA 2 | RDNA 3 | RDNA 4 |
| VRAM | 16 GB GDDR6 | 24 GB GDDR6 | 16 GB GDDR6 |
| Bandwidth | 512 GB/s | 960 GB/s | 640 GB/s |
| Power draw | 300 W | 355 W | 304 W |
| ROCm | Works on Linux, sometimes with adjustments | Official list on Linux | RDNA 4 added to the official matrix |
The AMD Radeon RX 9070 XT is the RDNA 4 generation Radeon, with 16 GB of GDDR6 and 640 GB/s. It loads the same models as any 16 GB card (13B to 14B in INT4 with headroom), with higher bandwidth than the RX 6800 XT. Its 16 GB make it less versatile than the 7900 XTX for 30B models and above.
The RX 6800 XT remains an option on a small budget if you find one used: 16 GB of VRAM to run a 7B to 13B model in Q4 or Q5, with lower bandwidth.
The AMD Radeon RX 5700 XT, first-generation RDNA (Navi 10), has only 8 GB of GDDR6 and is not on the list of GPUs officially supported by ROCm. It can be used to discover local AI with a quantized 7B model, but it is not a card to buy for AI in 2026.
A100, MI250X, RTX A6000: the professional cards
These three cards answer a different question, that of computing in companies or research labs:
| NVIDIA A100 | AMD MI250X | NVIDIA RTX A6000 | |
|---|---|---|---|
| Memory | 40 GB HBM2 (80 GB HBM2e depending on version) | 128 GB HBM2e | 48 GB GDDR6 |
| Power draw | 250 W (PCIe 40 GB) to 400 W (SXM) | 500 W (560 W liquid-cooled) | 300 W |
| Form factor | Datacenter, PCIe or SXM | OAM module for compatible servers | Workstation card |
| Software stack | CUDA, cuDNN, TensorRT | ROCm, HIP | CUDA |
- The NVIDIA A100 targets training large models in the datacenter.
- The AMD Instinct MI250X is not a PCIe card: it is an OAM module that only installs in a server designed for that format. It mainly targets high-performance FP64 computing.
- The NVIDIA RTX A6000 is the closest to home lab use: 48 GB of GDDR6 for 300 W, enough to load a 70B model in INT4 on a single card, with ray tracing features useful for 3D work.
For an occasional need, renting an A100 by the hour from a GPU host avoids a purchase of that size: our comparison of GPU VPS for hosting an LLM lists the offers.
Gaming or AI: what tips the balance
- Gaming and AI on the same card. The RTX 4090 combines DLSS 3.5 and ray tracing for gaming, and CUDA for AI. The RX 7900 XTX is strong at 4K but loses on software features.
- Pure local AI. VRAM matters more than clock speed: a used RTX 3090 or an RX 7900 XTX load the same models as a 4090; the 3090 runs them more slowly, and the 7900 XTX has slightly lower bandwidth (960 versus 1008 GB/s).
To build the machine around the card, our tutorial on building a local AI server with a GPU and Ollama walks through the steps.
Key facts
Our picks
Affiliate links · same price for youNVIDIA GeForce RTX 3090 24 GB
Amazon · price and availability on the listing
AMD Radeon RX 7900 XTX
Amazon · price and availability on the listing
AMD Radeon RX 5700 XT
Amazon · price and availability on the listing
NVIDIA A100 Tensor Core GPU
Amazon · price and availability on the listing
AMD Instinct MI250X
Amazon · price and availability on the listing
See all our recommended gear in the shop.