Choosing a GPU

Best GPU for fine-tuning LLMs by method and size

The best GPU for fine-tuning LLMs depends on the method more than the model. QLoRA on a 7B to 8B model fits a 24 GB card such as the RTX 4090 or L4. QLoRA on a 70B model needs about 48 GB, such as an L40S or RTX A6000. Full fine-tuning needs roughly 18 bytes per parameter before activations, so even an 8B model calls for several H100 or H200 GPUs.

Three steps rising from a small GPU to a rack of linked GPUs, each step carrying a larger stack of training blocks
The fine-tuning method sets the memory floor: QLoRA fits one small card, full fine-tuning needs a linked rack. AI-generated illustration.

Short answer by method and model size

Fine-tuning memory depends on what you train. QLoRA freezes a 4-bit copy of the base model and trains small adapters. LoRA freezes a 16-bit base and trains adapters. Full fine-tuning updates every weight, so it needs gradients and optimizer state for all of them.

The table gives a starting shortlist by method and model size. It is based on the memory arithmetic in the next sections and the published memory of each card, not on benchmarks. Long sequences and large batches push a job up a row.

This page covers which GPU to rent. For which cloud to rent it from, see best GPU cloud for fine-tuning. For the general hardware method, see how to choose a GPU for AI.

Short answer by method and model size
Method and modelRough memory floorStarting candidates
QLoRA, 7B to 8BAbout 5 GB weights plus activationsRTX 3090, RTX 4090, L4, A10
LoRA at 16-bit, 7B to 8BAbout 16 GB weights plus activationsRTX 5090, L40S, RTX A6000
QLoRA, 65B to 70BAbout 35 to 40 GB weights plus activationsL40S, RTX A6000, RTX PRO 6000
LoRA at 16-bit, 70BAbout 140 GB weights plus activationsTwo H200, or two to four H100
Full fine-tune, 8BAbout 144 GB plus activationsFour to eight H100 or H200 with sharding
Full fine-tune, 70BAbout 1.26 TB plus activationsSeveral 8-GPU H200 or B200 nodes

Candidate GPUs compared

Specs come from NVIDIA product pages, datasheets and architecture whitepapers. FP8 and FP4 matter less for fine-tuning than for serving, since most LoRA and QLoRA recipes train in BF16 or FP16. The link column matters more: sharded full fine-tuning moves gradients between GPUs every step.

The RTX A6000 supports a two-card NVLink bridge at 112.5 GB/s; the L40S has no NVLink. A100, H100 and H200 SXM boards link at 600 to 900 GB/s. B200 figures are per GPU, derived from NVIDIA’s DGX B200 totals of 1,440 GB and 64 TB/s across eight GPUs.

Candidate GPUs compared
GPUMemoryBandwidthFP8 / FP4Form factor and linkBest for
RTX 309024 GB GDDR6X936 GB/sNo / noConsumer card, 350 WCheapest QLoRA on 7B to 8B
RTX 409024 GB GDDR6X1,008 GB/sFP8 / noConsumer card, 450 WFast QLoRA on 7B to 8B
RTX 509032 GB GDDR71,792 GB/sFP8 / FP4Consumer card, 575 WLoRA on 7B to 8B at short context
L424 GB GDDR6300 GB/sFP8 / noLow-profile PCIe, 72 WSmall, slow, low-cost QLoRA
RTX A600048 GB GDDR6 ECC768 GB/sNo / noDual-slot PCIe, 300 W, 2-way NVLink bridgeQLoRA on 70B, LoRA on 8B to 14B
L40S48 GB GDDR6 ECC864 GB/sFP8 / noDual-slot PCIe, 350 W, no NVLinkQLoRA on 70B, LoRA on 8B to 14B
RTX PRO 6000 Server96 GB GDDR7 ECC1,597 GB/sFP8 / FP4Dual-slot PCIe, up to 600 WQLoRA on 70B with longer sequences
A100 80GB SXM80 GB HBM2e2,039 GB/sNo / noSXM, 400 W, 600 GB/s NVLinkLoRA on 30B, sharded full fine-tunes
H100 SXM80 GB HBM33.35 TB/sFP8 / noSXM, up to 700 W, 900 GB/s NVLinkSharded full fine-tunes, fast LoRA
H200 SXM141 GB HBM3e4.8 TB/sFP8 / noSXM, up to 700 W, 900 GB/s NVLinkLoRA on 70B, larger full fine-tunes
B200180 GB HBM3e8 TB/sFP8 / FP48-GPU HGX or DGX systemFull fine-tunes of large models

References: NVIDIA Ampere GA102 GPU architecture whitepaper · NVIDIA GeForce RTX 4090 specifications · NVIDIA Ada GPU architecture whitepaper · NVIDIA GeForce RTX 5090 · NVIDIA RTX Blackwell GPU architecture whitepaper · NVIDIA L4 Tensor Core GPU specifications · NVIDIA A10 Tensor Core GPU specifications · NVIDIA RTX A6000 datasheet · NVIDIA L40S specifications · NVIDIA RTX PRO 6000 Blackwell Server Edition specifications · NVIDIA A100 specifications · NVIDIA H100 specifications · NVIDIA H200 specifications · NVIDIA DGX B200 specifications

Size the job: bytes per parameter by method

Hugging Face’s memory guide counts full mixed-precision training with Adam at 6 bytes per parameter for weights (a 16-bit copy and a 32-bit main copy), 8 bytes for optimizer state and 4 bytes for gradients: 18 bytes per parameter before activations. An 8B model needs about 144 GB before a single activation is stored.

LoRA freezes the base weights, so they cost about 2 bytes per parameter at 16-bit, and only the small adapters carry gradients and optimizer state. QLoRA stores the frozen base in 4-bit NormalFloat; its paper reports fine-tuning a 65B model on a single 48 GB GPU. Activations scale with batch size and sequence length in every method, so long sequences can overflow a card the weights fit on.

Enter your model, method and sequence length in the VRAM calculator. The LoRA fine-tuning cost guide turns the result into a budget.

Size the job: bytes per parameter by method
MethodBytes per parameter (before activations)8B model70B model
Full fine-tune, mixed precision, AdamAbout 18About 144 GBAbout 1.26 TB
LoRA, 16-bit frozen baseAbout 2, plus small adaptersAbout 16 GBAbout 140 GB
QLoRA, 4-bit frozen baseAbout 0.5, plus small adaptersAbout 4 to 5 GBAbout 35 to 40 GB

References: Hugging Face Transformers: GPU memory usage · QLoRA: Efficient Finetuning of Quantized LLMs · Hugging Face PEFT: LoRA

A GPU memory tray divided into compartments for frozen weights, small adapters, gradients and optimizer state
Full fine-tuning stores gradients and optimizer state for every weight; LoRA and QLoRA store them only for small adapters. AI-generated illustration.

Cost per completed run, not cost per hour

A fine-tuning job is priced by the run. Cost per run equals GPU count times hours times the hourly rate, plus setup time, plus any reruns after a crash or a bad hyperparameter. A faster card that costs more per hour can finish the same run for the same money or less.

The numbers below are illustrative assumptions to show the arithmetic, not quotes or measured run times. Replace them with a timed pilot run on each card.

Cost per completed run, not cost per hour
Item48 GB PCIe cardH100 SXM
Assumed price per GPU-hour$0.90$2.50
Assumed training time for one QLoRA run10 hours3.5 hours
Setup and evaluation time0.5 hours0.5 hours
Cost per runAbout $9.45About $10.00
Add one failed half-run plus setupAbout $14.40About $15.63

Decision rules for the best GPU for fine-tuning LLMs

Start with QLoRA on one GPU unless you have evidence that it hurts quality for your task. It is the cheapest way to learn whether fine-tuning helps at all. Move to LoRA at 16-bit, then to full fine-tuning, only when an evaluation shows a gap worth paying for.

Stay on one GPU when the job fits. When it does not, prefer GPUs joined by NVLink, because sharded training sends gradients or parameters between devices every step. Plan for checkpoints on any run longer than a few hours, so a lost node costs minutes, not the whole run.

Decision rules for the best GPU for fine-tuning LLMs
If your situation isThen lean toward
First experiment on a 7B to 8B modelQLoRA on an RTX 4090 or RTX 3090
LoRA on 8B with long sequencesL40S or RTX A6000 (48 GB)
Adapting a 70B model on a budgetQLoRA on an L40S, RTX A6000 or RTX PRO 6000
LoRA on 70B at 16-bitTwo H200 or a 4-GPU H100 node
Full fine-tune of 8B or larger8-GPU H100 or H200 node with sharding
Many short sweeps in parallelSeveral single 24 GB to 48 GB cards

References: QLoRA: Efficient Finetuning of Quantized LLMs · NVIDIA A100 specifications · NVIDIA H100 specifications

What to test before you commit

Run 50 to 100 training steps at your real sequence length and batch size on each candidate. Record peak memory, step time and tokens per second, then project the full run. Check that peak memory stays well below the card’s limit, since evaluation steps and longer samples can spike it.

Confirm that your library versions support the card: bitsandbytes for QLoRA, and FlashAttention or your chosen attention kernel. Save and reload a checkpoint once, so you know a restart works. For a step-by-step single-card run, follow QLoRA fine-tuning.

References: QLoRA: Efficient Finetuning of Quantized LLMs

Checklist and next step

Choose the method first: QLoRA, LoRA or full. Compute bytes per parameter for that method and add activations for your sequence length. Shortlist cards in the matching tier. Time a short pilot on two of them. Compare cost per completed run, including setup and one rerun. Turn on checkpoints.

NeuraMesh rents RTX 3090, RTX 4090, RTX 5090, L4, RTX A6000, L40S, RTX PRO 6000, A100, H100, H200 and B200 GPUs by the hour. Pick the GPU, plan, count, hours and region on rent GPUs, and you receive a confirmed quotation, typically within one business day, with nothing charged until you approve. Unsure which card fits your run? Ask the compute advisor.

NeuraMesh prices for these GPUs

NeuraMesh prices per GPU-hour in USD, excluding taxes, as of 2026-11-27. Live prices are on the rental pages.
GPUMemoryData centerValue
RTX 409024 GB$0.46$0.40
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00

Every order is confirmed in a quotation before you pay. See all GPU prices.

Questions readers ask

What is the best GPU for fine-tuning LLMs on a budget?

For QLoRA on 7B to 8B models, a 24 GB card such as the RTX 3090 or RTX 4090 is usually enough. For QLoRA on 70B models, a 48 GB card such as the L40S or RTX A6000 is the usual floor, in line with the QLoRA paper’s 65B result on a single 48 GB GPU.

How much VRAM do I need to fine-tune a 7B model?

About 4 to 5 GB of weights with QLoRA, about 14 to 16 GB with LoRA at 16-bit, and over 120 GB for full fine-tuning with Adam in mixed precision. Activations come on top and grow with batch size and sequence length.

Can I fine-tune a 70B model on one GPU?

With QLoRA, yes, on a card with about 48 GB or more, though sequence length and batch size must stay modest. LoRA at 16-bit needs about 140 GB for the frozen weights alone, and full fine-tuning needs many GPUs.

Is an H100 worth it for LoRA fine-tuning?

It can be when time matters or when you run many jobs, since higher bandwidth and compute shorten each run. Compare cost per completed run from a short pilot. For a single small QLoRA job, a 24 GB or 48 GB card is often cheaper overall.

Do I need NVLink for fine-tuning?

Not for single-GPU QLoRA or LoRA. For sharded full fine-tuning across several GPUs, a fast link reduces the time spent exchanging gradients and parameters each step, so SXM boards with NVLink are the usual choice.

Sources and editorial notes

Primary documentation reviewed November 24, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.

Read the editorial policy.

Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.