aliteq.

Type to search every guide, tool and GPU page.

Can you fine-tune an LLM on your own GPU, and how much does it cost?

Yes. With QLoRA, an 8B model needs as little as 6 GB of VRAM and a 14B model 8.5 GB (Unsloth's minimums, read Nov 3, 2026), so a 12GB RTX 3060 or a 24GB RTX 4090 can do it. The software is free; the cost is electricity, about 6 to 13 cents an hour for a whole PC at the US average rate. Here is what fits on which card, and when renting is cheaper.

Ari ValeLinks and sources checked Updated Published 8 min read
Thumbnail: Fine-tune on your own GPU. An 8B QLoRA needs as little as 6 GB. A screenshot of Unsloth's VRAM requirements table on unsloth.ai, and a card reading QLoRA 8B, Unsloth minimum, 6 GB, read Nov 3, 2026.

This page has referral links: we earn a commission if you buy, at no cost to you.

Our Vast referral code: 623346 (link: https://cloud.vast.ai/?ref_id=623346). New users get no bonus from it; we earn 3% of what referred users spend (Vast's referral program docs).

Our Runpod referral code: nuninlts (link: https://console.runpod.io/signup?ref=nuninlts). A new account that signs up with Google through it and loads $10 gets a one-time bonus credit, a fixed $5 for European customers and a random $5 to $500 elsewhere (Runpod says most get $5), valid 90 days; we earn 3% of Pod and 5% of Serverless spend for the first 6 months (Runpod's referral docs).

Share
Share on X

Yes, you can fine-tune an LLM on your own GPU, and the software costs nothing. With QLoRA, Unsloth's own minimums are 6 GB of VRAM for an 8B model and 8.5 GB for a 14B model, so a 12GB RTX 3060 handles small fine-tunes and a 24GB RTX 4090 handles up to about 27B. What you pay is electricity: at the US average home rate of 18.16 cents per kWh (EIA, August 2026), a PC built around an RTX 4090 costs about $0.11 an hour to run flat out. Renting the same card cost a $0.47/hour median on Vast.ai on Nov 3, 2026. The VRAM figures were read on Unsloth's pages on November 3, 2026.

Updated November 14, 2026: added the best LoRA tools for limited GPU memory (read on each project's page today) and today's rental price.

Local fine-tuning in four numbers (read Nov 3, 2026)

6 GB

VRAM for an 8B model

Unsloth minimum, QLoRA 4-bit

8.5 GB

VRAM for a 14B model

Unsloth minimum, QLoRA 4-bit

18.16

Cents per kWh at home

US average, EIA, Aug 2026

$0

Price of the software

Open source (Apache 2.0 core)

Can my GPU fine-tune an LLM?

If it's an NVIDIA card from 2018 or later with 8 GB or more, almost certainly, for models up to 8B. Unsloth's requirements page says it "Supports NVIDIA GPUs since 2018+" with a "Minimum CUDA Capability 7.0", that is RTX 20-series and newer; it adds that the older "GTX 1070, 1080 works, but is slow." The same page says training works on AMD and Intel GPUs and on Macs, and that "Unsloth Studio works directly on Windows without WSL."

The real limit is VRAM. Here is Unsloth's own table, with its own warning: "these numbers are the absolute minimum".

Unsloth's requirements page on Nov 3, 2026: a table of model parameters against QLoRA (4-bit) VRAM and LoRA (16-bit) VRAM, from 3B (3.5 GB, 8 GB) to 405B (237 GB, 950 GB), with the 70B row outlined: 41 GB QLoRA, 164 GB LoRA. Above it: these numbers are the absolute minimum.
Unsloth's fine-tuning VRAM minimums, unsloth.ai, read Nov 3, 2026. QLoRA is the 4-bit column. · Screenshot of unsloth.ai by aliteq

Matched to common cards (VRAM and power from NVIDIA's spec pages, read Nov 3, 2026):

What each GPU can fine-tune with QLoRA (Unsloth minimums)

Any 8GB card

VRAM
8 GB
Largest model, QLoRA
Up to 11B (7.5 GB), short examples only
16-bit LoRA
3B (8 GB), at the edge

RTX 3060 12GB

VRAM
12 GB
Largest model, QLoRA
14B (8.5 GB)
16-bit LoRA
3B

Any 16GB card

VRAM
16 GB
Largest model, QLoRA
14B, with room for longer examples
16-bit LoRA
3B

RTX 3090 / RTX 4090

VRAM
24 GB
Largest model, QLoRA
27B (22 GB), at the edge
16-bit LoRA
8B (22 GB) or 9B (24 GB)

RTX 5090

VRAM
32 GB
Largest model, QLoRA
32B (26 GB); 40B (30 GB) at the edge
16-bit LoRA
11B (29 GB)

70B model

VRAM
41 GB minimum
Largest model, QLoRA
No single gaming card; rent an 80GB GPU
16-bit LoRA
164 GB, several GPUs

"At the edge" means the minimum fits but leaves little room. That room matters, because it sets how long each training example can be. Unsloth's benchmarks for an 8B QLoRA show the longest context it could train at each memory size:

Unsloth's benchmarks page on Nov 3, 2026: Llama 3.1 8B max context length for 4-bit QLoRA, by GPU VRAM: 8 GB 2,972 tokens, 12 GB 21,848 (outlined), 16 GB 40,724, 24 GB 78,475, 40 GB 153,977, 48 GB 191,728, 80 GB 342,733, against Hugging Face plus FA2 at OOM, 932, 2,551, 5,789 and up.
Max training context for an 8B QLoRA by GPU memory, Unsloth benchmarks, read Nov 3, 2026. Unsloth's test used rank 32 and a batch size of 1. · Screenshot of unsloth.ai by aliteq

So an 8GB card can fine-tune an 8B model, but only on examples under about 3,000 tokens. A 12GB card stretches that to about 21,800, and a 24GB card to about 78,500, plenty for nearly any chat or instruction dataset. To check whether a model fits your card for running it afterward, use our VRAM calculator. If you're shopping for 24GB, a used RTX 3090 is the common budget route, and our used RTX 3090 buying guide covers what to check before you pay.

Best LoRA tools for limited GPU memory

For a single consumer GPU, Unsloth is the first pick: it is free, runs on Windows and Linux, and its GitHub page claims training "2x faster with 70% less VRAM" than a standard setup (Unsloth's own figure). If you want a point-and-click interface, LLaMA-Factory has a Web UI. If you will later move to several rented GPUs, Axolotl is built for that. All five below are free and open source; we read each project's own page on November 14, 2026 and have not benchmarked them against each other.

Unsloth

Best for
One NVIDIA GPU, 8 to 24 GB
Low-memory features (per its own page)
QLoRA from 6 GB for 8B; its own memory-saving kernels
Licence
Apache-2.0 core

LLaMA-Factory

Best for
No-code fine-tuning
Low-memory features (per its own page)
Web UI and CLI; LoRA and 2/3/4/5/6/8-bit QLoRA; estimates 6 GB for a 7B QLoRA at 4-bit, 4 GB at 2-bit
Licence
Apache-2.0

Axolotl

Best for
YAML configs, scaling to multi-GPU
Low-memory features (per its own page)
LoRA and QLoRA; FSDP2 and DeepSpeed; CPU-staged QLoRA loading for models bigger than one GPU
Licence
Apache-2.0

Hugging Face PEFT

Best for
Writing your own training script
Low-memory features (per its own page)
The LoRA library most other tools build on; pairs with bitsandbytes for 4-bit
Licence
Apache-2.0

MLX LM

Best for
Macs with Apple silicon
Low-memory features (per its own page)
LoRA and QLoRA on unified memory
Licence
MIT

One to skip for new projects: PyTorch's torchtune README now says it "is no longer actively maintained" and that development wound down in 2025.

LLaMA-Factory's own estimates are a useful second opinion on Unsloth's minimums: 4-bit QLoRA at about 6 GB for 7B, 12 GB for 14B, 24 GB for 30B and 48 GB for 70B. When the model doesn't fit your card even at 4-bit, renting is the next step; our guide to affordable GPU rental for LLM fine-tuning picks the card per model size. A 70B QLoRA at 41 GB fits one 80GB A100 SXM, and the cheapest A100 rental compares where to get one by the hour.

What does it cost to fine-tune on your own GPU?

The software is free. Unsloth's core library is open source under Apache 2.0 (its Studio app is AGPL-3.0), and its guide says you can fine-tune "for free on Colab, Kaggle, or locally with just 3GB VRAM by using our notebooks." The only running cost on your own PC is electricity.

Here is the math at the US average residential price of 18.16 cents per kWh, EIA's preliminary figure for August 2026. The GPU numbers are NVIDIA's rated board power. The whole-PC column is our own rough assumption of the card's rating plus 150 W for the rest of the computer; a training run can draw less than the rating, and your own rate may be far from the average (EIA lists California at 29.75 cents and Idaho at 13.37 for the same month).

Electricity per hour of training at 18.16 cents/kWh (EIA, Aug 2026)

RTX 3060 12GB

GPU rated power (NVIDIA)
170 W
GPU alone, per hour
$0.03
Whole PC, per hour (our estimate)
$0.06 (about 320 W)

RTX 4090 24GB

GPU rated power (NVIDIA)
450 W
GPU alone, per hour
$0.08
Whole PC, per hour (our estimate)
$0.11 (about 600 W)

RTX 5090 32GB

GPU rated power (NVIDIA)
575 W
GPU alone, per hour
$0.10
Whole PC, per hour (our estimate)
$0.13 (about 725 W)

How many hours? That depends on your dataset size, example length and settings, and Unsloth doesn't publish a single training-time figure, so we won't invent one. Unsloth's hyperparameters guide recommends "1-3 epochs" (passes over your data), and its benchmarks page warns that the first ~5 minutes can look slow while the code compiles. The practical way to know: run a short test, read the time-per-step the trainer prints, and multiply. Even a 10-hour run on an RTX 4090 PC is about $1.10 of power at the average rate.

Is it cheaper to rent a GPU for fine-tuning?

Only when your card is too small. If you already own the GPU, local power is far cheaper per hour than renting. On Vast.ai, Nov 17, 2026, a single RTX 4090 rented for a $0.49/hour median (on-demand, our hourly feed, checked Nov 17, 2026; $0.47 on Nov 3), and on Runpod for $0.34/hour on Community Cloud or $0.89/hour on Secure Cloud (Runpod's pricing page, read Nov 14, 2026), against about $0.11 an hour to run your own. Our cheapest RTX 4090 rental page tracks that card across providers. Rent when the model doesn't fit: a 70B QLoRA needs 41 GB, which no single gaming card has. Our cloud GPU guide for fine-tuning picks the card for each model size, and today's prices update every hour.

If you rent, the box to start from is a plain PyTorch one, so the steps below stay the same as on your own PC. Runpod's official Runpod Pytorch 2.8.0 template runs the image runpod/pytorch:1.0.2-cu1281-torch280-ubuntu2404 (PyTorch 2.8.0, CUDA 12.8.1, Ubuntu 24.04) with JupyterLab on port 8888, SSH and a 50 GB volume disk (read Nov 30, 2026). Install Unsloth there, open its notebook in JupyterLab, and save the adapter under /workspace, which Runpod's docs say is where the volume disk is mounted, so it survives a stop.

How do you fine-tune locally, step by step?

A local QLoRA fine-tune with Unsloth
  1. Collect examples

    Unsloth: at least 100 rows; over 1,000 is better

  2. Pick a model that fits

    8B on 8-12 GB; up to 27B on 24 GB

  3. Install Unsloth

    Windows or Linux; NVIDIA, AMD or Intel GPU

  4. Train 1-3 epochs with QLoRA

    Watch for out-of-memory; lower the batch size

  5. Test, then export

    Unsloth exports to GGUF for local apps

From Unsloth's fine-tuning, datasets, hyperparameters and requirements pages, read Nov 3, 2026.
  1. Prepare your data. This is the part that decides the result. Unsloth's datasets guide says: "We generally recommend using a bare minimum of at least 100 rows of data for fine-tuning to achieve reasonable results." It adds that "a dataset with over 1,000 rows is preferable." Each row is an example of the input and the answer you want, usually as a conversation.
  2. Pick a base model that fits your card from the table above, such as an 8B Qwen3 or Llama 3.1 model. Unsloth's guide says "We recommend starting with QLoRA, as it is one of the most accessible and effective methods for training models."
  3. Install Unsloth and open one of its notebooks. They are fill-in-the-blanks: model name, dataset, a few settings.
  4. Train. If you run out of memory, Unsloth's fix is direct: "A common issue when you OOM or run out of memory is because you set your batch size too high. Set it to 1, 2, or 3 to use less VRAM."
  5. Test and export. Try the result on prompts it hasn't seen, then export it (Unsloth supports GGUF) to run in a local app.
The Unsloth GitHub page on Nov 3, 2026, Train and Deploy section, with this line outlined: Fine-tuning: Train LLMs, diffusion, decision, TTS, and embedding models 2x faster with 70% less VRAM with no accuracy loss. Below: supports reinforcement learning, LoRA, QLoRA, full fine tuning; export to GGUF.
Unsloth's own claim on GitHub, read Nov 3, 2026. The speed and memory figures are the vendor's, measured against standard Hugging Face training. · Screenshot of github.com/unslothai/unsloth by aliteq

Should you fine-tune, or use RAG instead?

It depends on what you want the model to learn. Fine-tuning changes the model itself, so it's the tool for a style, a format, a tone or a narrow task done the same way every time. If you mainly want the model to answer from your documents, and those documents change, chatting with your documents through local RAG is usually quicker to set up and easy to update: you just swap the files.

Unsloth takes a stronger line for fine-tuning. Its guide says "Fine-tuning can replicate all of RAG's capabilities, but not vice versa" and that fine-tuning can learn from documents, but warns that "just dumping data alone won't work as well." In practice, many setups use both: fine-tune for behavior, RAG for facts that change.

The honest limits

  • The VRAM figures are minimums. Unsloth says more is sometimes needed depending on the model.
  • No training-time promise. Hours depend on your data and settings; time a short test run first.
  • The power math is an estimate. It uses rated power and a national average price; check your own bill's rate.
  • The speed claim is Unsloth's. "2× faster with 70% less VRAM" is the vendor's own figure, not our test.
  • A 70B fine-tune doesn't fit one gaming card. QLoRA needs 41 GB at minimum, so plan to rent.

This guide is part of our how to run a local AI model on your own PC in 2026 — a genuinely simple beginner's guide guide. Related guides: Transcribe audio for free with Whisper running on your own computer, How to run text-to-speech AI locally with the best open models, How to run uncensored AI models locally and what abliterated really means.

Quick answers

What are the best LoRA tools for limited GPU memory?
Unsloth for a single NVIDIA card (QLoRA of an 8B model from 6 GB), LLaMA-Factory if you want a Web UI, Axolotl if you plan to scale to several GPUs, Hugging Face PEFT for your own scripts, and MLX LM on Apple silicon Macs. All are free and open source. torchtune is no longer actively maintained.
Can I fine-tune an LLM on my own GPU?
Yes. With QLoRA and a free tool like Unsloth, an 8B model needs as little as 6 GB of VRAM and a 14B model 8.5 GB, per Unsloth's requirements page (read Nov 3, 2026). Unsloth supports NVIDIA GPUs from 2018 on (CUDA capability 7.0 and up) and also lists AMD, Intel and Mac support. It runs on Windows and Linux.
How much does it cost to fine-tune an LLM locally?
The software is free, so the cost is electricity. At the US average residential price of 18.16 cents per kWh (EIA, August 2026), a PC with an RTX 4090 drawing about 600 W costs about $0.11 per hour, and one with an RTX 3060 about $0.06. A 10-hour run on the 4090 PC is about $1.10 of power at that rate.
How much VRAM do I need to fine-tune a 7B or 8B model?
Unsloth's minimums are 5 GB for 7B and 6 GB for 8B with QLoRA (4-bit), and 19 GB and 22 GB with 16-bit LoRA. More VRAM lets you train on longer examples: Unsloth measured a maximum of 2,972 tokens on 8 GB, 21,848 on 12 GB and 78,475 on 24 GB for an 8B QLoRA.
Can I fine-tune a 70B model at home?
Not on a single gaming card. Unsloth's minimum for a 70B QLoRA is 41 GB, more than the 32 GB of an RTX 5090. Rent an 80GB GPU for the run, or fine-tune a smaller model.
How many training examples do I need?
Unsloth's datasets guide recommends "a bare minimum of at least 100 rows of data" and says a dataset with over 1,000 rows is preferable. Clean, consistent examples matter more than sheer volume.
Is fine-tuning better than RAG for my own documents?
For documents that change, RAG is usually simpler: it reads your files at question time and updates when you swap them. Fine-tuning is the better tool for teaching a style, format or task. Unsloth argues fine-tuning can also learn knowledge, but warns that just dumping data in won't work as well.

You can fine-tune on the GPU you already own: QLoRA fits an 8B model in 6 GB and the power costs cents an hour. Size your card in the VRAM calculator, and if the model is too big for it, compare live cloud GPU prices before you rent. If you'll train often, renting vs buying a GPU shows where owning the card pays off.

Found this useful? Share it

Share
Share on X

Sources

What this guide was researched from. How we check facts and compute numbers: methodology.

Founder & chief editor

Ari Vale

Founder and chief editor of Aliteq (a PC hardware shop from 2019, now a US-based publication). Ari Vale is my pen name: I stay anonymous, the work doesn't. I research the questions people actually ask, check every price and limit against the vendor's own pages, and write down what I'd choose and why. I use the cloud-GPU and AI-video services I write about.

Work out the hardware

GPUs in this article

Specs, the AI models each one runs, and where to buy or rent it.

Email list

The Aliteq brief

The few things in AI tools, GPUs and gaming hardware worth your inbox. Rare, short, and only when it matters.

Written and sent by hand. One-click unsubscribe in every email. Emails may contain referral links.

Keep reading

Thumbnail: Fine-tune an LLM, rent the smallest card that fits. QLoRA needs 6 GB for 8B and 41 GB for 70B. A card reads RTX 4090, Vast median, $0.47/hr, read Nov 3, 2026, with the Vast.ai and Runpod wordmarks.
AI Hardware

Which cloud GPU should you rent to fine-tune an LLM, and what does a run cost?

Pick the card by the VRAM your fine-tune needs, not by the biggest name. On Nov 29, 2026 a 24GB RTX 4090 rented for a typical $0.47/hr on Vast.ai (from $0.30) against Runpod's $0.89 list price, enough for QLoRA up to about 14B, and at torchtune's official speed an 8B QLoRA costs about 5 cents per million training tokens on a typical Vast 4090. A 70B QLoRA needs an 80GB A100, typical $1.16/hr on Vast. Here is the card for each job and the math for a run.

Ari Vale · · 11 min