RAG, fine-tuning or prompting: how to choose

Sorting the requirement into knowledge, behaviour and cost, so the decision survives a finance review.

The choice between retrieval, fine-tuning and prompting is a sorting problem rather than a technology preference. Retrieval is for knowledge that has to be current, attributable or permission-bound. Fine-tuning is for behaviour, format and cost: getting a narrower or cheaper model to do a specific job reliably and consistently. Prompting is for everything else, and it is where you start and where you stop as soon as it is good enough. The expensive mistake is using fine-tuning to inject facts, which is the thing it is worst at: a controlled comparison found retrieval consistently outperformed unsupervised fine-tuning for knowledge injection, both for knowledge seen during training and for knowledge that was entirely new.

Theme
How it is built
Read time
16 minutes
Questions answered
18 in full
Updated
Evidence basisOur approach, not a case study
Usually engaged as
Agentic Proof of Concept. 2–4 weeks, Fixed price · £20k–£55k.
see the engagement →
Evidence basis

This is our approach, not a programme we have already run.

This is a decision framework rather than a delivery write-up, and the boundary matters. We have built prompting and retrieval systems on client engagements, including the document pipeline and semantic layer delivered on a live insurance engagement. We have not fine-tuned or trained a model for a client. The comparison this guide leans on is other people's published research, cited below. Where the right answer to your question is a specialist model team rather than us, we will say so on the call.

On this page

The demand signal

The comparison has been run properly and the result is unfashionable. A controlled study of knowledge injection reported that retrieval consistently outperformed unsupervised fine-tuning, both for knowledge the model had seen in training and for knowledge that was entirely new, and that models struggle to learn new factual information through unsupervised fine-tuning at all. Separately, work on long inputs found that a model's use of its context degrades significantly when the relevant passage sits in the middle of it, which is the quiet limit on the assumption that a large enough context window makes the question disappear. Neither finding is obscure, and neither tends to reach the meeting where the decision is made.

Why it stalls

5 failure modes we keep meeting

The question is asked as a technology choice when it is a knowledge-freshness question

Whoever read the most recent article proposes the approach, and the discussion becomes a preference argument nobody can settle with evidence. The question that actually decides it is duller: how often does the correct answer change, does it differ by who is asking, and does anyone have to be able to see where it came from. Answer those three and the architecture is largely determined before anyone has named a technique.

Fine-tuning is chosen to teach facts, which is what it is worst at

The intuition is that a model trained on your documents will know your business, and the published comparison says otherwise: retrieval outperformed unsupervised fine-tuning for knowledge injection across the board, and models struggled to learn new factual information that way at all. The cost of learning this yourself is a training run, an evaluation, and a quarter. It is the most common expensive mistake in this decision and it is entirely avoidable by reading one paper.

Nobody costed the second training run, or the fifth

Fine-tuning is not a project with an end, it is a standing obligation: curating and maintaining the training data, retraining when the base model is deprecated, re-running the evaluation each time, and holding a version history you can explain to whoever asks how a particular decision was reached. Programmes that costed the first run and not the lifecycle discover the difference when a provider retires the base model on a timetable that is not theirs.

Prompting is dismissed as unserious and then quietly does most of the work

Careful prompting with a good retrieval design covers a surprising share of enterprise use cases, and it is dismissed because it does not sound like engineering. The consequence is that nobody establishes the prompting baseline, so no later comparison has anything to be measured against, and the more expensive option cannot be shown to be worth its cost even when it is.

Nobody wrote down what would make them change their mind

A decision taken with no stated trigger for revisiting it becomes an identity, and defending it becomes somebody's job. Write down the conditions that would flip the choice, the measurement that would detect them, and the date the decision gets re-examined, at the moment it is taken. In a field where the base models change quarterly, a decision with no expiry is a decision you will be living with long after its reasoning expired.

How we approach it

7 moves, in order

  1. 01

    Sort the requirement into knowledge, behaviour, format and cost

    Four buckets, and most requirements split across them rather than sitting in one. Knowledge is what the system needs to know that the model does not: retrieval. Behaviour is how it should reason, in what style, following which house conventions: prompting first, fine-tuning if prompting cannot hold it. Format is the shape of the output: schemas and structured output before anything else. Cost is whether a smaller model can be made to do the narrow job: the one place fine-tuning has a clear economic argument. Doing this sort in a room with the business owner takes an afternoon and prevents a quarter of drift.

  2. 02

    Establish the prompting baseline first, and make everything answer to it

    Before any architecture, run the evaluation set against a strong model with careful prompting and no other machinery, and record the number. That baseline is the thing every later option has to beat by enough to justify its cost and its lifecycle. Without it, teams compare a new approach against an impression, and an impression always loses to something that was built with more effort.

  3. 03

    Use retrieval where the answer must be current, attributable or permission-bound

    Three tests, and any one of them points at retrieval. If the correct answer changes on a timescale shorter than your retraining cycle, it must be retrieved. If a reader has to be able to open the source, it must be retrieved. If two people asking the same question should get different answers because they are entitled to see different things, it must be retrieved, because a model's parameters cannot be permission-checked.

  4. 04

    Reserve fine-tuning for form and cost, and say exactly what it buys

    Legitimate reasons to fine-tune: a consistent output shape prompting cannot hold reliably, a house style or tone, a narrow classification task with plentiful labelled examples, or the same job done acceptably by a smaller and cheaper model at volume. Each of those is measurable before and after. If the case for a fine-tune is that the model will know more about the company, the case is wrong and the research says so.

  5. 05

    Keep one evaluation set across every option

    The same cases, the same scoring, the same thresholds, whichever approach is being tested. Teams that build a new evaluation for each candidate are comparing three systems on three different exams and then choosing a winner. The evaluation set is also the asset that outlives the decision: it survives model upgrades, supplier changes and the approach itself.

  6. 06

    Cost the whole life, not the experiment

    For each option: the build, the per-run inference, retrieval and index refresh where it applies, training and retraining where it applies, human review of exceptions, monitoring, and a full re-evaluation on every model upgrade. Our audits produce an estimated run cost per candidate workflow before anything is committed, because this is the number that decides between designs and it is almost always the one missing from the comparison.

  7. 07

    Write the decision down with the conditions that would reverse it

    One page: what was chosen, what it was measured against, what it costs to run, what would change the answer, and when it gets re-examined. That page is what stops the same argument being had every quarter by different people, and it is what lets a new engineer understand why the system is shaped as it is without inferring it from the code.

Knowledge is what the system needs to know that the model does not: retrieval.

Where the model provider genuinely matters here

This is one of the places where provider choice is not cosmetic. Whether fine-tuning is offered at all, on which models, at what price, with what hosting and residency position, and how long a fine-tuned model stays supported once the base model moves on, differ substantially and change the arithmetic rather than the aesthetics. So does cost per token, which decides whether a retrieval design that passes a large context is affordable at your volume. We would test a shortlist against your own data rather than against a public benchmark, and we would get the deprecation and support position in writing before anyone commits to a fine-tune.

Ask a technical questionanswers from all 13 guides
Ask anything technical about RAG, fine-tuning or prompting: how to choose and I will answer from this guide, and tell you first whether this is work we have delivered or an approach we would be taking.

Prefer to talk it through? Ask us on a discovery call →

engage via

Talk to us about RAG, fine-tuning or prompting: how to choose.

A 30-minute call with James Rooney. We'll tell you honestly which parts of this we have done before and which we would be doing for the first time, and you'll leave with a rough scope either way.

most start with a fixed-price AI Readiness Audit · £44,000 · 4 weeks · working prototypes

// pick a slot · cal.com/tenhaw/professional-servicesLIVE CALENDAR

Calendar not loading? Open it on cal.com or email hello@tenhaw.com.

Questions this guide answers

Do we need to fine-tune or use RAG?

For getting your own knowledge into the system, retrieval. Tenhaw builds these systems as prompting plus retrieval, including the document pipeline and semantic layer delivered for a client in the London specialty insurance market. A controlled comparison of knowledge injection found that retrieval consistently outperformed unsupervised fine-tuning, both for knowledge the model had seen in training and for knowledge that was entirely new, and that models struggle to learn new facts through unsupervised fine-tuning at all. Retrieval also gives you three things fine-tuning cannot: content that is current without retraining, answers that cite a source the reader can open, and access control applied per user at query time. Fine-tuning earns its place for behaviour, format and cost, not for facts.

When is fine-tuning actually the right answer?

Four cases, and they are all about form or money rather than knowledge. When you need an output shape or house style that prompting cannot hold reliably across the long tail. When you have a narrow classification or extraction task with plenty of labelled examples and a stable definition of correct. When volume is high enough that running a smaller, cheaper, fine-tuned model beats a large general one on cost at the same measured quality. And when latency matters enough that a smaller model is the only way to meet the budget. In all four the case is measurable before you commit, and that is the test. If you cannot state the number that would prove it worked, it is not the right answer yet.

Is prompting on its own enough?

More often than the market implies, and you should find out before spending anything else. Careful prompting against a strong model, with structured output and a well-designed retrieval step, covers a large share of enterprise use cases, and it is the only option with no training lifecycle attached. Tenhaw took a London specialty insurance business from PDFs to business intelligence on Azure in a two-week proof of concept, on ground it had circled for roughly a year, with no training run anywhere in it. You establish it first not to save money but because without a baseline you have nothing to measure the expensive options against, so you cannot show they were worth their cost even when they were.

Do million-token context windows make RAG obsolete?

No. Published work on long inputs found performance is highest when the relevant information sits at the beginning or the end of the context and degrades significantly when a model has to use something in the middle, including in models built for long contexts, so a larger window is not the same as reliable attention across it. Cost and latency also scale with what you put in the window, on every call. And a context window solves none of the reasons an enterprise needs retrieval in the first place: permissions per user, freshness without a rebuild, and an answer that cites a source. Retrieval is what keeps the context small, current and defensible.

What does fine-tuning commit us to after the first run?

A lifecycle rather than a deliverable. Training data has to be curated, kept current and governed, because it is now part of how your system behaves. Every base model deprecation forces a retrain on the provider's timetable rather than yours. Every retrain forces a full re-evaluation, so you need the evaluation set anyway. And you carry a version history, because when someone asks why a decision came out as it did in March, the answer involves which model version was live. None of that is a reason not to fine-tune. It is a reason to make sure the case is about form or cost, where the benefit is durable, rather than about facts, where it is not.

How do we choose without running a three-way bake-off?

By sorting the requirement first, which is an afternoon rather than a quarter. Split what you need into knowledge, behaviour, format and cost. Anything in the knowledge bucket that has to be current, attributable or permission-bound is retrieval, and that is settled. Everything else starts at prompting with structured output, because that is the cheapest thing that can work and it establishes the baseline. Only what is left after that, and only where the measured gap is large enough to justify a training lifecycle, is a fine-tuning candidate. A full bake-off is worth running for one decision at most, and usually the sorting has already made it unnecessary.

Can we combine them?

Yes, and most systems that work in production do. A typical shape is careful prompting for the reasoning and the house conventions, retrieval for anything that has to be current or permission-bound, structured output for the shape, and possibly a smaller fine-tuned model handling one high-volume narrow step inside the workflow where the economics justify it. The discipline that makes combining safe is holding the evaluation set constant across every configuration, so you can attribute a change in the score to the thing you changed rather than to the general direction of travel.

Do we need to fine-tune to get consistent JSON output?

Almost never, and the cheaper route is worth exhausting first. Output shape belongs in the format bucket, where schemas and structured output come before anything else, because they are the direct way to make a model return the fields you asked for and they cost you an afternoon rather than a training lifecycle. Fine-tuning becomes reasonable only when careful prompting and a schema still cannot hold the shape reliably across the long tail, and that is a measurable claim rather than an impression. Run your evaluation set against the prompted version first and record the number. If a fine-tune then closes the gap, you can show exactly what it bought and what it commits you to afterwards.

Is RAG cheaper than fine-tuning?

Over the life of the system usually yes, though they spend money in different places, so compare lifecycles rather than build quotes. Retrieval spends its money in the running, on per-run inference and retrieval plus the index refresh that keeps content current. Fine-tuning looks like a one-off and is not. You curate and maintain the training data, retrain when the base model is deprecated, and re-run the full evaluation every time. Prompting is cheaper than both, which is why the prompting baseline is worth establishing before either gets funded. Tenhaw publishes the method behind that lifecycle comparison in full, free to adopt without hiring anyone.

What should we ask a model provider before fine-tuning?

Four things, and get the last one in writing. Tenhaw runs that comparison against a client's own data rather than against a public benchmark, and treats the support commitment as part of the price. Whether fine-tuning is offered at all, on which models and at what price, because that differs substantially between providers. Where a fine-tuned model is hosted and what the data residency position is. What cost per token looks like at your volume, since that decides whether a retrieval design passing a large context is affordable anyway. And how long a fine-tuned model stays supported, because once the base model is retired the retrain happens on the provider's timetable, not yours.

Can a readiness audit settle whether we need RAG or fine-tuning?

It can, and the part it settles is the cost. A Tenhaw audit ends in working prototypes and an estimated run cost per candidate workflow before anything is committed. That number is what decides between designs, and it is almost always the one missing when a team argues retrieval against fine-tuning. The audit also forces the sorting into knowledge, behaviour, format and cost, with the business owner in the room rather than only the engineers. That sort takes an afternoon and the method behind it is published free to copy, so run it yourself first. Buy the audit when the decision has to survive a finance review.

We fine-tuned a model and it still gets facts wrong. Why?

Most likely because it was asked to do the one thing it is worst at. The repair is retrieval work of the kind Tenhaw did on a live engagement for a client in the London specialty insurance market, scoring each extracted value's confidence from its source provenance, model certainty and a search cross-check, none of which a fine-tune can give you. A controlled comparison of knowledge injection found retrieval consistently outperformed unsupervised fine-tuning, for knowledge seen in training and for knowledge that was entirely new. Training on your documents does not reliably put those facts inside the model, and it gives you no citation and no per-user permission check either. Keep the fine-tune, if it is worth keeping, for output shape, house style or cost at volume.

A supplier wants to fine-tune on our documents. Is that a red flag?

Not on its own, but three questions will tell you what it is worth. What is the prompting baseline, measured on your own evaluation set, that this is meant to beat, and by how much? If nobody has run one, the comparison is against an impression. Is the case about knowledge, or about form and cost, given that a controlled comparison found retrieval consistently outperformed unsupervised fine-tuning for knowledge injection? And how often does the correct answer change, because anything moving faster than your retraining cycle has to be retrieved rather than trained in. Tenhaw builds prompting and retrieval systems, and where the honest answer is a specialist model team we will point you at one.

How do we run a prompting baseline, and how long does it take?

A few days, and it is the highest-value few days in the whole decision. You need an evaluation set of real cases with agreed scoring, then you run them against a strong model with careful prompting and no other machinery, and you write the result down. That number is what every later option has to beat by enough to justify its cost and its lifecycle. Tenhaw pairs on this rather than running it offstage, which is why, on a two-week proof of concept for a London specialty insurance business, the client's own engineer finished 70% confident they could run the process unaided. You also come out of it owning the evaluation set, which is the durable asset in the whole exercise.

Who should be in the room for a RAG versus fine-tuning decision?

The business owner above all, and whoever can answer for the budget. The sort is not really technical. You are splitting the requirement into knowledge, behaviour, format and cost, and the questions that settle it are how often the correct answer changes, whether it differs depending on who is asking, and whether anyone has to be able to see where an answer came from. Only the business side can answer those, which is why an engineering-only room turns the decision into a preference argument nobody can settle with evidence. Done together it takes an afternoon and prevents a quarter of drift, because the architecture is largely determined once those three answers are on the table.

Does being in a regulated industry change the RAG or fine-tuning answer?

It sharpens it rather than changing it, and it usually pushes further towards retrieval. Tenhaw's live engagement in the London specialty insurance market is retrieval and semantic-layer work, not a fine-tune. Two of the three tests that point at retrieval are regulatory. If a reader has to be able to open the source behind an answer it has to be retrieved, and if two people asking the same question are entitled to see different things it has to be retrieved, because a model's parameters cannot be permission-checked. Fine-tuning also brings an evidence obligation, because you carry a version history for the day someone asks why a decision came out as it did in March, and the answer involves which model version was live.

If we change model provider later, does any of this work carry over?

The evaluation set carries over, and it is the most durable thing you will build. Held constant across every option rather than rebuilt per candidate, an evaluation set survives model upgrades, supplier changes and the approach itself. Prompts and retrieval design are your work product rather than the provider's, though you re-run the full evaluation on any model change regardless. A fine-tune is the piece that does not travel. When the base model is retired you retrain on the provider's timetable, which is why the support position is worth getting in writing first. Tenhaw writes engagements the same way, with the client owning all work product and the exit date agreed at kickoff.

How long does a RAG or fine-tuning decision stay valid?

Only as long as the conditions it was taken under, which is why you write those down at the time. One page: what was chosen, what it was measured against, what it costs to run, what would change the answer, and the date it gets re-examined. In a field where the base models change quarterly, a decision with no expiry is one you will be living with long after its reasoning expired, and with no stated trigger for revisiting it, it becomes an identity somebody has to defend. That page is also what lets a new engineer see why the system is shaped as it is without inferring it from the code.