Jump to a section
If you are building anything on top of an AI model, you will hit the same wall everyone hits: the model almost does what you want, but not quite. It answers questions well in general but does not know your company's docs. It writes in a decent voice but not your voice. It handles most cases but fumbles the specific format you need. So you go looking for how to fix it, and you run straight into three intimidating terms: prompting, RAG, and fine-tuning. The internet will happily tell you fine-tuning is the serious, professional answer.
It usually is not, at least not first. Most builders reach for the most complex and expensive option when a much cheaper one would have done the job, and they burn time and money they cannot spare at an early stage. This guide explains all three in plain terms, tells you when each is actually worth it, and makes the case that you should almost always start with prompting and retrieval and treat fine-tuning as a later step you may never need.
Where does the money actually come from?
Your margin on an AI product is what you charge minus what it costs you to serve. The AI approach you choose sits directly on the cost side of that equation, and picking the heavy option too early is one of the fastest ways to destroy your margin and your speed before you even have customers.
An AI product needs to behave a certain way
|
v
You pick an approach to make it behave
|
v
Cheap approach (prompt / retrieval) Expensive approach (fine-tune)
fast to ship, cheap to change slow, costly, hard to maintain
| |
v v
Low cost + fast iteration High cost + slow iteration
| |
v v
Healthy margin, quick learning Burned money and time you did not have
The mechanism is simple. Every hour you spend building a fine-tuning pipeline is an hour you did not spend getting customers, and every dollar of extra cost is a dollar off your margin. Early on, before you even know exactly what the product needs to do, that spend is often wasted, because the requirement changes and the expensive work has to be redone. The cheap approaches let you change your mind for free. Choosing the lightest tool that meets the need is not cutting corners. It is protecting the two things a young product cannot spare, which are money and time. For how these costs flow into what you can charge, price an AI product with usage costs is the companion piece.
How it actually works
Take the three in order, because that order is also the order you should try them.
Prompting is you writing instructions. Modern models follow detailed instructions remarkably well. You can give the model a persona, a set of rules, a format to output, and a few examples of good answers, all inside the prompt. Want it to answer in your brand voice? Describe the voice and show two examples. Want a specific output format? Specify it and show one. Want it to refuse certain requests? Tell it to. People are consistently surprised how many "we need to fine-tune" problems disappear once someone writes a genuinely good prompt with examples in it. This is the free lever, and you should exhaust it first.
Retrieval solves a different problem: the model does not know things it was never trained on, like your internal documents, your product catalog, or anything that changed after its training cutoff. Instead of trying to cram that knowledge into the model, you store your information somewhere searchable, and when a question comes in, you find the relevant pieces and paste them into the prompt alongside the question. The model then answers using material it can see right in front of it. This is how a support bot answers from your actual help docs, or a tool answers questions about a specific document. Nothing about the model changes; you are just feeding it the right context at the right moment. When the complaint is "it does not know my stuff" or "its information is out of date," retrieval is the answer, not fine-tuning.
Fine-tuning is the heavy one. You take a base model and train it further on a large set of your own examples until its internal weights shift toward your desired behavior. This can bake in a very specific style, a specialized format, or a narrow task the model struggles with even when prompted well. But it is expensive to do, requires a real dataset of quality examples, has to be redone when the base model updates or your needs change, and adds ongoing maintenance. It also does not add knowledge reliably the way retrieval does; it shapes behavior. Because of all that, it earns its place only when prompting and retrieval have genuinely failed to get you there, and you have the volume to justify the investment.
A clearly hypothetical example
Let me make the tradeoff concrete with an invented product. These numbers are hypothetical and only there to show the shape of the decision. Your real costs and timelines will differ.
Say you are building a support assistant for a software tool. The model needs to answer in a friendly, on-brand voice and answer accurately from your help documentation.
The fine-tuning-first path: you decide you need a custom model. You spend three weeks assembling training examples, run training, wrestle with the results, and end up with a model that sounds right but still gives outdated answers whenever your docs change, because the knowledge was frozen at training time. Every doc update now means retraining. You have spent weeks and real money and created a maintenance burden, and the core problem of staying current is worse, not better.
The cheap-first path: you spend an afternoon writing a strong prompt that defines the voice and shows two example answers. That solves the tone completely. Then you set up retrieval so the assistant pulls the relevant help article into context at question time. Now it answers accurately, and when you update a doc, the assistant is instantly current because it reads the live document. Total time is a few days, cost is low, and changing the voice later is a five-minute prompt edit.
Same product, wildly different cost and speed. The cheap path did not just save money; it produced a better result, because retrieval handled the changing knowledge that fine-tuning would have frozen. This is the usual pattern, not a lucky exception. The complex tool was not the professional choice. It was the expensive wrong turn.
What you need (required vs optional)
Required, for prompting:
- The ability to write clear, specific instructions, and the patience to include real examples of good output. This alone gets most builders most of the way.
- A way to test outputs against real cases so you know when the prompt is good enough.
Required, once you add retrieval:
- A place to store your information and a way to search it, so the right pieces can be pulled at request time.
- Content worth retrieving: accurate, reasonably organized documents or data.
Only relevant if you seriously consider fine-tuning:
- A large, clean dataset of high-quality example inputs and outputs. Not a handful. Many.
- A real, demonstrated reason the cheaper levers cannot get you there.
- Budget for the training cost and the ongoing maintenance when models and needs change.
For most early products, the first two groups are all you touch. If you are building without deep engineering resources, how to build an AI SaaS without coding shows how far the light tools can carry you.
What it costs
Prompting costs essentially nothing beyond your normal per-request usage. You are not paying to train anything. The cost is your time writing and refining instructions, which is cheap and reversible.
Retrieval adds modest infrastructure: somewhere to store and search your content, and a slightly larger prompt at request time because you are including the retrieved material, which nudges up per-request cost. Still small, and very much worth it for the accuracy it buys.
Fine-tuning is where the numbers jump. You pay to prepare data, pay for the training itself, and then keep paying in maintenance every time the base model updates or your requirements shift and the model has to be retrained. There is also the opportunity cost, which is the real killer for a young product: the weeks you spend on a training pipeline are weeks you did not spend finding customers or improving the product. Keeping your stack lean matters here, and avoiding a $500 software stack is the same discipline applied to tooling.
How long it takes
Prompting is same-day. You can write, test, and revise a prompt in an afternoon, and change it in minutes forever after.
Retrieval is usually days, not weeks, for a basic working version. Getting it clean and reliable takes some iteration, but you are not blocked for long.
Fine-tuning is the slow one, measured in weeks once you count data preparation, training, evaluation, and the inevitable second attempt. And it is not a one-time cost in the calendar sense: it recurs whenever the underlying model changes. That ongoing drag is the part builders forget when they estimate only the first training run.
What beginners usually get wrong
The biggest mistake is assuming fine-tuning is the serious answer and the cheap options are toys. It is backward. Prompting and retrieval are what most successful AI products actually run on. Fine-tuning is a specialized tool, not a badge of seriousness.
The second mistake is trying to fine-tune knowledge into a model. If the problem is "it does not know my facts" or "its info is stale," fine-tuning is the wrong tool, because it shapes behavior more than it stores reliable, updatable knowledge. Retrieval is the correct answer, and it keeps your information current for free.
The third mistake is not writing a real prompt before giving up on prompting. Many builders try a lazy one-line instruction, watch it underperform, and conclude they need to fine-tune. A detailed prompt with clear rules and a couple of examples often closes the gap entirely. Exhaust the free lever before paying for the expensive one.
The fourth mistake is optimizing the AI before you have a product people want. Spending weeks perfecting model behavior for a product with no customers is effort in the wrong place. Get something working with the cheap levers, put it in front of users, and let real usage tell you whether you ever need more. If you just shipped something and are unsure what to prioritize, so you vibe-coded an app, now what is a grounding read.
How I would start
- Write the best prompt I can: a clear role, explicit rules, the exact output format, and two or three examples of great answers. Test it on real cases.
- Push prompting hard before concluding it is not enough. Most behavior problems are prompt problems in disguise.
- If the real issue is missing or outdated knowledge, add retrieval so the model answers from my actual documents at request time.
- Ship that version to real users and watch where it actually falls short, rather than guessing.
- Only if a specific, repeated failure survives good prompting and retrieval would I even investigate fine-tuning, and I would first confirm I have the data and volume to justify it.
- Keep the whole thing cheap and changeable for as long as possible, because early on my requirements will keep moving.
What I would not do
I would not fine-tune first. I would not fine-tune to add knowledge that retrieval handles better and keeps current. I would not spend weeks on a training pipeline for a product that has not proven anyone wants it. I would not treat "we fine-tuned our own model" as a goal in itself, because it is a cost, not an achievement. And I would not skip writing a genuinely good prompt before declaring that prompting is not enough, because that skipped step is where most of the wasted fine-tuning money comes from.
The honest summary is that prompting and retrieval solve the large majority of what builders need, at a fraction of the cost and time of fine-tuning, and they keep your product fast to change while you are still figuring out what it should do. Fine-tuning is a real tool for a narrow set of problems, and its day may come. But reaching for it first is how builders burn the money and time they cannot afford, chasing a level of control the cheaper levers would have given them for almost nothing. Start light. Earn the right to go heavy by proving you actually need to. For the broader economics of building on top of a model, AI wrapper businesses explained covers where this kind of product fits.
Want to know what actually works?
We break down money-making methods, tools and programs without the ridiculous promises.