Logbook · Explainer

RAG vs fine-tuning: which does your business actually need?

These get framed as competing options. They are not — they solve different problems, and the one most businesses ask for is usually not the one they need. A decision guide, with the honest answer that neither is often the fix.

Muhammad Hammad · 31 Aug 2026 · 7 min read

Short answer

RAG changes what the model knows; fine-tuning changes how it behaves. If the complaint is that the model does not know things about your business, it is RAG and was never a choice. Fine-tuning is for format, tone and narrow tasks — and most disappointing results are retrieval quality, not the model.

This question usually arrives already framed as a choice between two options, and often with a preference attached — fine-tuning sounds more serious, more bespoke, more like real engineering. It is worth resetting the framing, because they are not alternatives to each other:

RAG changes what the model knows. Fine-tuning changes how the model behaves.

Once you see it that way, most cases answer themselves.

What each one actually is

Retrieval-augmented generation adds a step before the model answers. The question comes in, the system searches your own content, pulls the most relevant passages, and hands them to the model along with the question. The model is not remembering your refund policy; it is reading it, just now. Change the document and the next answer changes with it — and the answer can cite which document it came from.

Fine-tuning adjusts the model's weights by training it on examples of input and desired output. You are not giving it facts to look up; you are shifting its default behaviour, so it formats things your way, adopts a tone, or handles a narrow classification task the way your examples do.

RAGFine-tuning
TeachesKnowledge — what is true in your businessBehaviour — format, tone, task
Updating itEdit the document; effective immediatelyRetrain on new examples
Can cite sourcesYesNo
NeedsDocuments worth retrievingHundreds to thousands of good examples
Cost shapeOngoing retrieval and longer promptsTraining cost up front, cheaper prompts after
Fails byRetrieving the wrong passageConfidently stating stale facts

The decision, in one pass

Ask what is actually wrong with the default model's output:

The answer nobody wants: it is probably your retrieval

When a document-grounded assistant disappoints, the model is rarely the culprit. The retrieval step is. Common causes, in the order we tend to find them:

That last one is worth sitting with. A retrieval system is a mirror held up to your documentation, and it frequently reveals that the documentation was the problem all along.

Do this before either

Build an evaluation set: fifty to a hundred real questions with known-good answers, from people who actually ask them. Run it on every change.

Without one, "is it better now?" is a matter of opinion, and every change becomes an argument. With one, it is a number. This is the single largest predictor we see of whether an AI project succeeds — not the model, not the technique, but whether anyone can tell the difference between a good version and a bad one. It is why we agree a metric before starting AI feature work at all.

Where agents come into it

Both techniques are about producing better answers. If what you actually need is for something to be done — a ticket triaged, a record updated — that is a different architecture with different hard parts, and we covered the distinction in agents versus chatbots. Retrieval quality still matters there; it just stops being the whole problem.

The short version: RAG for knowledge, fine-tuning for behaviour. If the complaint is "it doesn't know our stuff," it is RAG and it was never a choice. If quality is disappointing, suspect chunking, hybrid search and reranking long before you suspect the model — and build an evaluation set first, so you can tell whether anything you change actually helped.
Not sure which one your problem is?

Book a free 30-minute discovery call. We build AI features on Claude and other frontier models, with a real evaluation set — and we will tell you when the honest answer is "fix the documentation first."

Book a free discovery call