Fine tuning or RAG: how to choose the right path for company AI
25 Nov 2026 · David Sak · 7 min read
"We need to train a model on our data." I hear this sentence often, and in most cases it's phrased wrong. The company usually doesn't need to train a model. It needs the model to answer correctly, and there are four levels of solution for that, differing widely in cost, risk and maintenance. This text is the decision rule I use in evaluations.
The core difference: style versus knowledge
Simplified: fine tuning changes how a model answers. Format, tone, structure, discipline in following a schema. RAG changes what a model knows, because it attaches relevant passages from your documents to the query. If you want new knowledge in the answers, fine tuning is the wrong tool. If you want a consistent format or brand voice, RAG is the wrong tool. Confusing the two is the most common expensive mistake in AI projects.
Level 1: a better prompt, zero cost
A surprising number of "we need to train the model" cases are solved by a system prompt with example answers. A typical case: the model should answer in your language, concisely, in the format customers expect. A few-shot prompt with three sample answers handles that for most tasks and costs hours of work, not weeks. As long as the prompt holds quality on the evaluation set, there's no reason to go further.
Level 2: RAG for knowledge the model doesn't have
Internal policies, price lists, technical documentation, ticket history. All of these are facts that change and the model cannot know them. RAG is the right path, and also the only one that can cite sources, so every answer can be verified. I covered the details in RAG in practice. For company knowledge systems, RAG is the default choice in nine out of ten cases.
Level 3: adapter fine tuning, when style and discipline are the issue
Fine tuning an open-weight model, typically with LoRA, makes sense in three situations:
- A fixed output format. The model must always return valid JSON, an HL7 message, or text in exact domain terminology. An adapter learns the output distribution more reliably than a prompt can.
- Voice and style. Legal, medical or brand stylistics that a prompt only partially describes. Hundreds of sample query-answer pairs teach it better.
- Latency and operating cost. A tuned small local model replaces expensive API calls to a large model when the task is narrow and volume is high.
Beware the expectation that tuning adds knowledge. A model memorizes facts from training data unreliably and without citations, and they go stale. Knowledge belongs in retrieval, style in tuning.
Level 4: full fine tuning as the exception
Retraining all the weights makes sense only when you have a large volume of quality data, dedicated hardware or a GPU budget, and a reason an adapter isn't enough. In practice these are exceptions, such as highly specific classification tasks in homelab or edge deployments running a small local model with no cloud.
The decision rule I use
- The model is missing information? RAG.
- The model has the information but answers in the wrong style or format? Prompt first, then an adapter.
- High volume of one narrow task and API cost is growing? A tuned local model in a homelab.
- Someone claims full fine tuning is needed but can't show an evaluation set where the adapter failed? Don't trust it.
Evaluation decides, not intuition
Anything from levels 2 to 4 should be measured on the same set of real queries. The metric is simple: the share of answers that pass checks for correctness, format and citations, plus cost per query. With clients I regularly see a well-built RAG with a good prompt beat expensive training, because the training solved a problem the company didn't actually have.
→ Fine tuning and local AI: how I work
Sources and further reading
- LoRA: Low-Rank Adaptation of Large Language Models
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Frequently asked questions
What is the difference between RAG and fine tuning?
RAG supplements answers with facts from your documents with citations. Fine tuning changes model style and behavior. For company knowledge, RAG is almost always the right choice.
When does fine tuning make sense?
When you need a specific output style, domain terminology in writing, or classification at scale. Not for learning facts.
What is the first step for a company?
RAG over your documents. It is cheaper, faster, auditable, and cites sources, so you know where answers come from.
Related
- Local AI and AI homelabs: fine tuning open-weight models
- RAG in practice: company data safely in an LLM
- Data, RAG and backend
- Pricing, starting prices and lead times
- AI process consultation, a free, no-commitment assessment of one process