Teams building their first serious LLM feature almost always ask the same question: should we use retrieval-augmented generation (RAG) or fine-tune a model? The framing is a bit of a trap, because they solve different problems. Here is how to decide without the hype.

RAG is for knowledge. Fine-tuning is for behaviour.

Use RAG when the model needs to know things it was not trained on: your documentation, your tickets, your product data, anything that changes or is private. You retrieve the relevant facts at query time and give them to the model as context.

Use fine-tuning when the model needs to behave a certain way consistently: a specific format, tone, or classification task it keeps getting slightly wrong. Fine-tuning shapes how the model responds, not what it knows.

Start with RAG. Most problems are knowledge problems.

In practice, the majority of business AI problems are about grounding answers in your own data, which is a retrieval problem. RAG is also faster to iterate on, cheaper to run, and easier to keep current: when your data changes, you re-index, you do not re-train.

Critically, RAG makes answers traceable. You can show which source a fact came from, which is often the difference between a feature people trust and one they quietly stop using.

When fine-tuning earns its keep

  • You need a consistent output format or style that prompting alone cannot hold.
  • You have a narrow, repetitive task where a small fine-tuned model beats a large general one on cost and latency.
  • You have high-quality labelled examples, fine-tuning is only as good as the data you feed it.

The honest answer is often: neither, yet.

Before either, a surprising amount of value comes from good prompting, sensible guardrails, and an evaluation harness so you can actually measure quality. We frequently ship a strong first version on retrieval plus prompting alone, then reach for fine-tuning only where the numbers say it helps.

Whatever you choose, the non-negotiable is evaluation. Without a way to measure whether a change made things better, you are not engineering, you are guessing.