Fine-Tuning vs Prompting: Which One Do You Need?
· 6 min read
For most people, prompting comes first, and fine-tuning is for a narrow task you repeat constantly, where you hold many good examples and prompts are no longer enough. Prompting means improving what you hand the model; fine-tuning means training an existing model further on your own example pairs so that it behaves a particular way.
Picture the choice as a ladder: climb to the next step only when you can name what the step below failed at.
What is the difference between fine-tuning and prompting?
Prompting changes what you give the model and leaves the model alone: the instructions, any finished examples you paste in (often called few-shot prompting) and any documents it should use. A system prompt is the standing version, instructions an app attaches to every conversation, and a checklist for better prompts covers the craft.
Fine-tuning changes the model. You collect pairs, each a request and the reply you would want, and run a further round of training on them, so the adjusted model tends to answer in that manner without being told. You end up with a separate version of a general language model that you must keep, test and sometimes redo, for example when the model underneath is replaced. Not every assistant lets its users do this, and services may charge to train a version and to run it, so check before you start.
What is each one good at, and where does it fall short?
Prompting is quick and flexible. You edit a sentence and see the effect within seconds, with nothing to set up. Its limit is room: instructions, examples and documents all have to fit in the conversation (the context window), and every request carries them again.
Fine-tuning is good at sameness. If thousands of outputs must share one layout, set of labels or tone, a tuned model can produce it without a page of rules in every request, so prompts get shorter. It falls short on change and on facts: a new policy means new examples and another round, and facts in its examples may not stick.
Can fine-tuning teach an AI facts, and where do documents fit in?
Not reliably. A tuned model picks up the manner of the replies, such as tone, layout and what to mention, more dependably than the details inside them, and it can state a detail smoothly and get it wrong, as why AI makes things up explains.
Facts you need quoted correctly, such as a delivery cutoff or a warranty term, belong in the request. Paste the relevant document, or use a tool that finds the right passages and adds them for you, which RAG vs long context compares. The text is then on the page to check the answer against, and when you update the document, the next answer can change with it. A tuned model gives you neither, although a setup can tune a model and still supply documents.
How do I decide which one I need?
Take these in order, and deal with each one before moving to the next.
- Have you written a clear request, with the task, audience and format, and put one or two finished examples in it? If not, start there.
- Is the assistant short of information, such as your policies or this week's figures? Hand over the documents; example pairs are the wrong tool for missing facts.
- Does its manner drift, with tone, layout or labels changing despite a clear request? Move the rules into standing instructions and add examples, especially one for the case it gets wrong.
- Does it still fail despite all that? Try the same prompt on a more capable model, if you can, before you train anything.
- Do you repeat one narrow task constantly, know what a good answer looks like and hold many good example pairs, while the prompt has grown so long it crowds out the input, costs too much to resend each time or still fails? Then a fine-tuning trial may make sense, if the next question is also a yes.
- Can you test the result and keep it up to date? If you cannot tell whether the tuned version beats your best prompt, you cannot say it was worth it.
If either of the last two answers is no, keep prompting.
What are the costs and risks of fine-tuning?
Most of the effort goes into the examples: a model learns the habits of what it is shown, the sloppy ones included, so each pair must be read and fixed first.
Real emails and replies hold names, addresses and account details. Remove or replace them before they become example pairs, check what the service keeps of what you upload (the privacy checklist lists the questions), and assume a tuned model may repeat details it was shown.
Then test before you trust it:
- Set some pairs aside and never tune on them. Run the tuned model and your best prompt on those, and compare.
- Try inputs unlike your examples, such as an empty field or a message in another language. A tuned model can get worse at things outside its narrow job.
- Include cases whose right answer is "unknown". A model shown only complete examples can learn to fill every blank with something plausible.
What does the choice look like when turning repair emails into work orders?
In this invented case, an office that manages apartment buildings turns repair emails into work orders, each with a trade (such as plumbing or heating), an urgency label (urgent, this week or routine) and a one-line summary.
At first the office puts the labels, what each means and two finished work orders into the prompt. A few leaks come back as "routine", so it adds a sentence saying any water escaping is urgent and re-runs those emails. They come out right, and many offices could stop here.
Months later, the instructions and samples take up more room than the emails, and an email describing two faults still gets the wrong layout. The office holds years of emails paired with work orders a coordinator approved, so a trial is worth running. First it swaps residents' names for placeholders, fixes old work orders that disagree about what counts as urgent, adds emails with missing details whose work order says "unknown", and sets some pairs aside. Then it compares the tuned version with the best prompt on those held-back pairs and on odd emails. If it does not clearly win, the office keeps prompting.
The tuned model still cannot know whether the boiler was fixed last week; that has to come from the office's own records, supplied with each request. A coordinator still reads anything marked urgent, as when to keep a human in the loop explains.
Where NAMELESS stands
NAMELESS is our AI model, still in training and not yet available, with no launch date, so none of the steps above can be tried on it today. We are aiming for a model on our own architecture that is extremely fast, with unlimited context, no rereading of the conversation and stronger logic and reasoning. Room for instructions and documents is one limit of prompting, and a model with no context ceiling would ease it. None of that removes the need to supply the facts yourself or to test a change before you rely on it. To see how it turns out, join the waitlist.