Skip to content

Best GPU for LLM Fine-Tuning: LoRA, QLoRA and Full Training

Which GPU to rent for LLM fine-tuning: memory per method (full, LoRA, QLoRA), then bandwidth and VRAM across B300, RTX PRO 6000, RTX 5090 and RTX 4090.

GuidePublished by EverXCloud Team5 sections3 min read

ShareXLinkedInReddit

The Short Answer

The fine-tuning method decides the GPU. QLoRA adapts a frozen 4-bit model and fits 7B to 13B models on a 24 GB or 32 GB RTX 4090 or RTX 5090, and 16-bit LoRA fits a 7B model on 24 GB; the QLoRA paper fine-tuned a 65B model on a single 48 GB GPU. Full fine-tuning updates every weight and needs far more memory, which usually means several 80 GB A100 or H100 GPUs, or 141 GB H200 GPUs, connected with NVLink.

Memory per Method

Full fine-tuning with the Adam optimizer in mixed precision keeps 16-bit weights and gradients plus 32-bit optimizer states: the ZeRO paper counts 16 bytes per parameter, before activations. A 7B model therefore needs about 112 GB for full fine-tuning: more than an 80 GB GPU, and most of a 141 GB H200 before activations.

LoRA freezes the base model and trains small adapter matrices, so memory is dominated by the base weights: about 2 bytes per parameter in 16-bit precision. QLoRA stores the frozen base model in 4-bit precision, about half a byte per parameter, and trains the adapters in 16-bit precision. Activations add memory that grows with batch size and sequence length; gradient checkpointing reduces it at the cost of extra compute.

Then Compare Bandwidth, Compute and Interconnect

Once the job fits, training speed depends on Tensor Core throughput and memory bandwidth. The H100 SXM and H200 publish 989 TFLOPS of dense FP16 Tensor Core throughput, against 312 TFLOPS for the A100. For multi-GPU training, NVLink (900 GB/s on Hopper SXM, 600 GB/s on A100 SXM) synchronizes gradients much faster than PCIe-only cards.

How to Choose

Pick the method first: QLoRA for the lowest memory, LoRA for a simpler 16-bit setup, full fine-tuning when you must update every weight. Compute the memory for that method, add activations for your batch and sequence length, and choose the smallest GPU or GPU group that fits. Run a few hundred steps, record peak memory and throughput, then estimate the full run.

Test Before a Long Run

Rent the candidate GPU for a short session and run your real workload with the settings you intend to use. Record the software versions, the peak memory and the useful output per hour, then compare the full cost per result rather than the hourly rate. In the portal you rent at the best live offer, in the Interruptible or On-Demand tier.

GPUs for LLM fine-tuning: NVIDIA specifications as of 2026-11-17

GPUGPU memoryMemory bandwidthFP16 Tensor (dense)Interconnect
NVIDIA GeForce RTX 4090 24GB24 GB GDDR6X1,008 GB/sNot publishedPCIe 4.0
NVIDIA GeForce RTX 5090 32GB32 GB GDDR71,792 GB/sNot publishedPCIe 5.0
NVIDIA L40S 48GB48 GB GDDR6864 GB/s362 TFLOPSPCIe 4.0
NVIDIA RTX PRO 6000 Blackwell 96GB96 GB GDDR71,792 GB/sNot publishedPCIe 5.0
NVIDIA A100 SXM 80GB80 GB HBM2e2,039 GB/s312 TFLOPSNVLink 3 (600 GB/s) · PCIe 4.0
NVIDIA H100 SXM 80GB80 GB HBM33,350 GB/s989 TFLOPSNVLink 4 (900 GB/s) · PCIe 5.0
NVIDIA H200 141GB141 GB HBM3e4,800 GB/s989 TFLOPSNVLink 4 (900 GB/s) · PCIe 5.0

Frequently Asked Questions

Can I fine-tune an LLM on an RTX 4090?
Yes with QLoRA for 7B to 13B models, or 16-bit LoRA for a 7B model, with a moderate batch size and sequence length: a 13B model's 16-bit weights alone take about 26 GB, more than its 24 GB of memory. Full fine-tuning of a 7B model needs about 112 GB with Adam in mixed precision, so it does not fit on one RTX 4090.
How much GPU memory does QLoRA need?
The frozen base model takes about half a byte per parameter in 4-bit precision, plus adapters, optimizer states for the adapters and activations. The QLoRA paper fine-tuned a 65B model on a single 48 GB GPU.
A100 or H100 for fine-tuning?
Both come with 80 GB of memory. The H100 SXM publishes 989 dense FP16 Tensor TFLOPS and 3,350 GB/s of bandwidth, against 312 TFLOPS and 2,039 GB/s for the A100 SXM 80GB, and adds FP8 support. Compare the cost per completed run, not the hourly rate.
Do I need NVLink to fine-tune on several GPUs?
No, but data-parallel and sharded training exchange gradients at every step, and NVLink moves that data much faster than PCIe. It matters most for full fine-tuning of large models split across GPUs.

Sources

Keep Reading

All guides

Next guide2 min read

Best GPU for AI Video Generation

Which GPU to rent for AI video generation: video models need more memory than image models, so compare 24 GB to 141 GB GPUs by memory first.

Guide 302 min read

Best GPU for 3D Rendering in Blender Cycles

Which GPU to rent for Blender Cycles and 3D rendering: RT cores for OptiX, enough memory for the scene, with RTX 4090, RTX 5090 and RTX PRO options.

Explore available GPUs

Every offer on the live market comes from a reviewed supplier and is sold by EverXCloud Inc.