RAG vs Fine-Tuning: When to Customise, When to Contextualise
Two approaches to making AI work with your data: retrieval-augmented generation and fine-tuning. When each makes sense and how to decide.
Two approaches to making AI work with your data: retrieval-augmented generation and fine-tuning. When each makes sense and how to decide.
When a general-purpose language model doesn't know enough about your business, you have two main options to make it more useful:
Both approaches work. They solve different problems. Let's break them down.
RAG doesn't change the model. Instead, it retrieves relevant documents from your data and includes them in the prompt. The model generates an answer grounded in that context.
Advantages:
Fine-tuning takes a pre-trained model and continues training it on your specific data or examples. The model's weights are adjusted to better reflect your domain.
Advantages:
Disadvantages:
| Factor | RAG | Fine-Tuning |
|---|---|---|
| Setup time | Days to weeks | Weeks to months |
| Training data needed | No (just documents) | Yes (curated examples) |
| Data freshness | Always current | Stale until retrained |
| Source citations | Yes | No |
| Hallucination control | Good (grounded) | Moderate |
| Style/format control | Moderate (via prompting) | Strong |
| Inference cost | Higher (retrieval + generation) | Lower (generation only) |
| Training cost | None | Significant |
| Privacy | Data stays in vector DB | Data enters model weights |
Use RAG when:
Use fine-tuning when:
For the vast majority of Australian business use cases, start with RAG. It's faster to deploy, easier to maintain, more transparent, and handles 80% of "make AI know about our data" requirements.
Fine-tune only when RAG genuinely isn't enough, typically for specialised classification tasks or when you need very specific output formatting that prompting can't achieve.
And you can combine them. Use RAG for knowledge retrieval and a fine-tuned model for the generation layer that produces output in your exact format. Best of both worlds.
Meet the person
This article comes from real projects. If it raises a question about your own system, you can ask the founder directly.
HELLO PEOPLE designs, builds and looks after AI, software, app and data solutions for Australian businesses, with senior expertise on every project and a scope agreed before work starts. For software, that means starting with how your business runs, not with the code.
Since 2007, HELLO PEOPLE has delivered more than 100 projects from Perth for small and medium businesses across Australia: custom software and apps, system integrations, data migrations, reporting and dashboards, and AI that works inside the systems a business already runs.
I lead every engagement myself. I trained in accounting before moving into IT, hold accounting and IT professional qualifications and an MBA, and bring more than 20 years of experience across sales, service delivery, inventory and compliance. I am also a PhD candidate in AI at Curtin University, researching retrieval-augmented generation (RAG), so the technology is always judged by what it does for the business.
Small and boutique. The person who scopes your software is the person who builds it, and the same person is there on launch day.
No ticket queue and no account manager in between. You hear back within one business day, usually sooner.
The first release is the start, not the end. When you need the next system, integration or report, you call the same person, who already knows your business.
Ask the author
Ask it here and it comes straight to the founder. No sales call, no obligation, and a real answer even if the answer is that you do not need us.
Kasun Wijayamanna
Founder, replies within one business day
Tell us what you're working on. We'll come back with a practical recommendation and clear next steps.
Built here. Your data stays here.
Thanks for reaching out. We will get back to you within one business day.
See what else we do