All tools
Fine-tuning · free, no sign-up

How much VRAM do I need to fine-tune this model?

Fine-tuning used to mean a server. QLoRA changed that: by quantising the base model to 4-bit and training small adapters on top, the card that runs a model can usually train it.

2 inputs5 questions answeredUpdated for 2026 hardware
QLoRA VRAM Calculator — How much VRAM do I need to fine-tune this model?
Answer first

The short answer

Computed from this tool’s default settings — model size and the rest as most people start. Change them below for your own case.

Cheapest method that fitsQLoRA

A 8B model QLoRA-fine-tunes in about 6.00 GB, which fits RTX 4090. 16-bit LoRA would need 22.0 GB and a full fine-tune 128.0 GB.

The calculator

QLoRA VRAM Calculator

QLoRA, LoRA and full fine-tuning memory for any model size, against your card.

Your setup
Cheapest method that fitsQLoRA

A 8B model QLoRA-fine-tunes in about 6.00 GB, which fits RTX 4090. 16-bit LoRA would need 22.0 GB and a full fine-tune 128.0 GB.

Your memory22.1 GB
QLoRA needs6.00 GB
LoRA needs22.0 GB
Full needs128.0 GB
MethodMemoryOn your card
QLoRA (4-bit base)6.00 GBFits
LoRA (16-bit base)22.0 GBFits
Full fine-tune128.0 GBShort by 105.9 GB
Inputs

What each setting changes

Every input moves the result for a reason. This is what each one does and where to find the value for your own machine.

SettingDefaultWhat it changes
Model size8B9 options, from 1B to 405B.
Your hardwareRTX 4090 · 24 GBThe machine the model runs on. Usable memory decides what fits and memory bandwidth decides how fast it runs, so this moves every figure below.
Worked examples

Real answers across model size

The same calculation run at a range of settings, with everything else left at its default. These are computed by the tool itself, not written by hand.

Model sizeCheapest method that fitsYour memoryQLoRA needsLoRA needs
1BQLoRA22.1 GB1.20 GB2.70 GB
3BQLoRA22.1 GB3.50 GB8.00 GB
7BQLoRA22.1 GB5.00 GB19.0 GB
8BQLoRA22.1 GB6.00 GB22.0 GB
14BQLoRA22.1 GB8.50 GB33.0 GB

A 1B model QLoRA-fine-tunes in about 1.20 GB, which fits RTX 4090. 16-bit LoRA would need 2.70 GB and a full fine-tune 16.0 GB.

Method

How this is calculated

No lookup tables and no invented constants. Here is the arithmetic, so you can check it against your own numbers.

QLoRA quantises the base model to 4-bit and trains small adapters on top, so the card that runs a model can usually train it too. LoRA keeps the base at 16-bit and trains the same adapters, costing roughly three to four times more memory. A full fine-tune updates every weight and carries gradients plus optimiser state — about 16 bytes per parameter.

The QLoRA and LoRA figures are Unsloth’s published requirements, interpolated between the sizes they list rather than extrapolated from a formula. They assume a short sequence length and a small batch; longer sequences and larger batches push the real number up.

These are well-founded engineering estimates, not benchmark results. Your quantisation, runtime and context length all move the real number, and usable memory is an assumption rather than a specification. See the full methodology for every assumption behind these figures.

Use cases

Who this is for

The three situations that bring people to this calculation.

Use case 01

First fine-tune

Check your card can do it before setting anything up.

Use case 02

Choosing a base

Find the largest model you can actually train.

Use case 03

Renting

Size the instance you need rather than overpaying.

Walkthrough

How to use this calculator

Four steps, no account, nothing leaves your browser.

  1. Set model size

    Start at the top of the panel. Every figure recalculates as you change it — there is no submit button, because watching the number move is the point.

  2. Adjust the rest to match your setup

    1 further setting: your hardware. Defaults are the common case, so change only what differs for you.

  3. Read the headline, then the table

    The large figure answers the question. The table underneath shows how the answer changes across nearby settings, which is usually where the decision actually gets made.

  4. Check it against the method

    The arithmetic is written out above. If a number looks wrong for your hardware, the assumptions are the first place to look — usable memory and quantisation are the two that vary most.

Questions

How much VRAM do I need to fine-tune this model: common questions

The questions people ask about this, answered without hedging.

Can I fine-tune a 7B model on a 24GB card?

With QLoRA, comfortably — a 7B model needs about 5 GB. With 16-bit LoRA it needs roughly 19 GB, which fits but leaves little headroom for a longer sequence length. A full fine-tune of 7B needs around 112 GB and is not a single-card job.

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

About 5 GB with QLoRA, which fits comfortably on an 8GB card. Sixteen-bit LoRA needs roughly 19 GB, and a full fine-tune around 112 GB.

Can I fine-tune on a Mac?

Yes, through MLX, which handles LoRA on Apple Silicon natively. Unified memory means capacity is rarely the binding constraint; bandwidth is, so expect a run to take noticeably longer than on a discrete card of the same memory.

Does QLoRA hurt quality compared to LoRA?

Very little in practice. The base is quantised but frozen, and the adapters train in higher precision, so published comparisons find the gap small relative to the memory saved.

Do these numbers include the dataset?

No — they cover the model, gradients and optimiser state. Activations scale with batch size and sequence length, so leave 15–20% headroom on top.

The rest of the set

All 50 run on the same arithmetic, so answers across them agree.

Coverage

Searches this page answers

Different ways of asking the same question, all resolved above.

qlora vram requirementsfine tune llm vram calculatorhow much vram to fine tune 7blora memory requirementsunsloth vramfine tuning gpu requirementstrain llm on consumer gpuhow much vram do i need to fine-tune this modelqlora vram calculatorqlora vram calculator onlinefree qlora vram calculator
Next step

Now find the models that fit

Sizing is only half the problem. Model Radar takes your hardware and shows which models actually run on it, ranked by what they are good at — the same arithmetic as this page, applied to every model worth running.