Choosing the Lightest Effective Customization Approach
This lesson explains the spectrum of ways to adapt a foundation model, from changing the prompt to changing its weights, and how to choose the lightest approach that meets the requirement.
Learning outcomes
After completing this lesson, you will be able to:
- Order prompt engineering, RAG, fine-tuning and continued pre-training by effort.
- Choose RAG for knowledge problems and prompting or fine-tuning for behaviour problems.
- Combine customisation approaches.
The approaches
Prompt engineering changes only the input: instructions, examples and output format. Retrieval Augmented Generation (RAG) adds relevant documents to the prompt at runtime, giving the model current or private knowledge with citations. Supervised fine-tuning trains the model on labelled examples to change behaviour, style, format or task skill. Reinforcement fine-tuning trains with reward signals. Distillation transfers a large model's behaviour to a smaller one. Continued pre-training teaches domain language from unlabeled text. Training a model from scratch is rarely justified.
Choosing an approach
A useful rule is: knowledge problems call for RAG, and behaviour problems call for prompting first and fine-tuning if prompting is not enough. Knowledge that changes often, must be cited or is access-controlled belongs in RAG, because fine-tuned knowledge cannot be updated or removed without retraining. Consistent format, tone or a narrow task that needs long prompts suits fine-tuning, which can also shorten prompts and lower per-request cost. Cost and latency at scale suit distillation.
The following table summarises the spectrum.
| Approach | Changes | Data needed | Cost and effort | Best for |
|---|---|---|---|---|
| Prompt engineering | Input | A few examples | Lowest | Instructions, format, quick iteration |
| RAG | Input (retrieved context) | Document corpus | Low-medium | Current, private, citable knowledge |
| Supervised fine-tuning | Weights | Hundreds to thousands of pairs | Medium | Style, format, narrow task |
| Reinforcement fine-tuning | Weights | Prompts plus reward function | Medium-high | Verifiable tasks, alignment |
| Distillation | Student weights | Representative prompts | Medium | Lower cost and latency |
| Continued pre-training | Weights | Large unlabeled corpus | High | Domain vocabulary |
The following diagram matches each problem to its approach.

The lightest approach that works
Combining approaches
Customisation approaches are not alternatives to choose between once; they combine well. A fine-tuned model can still use RAG to supply current facts, because fine-tuning teaches style and behaviour rather than up-to-date knowledge. A distilled model can use prompt caching to reduce cost further. And good prompts remain important after fine-tuning, because the fine-tuned model still responds to its instructions.
Each additional step adds cost and effort, so each should be evaluated against the previous one on the same test set. Moving from prompt engineering to RAG, or from RAG to fine-tuning, is justified only when it produces a measured gain that outweighs its cost.
Combining approaches
Three requests
A company has three generative AI problems.
| Problem | Approach | Reason |
|---|---|---|
| Answers must reflect price lists updated daily | RAG | Knowledge changes daily; fine-tuning would be stale |
| Product descriptions must follow a strict brand voice and JSON layout | Supervised fine-tuning after prompt attempts | Behaviour and format consistency |
| A large model works well but costs too much at 5 million requests a month | Distillation | Keep quality, cut cost |
Fine-tuning the price lists into the model would require retraining every day and could not provide citations, so it is the wrong tool for the first problem.
Which approach suits knowledge that changes or must be cited?
Show answer
RAG, which retrieves current documents at query time.
Exam Tips
Remember for the exam
- Knowledge that changes or must be cited: RAG.
- Behaviour, style or format: prompt engineering first, then fine-tuning.
- Lower cost at scale with similar quality: distillation.
- Domain vocabulary from unlabeled text: continued pre-training.
- Choose the lightest approach that meets the requirement.