Hiring guide
RAG or fine-tuning? The decision most AI projects get backwards
By Samuel Marndi · Updated
The short answer
RAG retrieves your facts at the moment of the question. Fine-tuning teaches the model a behaviour in advance. They solve different problems, and "we want AI trained on our own data" — which is how this is almost always phrased — nearly always describes RAG.
Start with RAG unless you have a specific reason not to. It is cheaper, your content stays current without retraining, answers can carry citations you can check, and permissions can be applied per user. Fine-tuning earns its place when you need a consistent format, a house style, or a narrow repeated task done cheaply at volume.
The difference in one table
| RAG | Fine-tuning | |
|---|---|---|
| Changes | What the model knows, at question time | How the model behaves, in advance |
| Good for | Facts, documents, policies, anything that changes | Format, tone, a narrow repeated task |
| Updating it | Re-index. Minutes | Retrain. A new job each time |
| Citations | Yes — it can point at the source | No. It cannot tell you where an answer came from |
| Per-user permissions | Yes, filtered at retrieval | No. The model knows what it knows, for everybody |
| Cost shape | Build once, then per-query retrieval | Training cost up front, cheaper per call after |
| Fails by | Retrieving the wrong passage | Confidently reproducing a pattern that no longer applies |
| Typical build | ₹6,00,000 – ₹15,00,000 for a full system | Varies widely; usually only sane on top of a working RAG setup |
Why "train it on our data" almost always means RAG
The phrase is intuitive and the mental model behind it is wrong in a way that costs money. People picture the model absorbing their documents the way a new employee would read a handbook. What fine-tuning actually does is adjust the model's behaviour by showing it many examples of input and desired output — it is far better at teaching how to respond than at installing facts.
Install facts by fine-tuning and three things go wrong. They go stale the moment your policy changes, and fixing that means another training run. The model cannot cite where anything came from, so nobody can check an answer. And it cannot apply permissions, so every user gets everything the model absorbed — which for most businesses is a straightforward compliance problem.
RAG has none of those properties. The documents stay where they are, get retrieved when relevant, carry a citation, and can be filtered by who is asking.
When fine-tuning genuinely is the answer
- You need rigid output format, every time. A specific JSON shape, a fixed report structure, a classification label from a closed set — where prompting gets you to 95% and the last 5% matters.
- You need a house voice that prompting cannot hold consistently across thousands of generations.
- You have a narrow, high-volume, repeated task where a small fine-tuned model is dramatically cheaper per call than a large general one. The economics only work at real volume.
- You have genuinely proprietary reasoning patterns — a way of assessing something that is not in any public corpus and cannot be expressed as instructions.
- Latency or cost rules out a large model and a smaller tuned one can do the specific job.
- And the condition under all of these: you already have an evaluation set. Fine-tuning without one is spending money to change something you cannot measure.
The order that works
Almost every successful project I have seen follows the same sequence, and the expensive failures skip to step four.
| Step | What you do | Why this order |
|---|---|---|
| 1. Prompt well | A careful prompt with good examples, against a real model | Surprisingly often this is the whole project. It costs a day |
| 2. Build an eval set | 50 real cases with known good answers | Without it nothing after this is measurable. See evals and red teaming |
| 3. Add retrieval | RAG over your documents, with citations and permissions | This is where "trained on our data" actually lives |
| 4. Engineer the context | Fix what retrieval returns, how it is shaped, what fits | Usually a bigger gain than any model change — see context engineering |
| 5. Only then consider fine-tuning | And only for format, style, or cost at volume | By now you can measure whether it helped. Before now you could not |
What each costs, honestly
RAG has published Indian market bands because it is a common build. Fine-tuning does not, because the cost is dominated by producing training data rather than by compute — and that cost is specific to your task in a way no range captures.
- A full retrieval system over your documents: ₹6,00,000–₹15,00,000, with ₹15,000–₹60,000 a month to run. Those bands are published across this site and sourced.
- Fine-tuning compute is frequently the smallest line. The real cost is assembling and cleaning enough high-quality examples — commonly hundreds to thousands, each correct — which is human work.
- The cost nobody quotes: every retrain, forever. A fine-tuned model is a snapshot, and the world keeps moving.
- So the test is: can you produce and maintain a clean training set? If not, the question answers itself regardless of budget.
FAQ
Related questions
What is the difference between RAG and fine-tuning?
RAG retrieves your facts at the moment of the question; fine-tuning teaches the model a behaviour in advance. RAG changes what the model knows, fine-tuning changes how it behaves. The practical consequences: RAG content stays current without retraining, can carry citations, and can be filtered per user. Fine-tuning does none of those and is better at format, tone and narrow repeated tasks.
Should I fine-tune a model on my company data?
Almost certainly not as a first step — and "train it on our data" nearly always describes RAG rather than fine-tuning. Facts installed by fine-tuning go stale the moment a policy changes, cannot be cited, and cannot be permission-filtered, so every user gets everything the model absorbed. Retrieval solves all three.
When is fine-tuning worth it?
When you need a rigid output format every time and prompting gets you to 95% with the last 5% mattering; when a house voice must hold across thousands of generations; when a narrow high-volume task makes a small tuned model dramatically cheaper per call; or when you have genuinely proprietary reasoning that cannot be written as instructions. In every case you need an evaluation set first, or you are paying to change something you cannot measure.
How much does RAG cost in India?
A full retrieval system over your own documents is ₹6,00,000–₹15,00,000 to build, with ₹15,000–₹60,000 a month to run — model usage, hosting and monitoring, billed to your own accounts at cost. Smaller scoped versions over a narrower document set cost less; the drivers are how many documents, how messy they are, and whether per-user permissions are required.
How much does fine-tuning cost?
No honest range exists, because the compute is usually the smallest line. The real cost is assembling and cleaning enough high-quality training examples — often hundreds to thousands, each correct — which is human work specific to your task. Then add every future retrain, because a fine-tuned model is a snapshot and the world keeps moving. If you cannot produce and maintain a clean training set, the question answers itself.
Can you use RAG and fine-tuning together?
Yes, and it is the sensible end state for a mature system: retrieval supplies the current facts, fine-tuning enforces the output format or voice. What makes it work is the order — retrieval and context first, measured against an evaluation set, then fine-tuning as an optimisation on top of something already working. Reversing that is how projects spend heavily and cannot tell whether it helped.
What should I do before either of them?
Prompt carefully with good examples against a real model, because surprisingly often that is the whole project and it costs a day. Then build an evaluation set of fifty real cases with known good answers. Only then add retrieval, then fix the context layer. Fine-tuning belongs at step five, by which point you can actually measure whether it improved anything.
Someone quoted us for a custom trained AI model. Is that reasonable?
It depends entirely on which thing they mean, and that is worth thirty minutes to establish. If they mean retrieval over your documents, the published bands are ₹6,00,000–₹15,00,000 for a full system. If they genuinely mean fine-tuning, ask what training data exists, who will produce and maintain it, how the result will be evaluated, and what each future retrain costs. Vague answers to those four are the finding.