Which AI GPU Fits Your Model Memory, Throughput, and Power Needs?
In this article
The right AI GPU for your workload depends on three things: the memory capacity your model requires, the throughput (tokens/sec or training speed) you need, and the power budget your facility can support. For most users, the decision boils down to matching VRAM to model size, then balancing compute speed against thermal and electrical limits.
Why Memory Capacity Matters Most
AI models are stored in GPU VRAM during training and inference. If a model doesn't fit in VRAM, it spills to system RAM or disk, causing severe slowdowns or outright failure. As a rule of thumb, you need roughly 2 bytes of VRAM per parameter for inference in FP16, and more for training due to optimizer states and gradients. For example, a 7B-parameter model in FP16 needs about 14 GB just for weights, plus overhead for activations and KV cache, so 16 GB is the practical minimum. A 70B model needs around 140 GB for weights alone, which means you need multiple GPUs or a high-memory card like the 80 GB A100 or H100.
Throughput: Training vs. Inference
Throughput is measured differently for training and inference. Training throughput is typically expressed in tokens per second processed across the entire training run, while inference throughput is measured in tokens generated per second per user. For training, you want high FLOPS (floating-point operations per second) and fast interconnects like NVLink to reduce communication overhead. For inference, memory bandwidth and batch processing matter more than raw FLOPS. A GPU with high memory bandwidth (like the H100's 3.35 TB/s) can serve more concurrent requests because it can fetch weights and activations faster.
Power and Cooling Constraints
Power consumption is a hard limit for many users. A single H100 can draw up to 700 W under load, while an RTX 4090 draws 450 W. If you're building a multi-GPU server, you need to ensure your power supply and cooling can handle the total draw. For example, an 8×H100 server can exceed 6 kW, requiring 240 V AC and specialized cooling. On the other hand, consumer cards like the RTX 4060 Ti (160 W) or RTX 4070 (200 W) are much easier to cool and power. Always check the TDP (thermal design power) of the card and your facility's circuit breaker limits.
How to Choose: A Step-by-Step Process
- Estimate your model's VRAM requirement. Use the formula: parameters × bytes per parameter. For FP16, that's 2 bytes; for INT8, 1 byte; for INT4, 0.5 bytes. Add 10-20% overhead for activations and framework buffers.
- Decide on training vs. inference. Training generally requires 2-3× more VRAM than inference for the same model size due to optimizer states and gradients.
- Check your power budget. Sum the TDP of all GPUs you plan to install, plus CPU and other components. Ensure your PSU and cooling can handle it.
- Consider future model growth. If you plan to scale up, choose a GPU with more memory than you currently need.
- Compare throughput specifications. Look at TFLOPS (for training) and memory bandwidth (for inference) in official specs.
Common Problems and Misconceptions
One common misconception is that more VRAM always means better performance. While VRAM is essential for fitting the model, a card with huge memory but low bandwidth (like some older server cards) can be slower than a consumer card with half the memory but faster bandwidth. Another issue is assuming that all GPUs of the same generation are similar. The RTX 4090 and RTX 4080 have different memory sizes (24 GB vs. 16 GB) and bandwidth, so they perform very differently. Also, many users forget about the CPU and system RAM bottleneck: if your CPU can't feed data fast enough, even the best GPU will idle.
Comparing Popular AI GPUs
Here are some common GPUs used for AI, with their key specs (as of 2024):
- NVIDIA A100 (80 GB): 80 GB HBM2e, 2 TB/s bandwidth, 312 TFLOPS (FP16 with sparsity). Ideal for large models and training.
- NVIDIA H100 (80 GB): 80 GB HBM3, 3.35 TB/s bandwidth, 989 TFLOPS (FP16 with sparsity). The top choice for cutting-edge training.
- NVIDIA RTX 4090 (24 GB): 24 GB GDDR6X, 1 TB/s bandwidth, 330 TFLOPS (FP16 with sparsity). Great for inference and small-to-medium models.
- NVIDIA RTX 4080 (16 GB): 16 GB GDDR6X, 717 GB/s bandwidth, 180 TFLOPS (FP16). Good for entry-level AI.
- AMD Instinct MI250X (128 GB): 128 GB HBM2e, 3.2 TB/s bandwidth, 383 TFLOPS (FP16). A high-memory alternative, but software support is more limited.
Cost Considerations Beyond the Card
The purchase price is only the beginning. You must also account for electricity, cooling, and system integration. A high-end GPU can consume as much electricity as a small space heater, and data-center-grade cards may require liquid cooling. Additionally, you may need to invest in a server motherboard, high-wattage PSU, and fast NVMe storage for datasets. For hobbyists, cloud rental may be more cost-effective than buying, especially for occasional training runs.
Safety and Handling Tips
When installing or upgrading GPUs, always unplug the system and ground yourself to avoid static discharge. Never open the power supply unit—it contains lethal capacitors. When overclocking or undervolting, be aware that it can cause instability and may void your warranty. Always ensure adequate airflow and cooling; GPUs have thermal throttling that reduces performance if they overheat. If you're building a multi-GPU system, verify that your motherboard supports the number of GPUs and that your power supply has enough PCIe connectors.
Frequently Asked Questions
Do I need a server GPU for AI, or can I use a gaming card?
For many hobbyists and small-scale projects, gaming cards like the RTX 4090 work fine. They lack ECC memory and some server features, but they offer excellent performance per dollar. However, if you're training models larger than 24 GB, you'll need a server card or multiple GPUs.
Can I mix different GPU models in one system?
Technically yes, but it's not recommended. The system will run at the speed of the slowest GPU, and some frameworks require identical GPUs for multi-GPU training. Mixing can cause compatibility issues and reduce efficiency.
How much VRAM do I need for fine-tuning a large language model?
Fine-tuning a 7B model in FP16 typically requires about 14 GB for weights plus additional memory for gradients and optimizer states, so 24 GB is a safe minimum. For a 70B model, you'll need at least 140 GB, which means multiple GPUs or a high-memory card.
What is the difference between HBM and GDDR memory?
HBM (High Bandwidth Memory) is stacked and placed closer to the GPU, offering much higher bandwidth (e.g., 3 TB/s) but at a higher cost. GDDR is cheaper and easier to manufacture but has lower bandwidth (e.g., 1 TB/s). For AI workloads that are memory-bound, HBM is superior.
Is it better to buy one expensive GPU or multiple cheaper ones?
If your model fits in one GPU, a single card is simpler and avoids communication overhead. For models that don't fit, multiple GPUs are necessary, but you'll need fast interconnects like NVLink to avoid bottlenecks. In general, one high-end card is more efficient than several mid-range cards for the same total memory.