Use retrieval when the answer lives in your documents. Use fine-tuning when the model already knows enough but must behave differently. If you can only do one first, do retrieval — it is cheaper, faster to ship and far easier to audit.
The short answer
Use retrieval-augmented generation (RAG) when the answer must come from your documents, databases or tickets. Use fine-tuning when the model already knows enough but must behave differently — a fixed output format, a domain vocabulary, a consistent tone. If you must pick one to start, pick RAG: it is cheaper, faster to ship and far easier to audit.
What each approach actually changes
Retrieval (RAG)
Fine-tuning
What it adds
Facts and passages from your own corpus, supplied at answer time.
It is auditable. Regulated teams need to know which document supported an answer. Retrieval gives that for free; fine-tuning cannot.
It fails safely. If retrieval returns nothing relevant, the system can say so. A fine-tuned model with no source will confidently produce a plausible answer.
It respects access control. Permissions can be applied at retrieval time, so a user only ever retrieves documents they are entitled to see.
It ships sooner. A working pilot over a real document set is usually weeks of work, not quarters.
The knowledge is already reliably retrieved, but answers vary in format or tone and reviewers keep sending them back.
The task is narrow and repetitive at high volume — classification, extraction into a fixed schema, structured summarisation — where a smaller tuned model cuts latency and cost.
Domain vocabulary is unusual enough that base models paraphrase it wrongly, and prompt-level instructions have plateaued.
You need a smaller model on-premise for data-residency reasons and must raise its quality to the level the task requires.
The decision rule we use
Is the answer in your documents?→Yes → RAG first→Measure residual errors→Behavioural? → fine-tune→Keep both, model behind an interface
In practice most enterprise systems end up hybrid: retrieval supplies the facts, a tuned (or simply well-prompted) model supplies the output contract. The architecture keeps the model layer replaceable so a provider or price change never becomes a rewrite.
What to measure before you commit
Correctness — does the answer match the source, and is the source the right one?
Groundedness — is every claim in the answer supported by a retrieved passage?
Refusal quality — when there is no answer, does the system say so instead of inventing one?
Latency and cost per answer — measured on your volume, not a vendor benchmark.
We build this evaluation set from your team's real questions during discovery, then re-run it on every change. See also the pharma compliance RAG case study, where drug-approval search fell from days to under three seconds.
Frequently asked questions
Start with RAG in almost every case. It is cheaper, faster to ship, easier to audit, and it updates the moment your documents change. Fine-tuning becomes worth doing when the model already has the right knowledge but is not consistent in tone, format or domain language.
Not reliably. Fine-tuning shapes behaviour — style, structure, domain vocabulary, instruction-following — but factual recall on a narrow corpus remains weak and hard to verify. If the requirement is accurate answers about specific documents, retrieval is the correct mechanism.
Yes, and that combination is common in mature systems: retrieval supplies the facts, a fine-tuned model supplies the format and tone. We only add the fine-tuning step once retrieval is demonstrably working and the residual problem is behavioural rather than factual.
RAG adds infrastructure cost (vector store, embedding, retrieval calls) but keeps model calls small. Fine-tuning adds a one-time training cost plus ongoing hosting of the tuned model, and it must be repeated whenever base models change. For most enterprise corpora, retrieval dominates on total cost of ownership.
With an evaluation set built from real questions your team asks, scored for correctness, groundedness (is the claim supported by the cited source) and completeness. We run it before and after every change, so a prompt or model change cannot silently degrade accuracy.