Short answer
The best GPU for fine-tuning LLMs depends on model size and method. For QLoRA on 7–8B models, a 16 GB GPU like the RTX 5060 Ti is enough; 24–32 GB (RTX 3090, 4090, 5090) handles QLoRA up to about 30B and LoRA on 7–8B; the 96 GB RTX PRO 6000 or an 80 GB H100 fine-tunes 70B models with QLoRA; and full fine-tuning of 7B+ models needs multiple 80 GB GPUs. For occasional jobs, renting is usually cheapest: on December 1, 2026, RTX 4090s rented from about $0.26/hour and H100s from $1.80/hour. A typical QLoRA run on an 8B model with a few thousand examples can cost around a dollar or two.
VRAM needed for fine-tuning
Approximate requirements with short sequences (about 2K tokens), small batches and gradient checkpointing. Longer sequences need more.
| Model size | QLoRA (4-bit base) | LoRA (16-bit base) | Full fine-tuning (mixed precision, AdamW) |
|---|---|---|---|
| 1–3B | 4–8 GB | 8–12 GB | 24–60 GB |
| 7–8B | 8–16 GB | 18–24 GB | 60–130 GB (multi-GPU) |
| 13–14B | 12–20 GB | 30–40 GB | 160–230 GB |
| 30–34B | 22–32 GB | 70–80 GB | 500+ GB |
| 70B | 40–50 GB | 150+ GB | 1+ TB (16+ × 80 GB GPUs) |
Full fine-tuning needs about 16 bytes per parameter for weights, gradients and optimizer states. See What is LoRA?, What is fine-tuning? and the VRAM calculator.
Best GPUs for fine-tuning by budget
| Tier | GPU | VRAM | What it fine-tunes well | Notes |
|---|---|---|---|---|
| Entry | RTX 5060 Ti 16 GB | 16 GB | QLoRA up to 8B (14B tight) | Efficient, new, FP4/FP8; see RTX 5060 Ti for AI |
| Best value | Used RTX 3090 | 24 GB | QLoRA up to ~30B (short sequences), LoRA 7–8B | High bandwidth, NVLink; see RTX 3090 for AI |
| Fast consumer | RTX 4090 | 24 GB | Same as 3090, ~1.5–2× faster | FP8 support |
| Best consumer | RTX 5090 | 32 GB | QLoRA ~30–34B comfortably, LoRA 8B with longer sequences | See RTX 5090 for AI |
| Workstation | RTX PRO 6000 Blackwell | 96 GB | QLoRA 70B, LoRA 30B, full fine-tuning of small models | See RTX PRO 6000 for AI |
| Data center | A100 80 GB | 80 GB | QLoRA 70B (tight), LoRA 13–14B | Cheap to rent; see A100 specs |
| Data center | H100 80 GB | 80 GB | Same capacity, 2–3× A100 speed | See H100 specs |
| Data center | H200 141 GB | 141 GB | QLoRA 70B with long sequences, LoRA ~70B with tricks | See H200 specs |
| Multi-GPU | 8 × H100/H200/B200 | 640 GB–1.4 TB | Full fine-tuning of 70B | Rent; see how many GPUs to train an LLM |
Unified-memory alternatives
| System | Memory | Fine-tuning notes |
|---|---|---|
| NVIDIA DGX Spark | 128 GB | Full CUDA stack; fits large QLoRA jobs; slower than discrete GPUs |
| Mac Studio (M5 Max/Ultra) | 128–512 GB | MLX supports LoRA/QLoRA; fewer tools than CUDA |
| AMD Ryzen AI Max+ 395 | 128 GB | Possible with ROCm; ecosystem less mature |
See DGX Spark vs Mac Studio and ROCm vs CUDA.
Buy or rent?
On December 1, 2026 (GPU price report):
| GPU | Lowest on-demand | Typical / median |
|---|---|---|
| RTX 4090 | $0.26/hr | ~$0.46/hr |
| RTX 5090 | $0.29/hr | ~$0.72/hr |
| RTX PRO 6000 | $0.76/hr | ~$2.30/hr |
| A100 | $0.89/hr | $2.19/hr |
| H100 | $1.80/hr | $3.92/hr |
| H200 | $2.09/hr | $4.95/hr |
Rule of thumb: if you fine-tune occasionally, rent. If you run jobs most days for a year or more, owning a 24–32 GB GPU usually pays off. See rent vs buy a GPU and RunPod vs Vast.ai.
Worked example: QLoRA on an 8B model
Assume 5,000 examples × 1,000 tokens × 3 epochs = 15 million training tokens. LoRA training costs roughly 4 × parameters × tokens FLOPs (no weight gradients for the frozen base):
4 × 8e9 × 1.5e7 ≈ 4.8e17 FLOPs| GPU | Useful throughput (assumed utilisation) | Time | Cost at typical rental price |
|---|---|---|---|
| RTX 4090 | ~165 TFLOPS × 35% ≈ 58 TFLOPS | ~2.3 hours | ~$1.10 at $0.46/hr |
| H100 | ~989 TFLOPS × 40% ≈ 400 TFLOPS | ~20 minutes | ~$1.30 at $3.92/hr |
These are estimates; 4-bit dequantization overhead, sequence length and software (for example, Unsloth reports up to 2× faster training with much lower memory) change real numbers. The lesson: small fine-tunes are cheap, and faster GPUs can cost about the same per job.
What matters most in a fine-tuning GPU
| Factor | Why |
|---|---|
| VRAM | Decides which model sizes and methods fit |
| BF16/FP8 tensor throughput | Determines training speed |
| Memory bandwidth | Affects speed, especially at small batch sizes |
| Multi-GPU interconnect | NVLink matters for full fine-tuning across GPUs |
| Software support | CUDA has the broadest tooling (Unsloth, Axolotl, TRL, DeepSpeed) |
| Power and cooling | Long jobs stress consumer cards; see GPU power consumption |
Memory-saving settings
1. QLoRA (4-bit NF4) instead of 16-bit LoRA. 2. Gradient checkpointing. 3. Shorter sequence length and packing. 4. 8-bit or paged optimizers. 5. Smaller micro-batches with gradient accumulation. 6. FlashAttention (SDPA or FlashAttention-2/3). 7. Efficient frameworks: Unsloth (single GPU), Axolotl and TRL (multi-GPU with FSDP/DeepSpeed).
If you still run out of memory, see CUDA out of memory.
Recommendations
| You want to... | Choose |
|---|---|
| Learn fine-tuning cheaply | Free Colab/Kaggle T4 or RTX 5060 Ti 16 GB; see free GPU for AI |
| Fine-tune 7–14B models at home | Used RTX 3090 or RTX 4090 |
| Fine-tune up to ~34B at home | RTX 5090 (32 GB) |
| Fine-tune 70B at home or in the office | RTX PRO 6000 (96 GB) |
| Fine-tune 70B occasionally | Rent an H100/H200 |
| Full fine-tuning of large models | Rent 8-GPU H100/H200/B200 nodes |
Frequently asked questions
What is the minimum GPU for fine-tuning an LLM?
A 16 GB GPU can QLoRA fine-tune 7–8B models; free 16 GB T4s on Colab and Kaggle also work for small jobs.
Can I fine-tune a 70B model on one GPU?
Yes, with QLoRA on a GPU with about 48 GB or more, such as an RTX PRO 6000, A100/H100 80 GB or H200.
Is the RTX 4090 good for fine-tuning?
Yes. It is one of the best-value GPUs for QLoRA and LoRA on models up to about 14B, and QLoRA up to ~30B with short sequences.
Is it cheaper to rent or buy a GPU for fine-tuning?
Renting is cheaper for occasional jobs. Buying makes sense when you fine-tune frequently over a long period.
Do I need NVLink for fine-tuning?
Not for LoRA/QLoRA on one GPU. It helps for full fine-tuning across multiple GPUs.
Sources and further reading
- Jarvislabs, Best GPU for fine-tuning LLMs
- RunPod, Best GPU for fine-tuning
- DigitalOcean, GPU options for fine-tuning large models
- Dettmers et al., QLoRA: Efficient Finetuning of Quantized LLMs (2023)
- Unsloth on GitHub
- TensorCore.si, GPU cloud price report (December 1, 2026)




Leave a Reply