Date: July 15, 2026
Choosing the right GPU—or the right number of them—is one of the most consequential decisions in an AI project. Over-provision and you burn budget on idle silicon. Under-provision and your training run crashes at hour forty-seven with an out-of-memory error you could have predicted on a napkin. This article walks through the reasoning, formulas, and practical guardrails for estimating GPU requirements across training and inference workloads.
The starting point for any GPU estimation is deceptively simple:
Total VRAM (GB) ≈ Parameters (B) × (Precision bits / 8) × Overhead Factor
Breaking this down:
| Model | Precision | Base Size | With 1.2× Overhead |
|---|---|---|---|
| 7B | FP16 | 14 GB | ~17 GB |
| 13B | FP16 | 26 GB | ~31 GB |
| 70B | FP16 | 140 GB | ~168 GB |
| 7B | INT4 | 3.5 GB | ~4.2 GB |
| 70B | INT4 | 35 GB | ~42 GB |
A 7B model at INT4 precision fits comfortably on a consumer GPU. That same model at FP16 requires a professional-grade card. At 70B parameters, even INT4 demands serious hardware.
The memory budget for inference and training diverge significantly—often by a factor of 4× to 6×.
During inference, memory consumption comes from three sources:
The KV cache deserves special attention. For a model serving long-context requests (32K+ tokens) to multiple users simultaneously, the KV cache can easily exceed the weight memory itself. When planning inference hardware, always estimate for peak concurrency, not average load.
Training is far more memory-hungry. On top of the model weights, you must account for:
Rule of thumb: If a model requires X GB of VRAM for inference, plan for at least 4× to 6× that amount for full fine-tuning.
| Component | Inference | Training (Full Fine-Tune) |
|---|---|---|
| Model Weights | ✓ | ✓ |
| KV Cache | ✓ (large) | Small |
| Gradients | ✗ | ✓ (same size as weights) |
| Optimizer States | ✗ | ✓ (2–3× weight size) |
| Activations | Small | ✓ (scales with batch) |
| Typical Total | ~1.2× weights | ~4–6× weights |
Quantization is the single most effective lever for reducing GPU requirements without replacing hardware. By reducing numerical precision, you shrink the memory footprint proportionally.
| Format | Bits per Param | 7B Model Size | 70B Model Size | Quality Impact |
|---|---|---|---|---|
| FP32 | 32 | 28 GB | 280 GB | Baseline |
| FP16 | 16 | 14 GB | 140 GB | Negligible |
| INT8 | 8 | 7 GB | 70 GB | Minimal |
| INT4 | 4 | 3.5 GB | 35 GB | Slight degradation |
| FP4 | 4 | 3.5 GB | 35 GB | Architecture-dependent |
Modern quantization techniques like GPTQ, AWQ, and GGML have matured to the point where INT4 models retain most of their quality for common tasks. The trade-off is measurable but often acceptable, especially for inference-heavy deployments where throughput matters more than the last fraction of a percent in benchmark accuracy.
Quantization reduces the per-parameter footprint but cannot eliminate the scaling problem. A 405B parameter model at INT4 still requires ~200 GB—well beyond any single GPU. At this scale, model parallelism across multiple GPUs becomes unavoidable.
Understanding what hardware is available—and what it is designed for—helps match workload to silicon.
| Feature | RTX 4090 | NVIDIA A100 | NVIDIA H100 | NVIDIA B200 |
|---|---|---|---|---|
| Architecture | Ada Lovelace | Ampere | Hopper | Blackwell |
| VRAM | 24 GB GDDR6X | 80 GB HBM2e | 80 GB HBM3 | 192 GB HBM3e |
| Memory Bandwidth | ~1.0 TB/s | ~2.0 TB/s | 3.35 TB/s | 8.0 TB/s |
| NVLink | N/A | 600 GB/s | 900 GB/s | 1.8 TB/s |
| Target Workload | Dev / Local Inference | General AI | Training & Inference | Frontier-Scale AI |
RTX 4090: Best for individual developers and researchers. Handles models up to ~13B at FP16 and up to ~70B with aggressive INT4 quantization. No NVLink means poor multi-GPU scaling for distributed training. Excellent price-to-performance for local experimentation.
A100 (80 GB): The workhorse of the 2022–2024 era. Still widely available in cloud environments and sufficient for training models up to 70B with parallelism. A solid choice where H100 availability or budget is a constraint.
H100 (80 GB): The current production standard. Higher bandwidth, better FP8 support, and faster NVLink make it the preferred choice for medium-to-large training runs and high-throughput inference serving.
B200 (192 GB): Purpose-built for frontier models. The 192 GB capacity can hold a 70B model at FP16 on a single card—eliminating the overhead and complexity of model sharding. Native FP4/FP6 support unlocks inference throughput that was previously impossible.
Here’s a step-by-step process for estimating GPU requirements:
Decide whether you are optimizing for training, fine-tuning, or inference. Each has a fundamentally different memory profile.
Base VRAM = Parameters (B) × Bytes per Parameter
For FP16: 7B × 2 bytes = 14 GB
For INT4: 7B × 0.5 bytes = 3.5 GB
Compare your estimated VRAM to available GPUs. If the total exceeds a single GPU’s capacity, plan for tensor parallelism across multiple GPUs.
Never trust napkin math alone. Use profiling tools and specialized calculators:
nvidia-smi: Real-time monitoring of GPU memory usage during test runs.Run a short pilot with representative data at your target batch size and sequence length. Actual memory usage often differs from theoretical estimates by 10–30%.
GPU estimation for AI is not a single calculation—it is a workflow. Start with the parameter count, apply precision and overhead multipliers, account for whether you are training or serving, and validate against real hardware. The difference between a well-estimated GPU budget and a guess can be thousands of dollars per month in cloud costs or the difference between a project that ships and one that stalls in infrastructure procurement.
The field is moving fast. Quantization techniques improve every quarter, new hardware generations shift the boundaries of what fits on a single card, and frameworks continuously optimize their memory efficiency. Treat your GPU estimates as living documents—revisit them as your models, workloads, and available hardware evolve.