How It Works

Fine-Tuning vs RAG: When to Use Each

Two ways to make AI know your business. One teaches it new habits. The other gives it a library to look things up. Here's how to choose.

9 min read June 2026 Token by Token

The fork in the road

At some point, everyone who builds with AI faces the same question: "I've got a general-purpose model. How do I make it know about my stuff?" The answer is not "just ask it nicely." General models know the internet. They don't know your invoices, your precedents, your tone, or your trade-specific quirks. There are two main roads from here, and choosing the wrong one will cost you weeks and a fair chunk of money.

The two roads are RAG (Retrieval-Augmented Generation) and fine-tuning. Most of the articles on this site are about RAG, because for most small businesses, it's the right answer. But fine-tuning has its place, and understanding when each makes sense will save you from building the wrong thing. This article is that decision tree.

"AI is not magic. It's a very fast, very patient, very literal assistant that has read most of the internet and can pattern-match against what you give it. The trick is knowing whether to give it a library or teach it a habit."

— The working definition I use with clients

What RAG is (quick recap)

RAG is the open-book-exam approach. You don't try to cram all your knowledge into the AI's head. Instead, you keep your documents in a searchable database (a vector database), and every time someone asks a question, the AI looks up the most relevant chunks first. Then it answers based on what it found.

Imagine you hire a brilliant temp who's never worked in your industry. Instead of expecting them to memorise your whole filing cabinet, you hand them the relevant folders when a question comes up. That's RAG. The AI's general intelligence handles language and reasoning; your documents provide the facts.

RAG is what powers the "talk to your documents" systems I've written about elsewhere. It's also what makes those systems hallucinate less — because the AI is grounded in your actual text, not guessing from training data.

What fine-tuning actually means

Fine-tuning is the apprenticeship approach. You take a general model and train it further on your own data — thousands or millions of examples of how you want it to behave, speak, or reason. The model's weights (its internal parameters) actually change. It learns patterns.

Think of it like hiring that same brilliant temp and putting them through a six-week intensive course on your business. Not just giving them documents — teaching them the style, the judgment, the edge cases. After enough training, they might write a client email in your voice without looking anything up. They might classify enquiries correctly because they've seen ten thousand examples. They might predict which leads are hot based on subtle patterns they've internalised.

The key difference: fine-tuning changes the model itself. RAG leaves the model alone and gives it context at question time.

A simple analogy

  • RAG is like giving someone a library card and a good reading comprehension skill. They look things up as needed.
  • Fine-tuning is like sending someone to trade school. They internalise patterns and can perform without reference — but only on what they were trained on.

Head-to-head comparison

Factor RAG Fine-Tuning
What changes The documents you search, not the model The model's internal weights
Data needed Your documents (any amount) Thousands of curated examples
Setup time Hours to days Days to weeks
Cost to run $50–$300/month for most small business use $500–$5,000+ in compute, plus ongoing API costs
Updating knowledge Add or replace documents instantly Retrain the model (hours to days)
Accuracy on facts High (grounded in source documents) Variable (relies on memorised patterns)
Tone and style Can mimic via prompts and examples Can deeply internalise your voice
Complex reasoning Limited to what the documents contain Can learn judgment and classification
Hallucination risk Lower (citations to real text) Higher (model may confidently invent)
Technical skill needed Moderate (can use existing tools) High (ML pipelines, evaluation, tuning)

When RAG is the right choice

For the vast majority of small businesses and professional practices I work with, RAG is the answer. Here's when it wins:

Your knowledge changes frequently

If you're a mortgage broker, your product rates change weekly. If you're a tradesperson, your job sheets and supplier prices update constantly. If you're an accountant, tax rules shift every budget. RAG lets you swap documents in minutes. Fine-tuning would require retraining every time something moved — impractical and expensive.

You need citations and traceability

When a client asks "where did that figure come from?" RAG can point to the exact paragraph. Fine-tuning can't. The model has internalised the pattern; it doesn't remember the source. For compliance-heavy industries — finance, legal, healthcare, construction — traceability matters.

Your documents are your product

A consultant whose value is in their methodology documents. A lawyer with precedents. An engineer with specifications. In these cases, the documents are the business. RAG makes them queryable without trying to compress them into a model.

You don't have thousands of training examples

Fine-tuning needs data. Not just any data — carefully labelled, high-quality examples of input-output pairs. If you haven't been systematically recording "here's what the client asked, here's the perfect response" for months, you probably don't have enough material to fine-tune well.

Real-world example

An accounting firm I worked with wanted an AI that could answer staff questions about internal procedures: "How do we handle a client who hasn't lodged BAS in eighteen months?" Their procedures manual was 340 pages. RAG indexed it in an afternoon. Staff now get accurate, cited answers in under ten seconds. Total cost: about $120/month in hosting. Total training data needed for fine-tuning: they would have needed to manually write out thousands of question-answer pairs — months of work they didn't have.

When fine-tuning makes sense

That said, there are situations where fine-tuning is genuinely the better tool. They're narrower than the marketing suggests, but real.

You need a specific style or voice, deeply

A creative agency wants an AI that writes briefs in their founder's exact voice — not just mimicking it via a prompt, but genuinely embodying the cadence, the vocabulary, the decision logic. With enough examples, fine-tuning can capture subtleties that prompt engineering and RAG can't reach. It's the difference between doing an impression and actually being the person.

You have a classification or routing task

Sorting incoming emails into categories. Flagging high-risk transactions. Predicting which leads are worth calling first. These are judgment tasks where the pattern matters more than the facts. A fine-tuned model can learn to recognise "this smells like a tire-kicker" from thousands of examples in a way that RAG struggles to replicate — because RAG needs a document that says "tire-kickers exhibit traits X, Y, Z," and real expertise is often tacit.

You need speed at scale

At very high volumes, RAG adds latency: every query involves a vector search, retrieval, and then generation. A fine-tuned model that has internalised the knowledge can respond faster because it doesn't need to look anything up. For systems handling thousands of requests per minute, that latency matters.

You want to reduce token costs

RAG works by stuffing relevant document chunks into the prompt. If your answers require referencing a lot of text, those chunks eat up tokens and cost money. A fine-tuned model that has compressed the knowledge into its weights can answer with shorter prompts, which means lower per-query costs at scale.

Real-world example

A national property management company receives 4,000 tenant enquiries a week: maintenance requests, lease questions, complaints, referrals. They had two years of classified emails — which staff member handled what, how it was resolved, whether it escalated. We fine-tuned a model on 12,000 labelled examples. The result: an AI that could classify and draft initial responses with 94% accuracy, routing complex issues to humans and handling routine ones automatically. RAG couldn't have done this; there was no single document that captured the nuanced classification rules staff had developed over years.

Using both together

Here's the part most articles skip: you don't have to choose. The most powerful systems I've built use both.

A fine-tuned model gives you the style, judgment, and internalised patterns. RAG gives you the facts, the citations, and the ability to update knowledge without retraining. Combine them, and you get a system that reasons in your voice and checks the facts before speaking.

The typical architecture looks like this:

This is how most production-grade AI knowledge systems actually work. The fine-tuning handles the "how to answer" and the RAG handles the "what to know."

What each actually costs

Let's talk numbers, because the cost gap is significant.

RAG costs

Total ongoing for a small business: $50–$300/month.

Fine-tuning costs

Total for a first fine-tuning project: $3,000–$15,000. Ongoing: higher per-query costs plus periodic retraining.

The honest takeaway: fine-tuning is a power tool. It solves specific problems beautifully and expensively. RAG is the screwdriver — not glamorous, but right for 80% of jobs.

Where each approach falls over

No approach is perfect. Here's where I've seen each one fail in real businesses.

Where RAG fails

Where fine-tuning fails

"The demo is the easy part. The hard part is making it survive contact with real people, real data, and real deadlines for six months without breaking someone's trust."

What it actually takes to build

Whichever path you choose, here's the reality of getting it into production.

Building RAG

  1. Clean your documents. OCR errors, scanned PDFs with broken text, and inconsistent formatting will poison your results.
  2. Choose chunking strategy. By paragraph? By page? By semantic unit? The wrong choice ruins accuracy.
  3. Pick embeddings and a vector store. Test retrieval quality on real questions before you commit.
  4. Build the prompt template. How you format retrieved chunks into the prompt matters enormously.
  5. Add evaluation. A set of 20–50 real questions with known-good answers. Test every change against it.
  6. Handle edge cases. What happens when nothing relevant is found? When documents contradict? When the question is ambiguous?

Time to something useful: 1–2 weeks for a keen builder, 2–4 weeks for a professional build with proper testing.

Building fine-tuning

  1. Gather and label data. This is usually 60% of the project. Every example needs input, expected output, and ideally a rationale.
  2. Split into train/validation/test sets. Classic ML discipline. Don't evaluate on your training data.
  3. Choose base model and method. Full fine-tuning? LoRA? QLoRA? Each has trade-offs in quality, cost, and complexity.
  4. Train, evaluate, iterate. Watch for overfitting, catastrophic forgetting, and poor generalisation.
  5. Deploy with monitoring. Track real-world performance. Fine-tuned models drift in surprising ways.

Time to something useful: 4–10 weeks for a first project, longer if your data needs cleaning.

How to decide

If you're reading this wondering which path to take, here's my practical decision tree:

📚

Start with RAG if...

Your knowledge lives in documents that change. You need citations. You don't have thousands of labelled examples. You want something working this month, not next quarter.

🎓

Consider fine-tuning if...

You need a very specific voice or style. You're doing classification or routing with lots of historical data. You need speed at scale and can afford the compute. You're willing to invest months.

If you're still unsure, try this: build a RAG system first. It's faster, cheaper, and will teach you what your data actually looks like when queried. Often, RAG gets you 85% of the way there, and the remaining 15% isn't worth the fine-tuning price tag. If RAG genuinely can't deliver what you need — if the style is wrong, if the judgment is missing, if the classification fails — then you have the evidence to justify fine-tuning, and you'll know exactly what to train on.

Building an AI system and not sure which path to take?

I've built RAG systems for mortgage brokers, fine-tuned models for property managers, and combined both for professional services firms. If you're stuck deciding — or you've started down one path and hit a wall — get in touch for a straightforward read on what makes sense for your situation.

Whatever you choose, the important thing is to start with a real problem, measure whether it's working, and be honest about the gaps. The technology is good enough now that either approach can deliver real value. The failure mode isn't choosing RAG over fine-tuning or vice versa. It's choosing neither, and spending another year on admin that should have been automated.