Skip to content
Dave Brown

Should I fine-tune a model on my company data or use RAG?

Start with retrieval-augmented generation (RAG), which looks up your documents at question time, for almost any task that needs your company's facts. Fine-tuning changes a model's behavior and style, not what it knows, and is worth it only for narrow, high-volume tasks after prompting and RAG have hit a ceiling. Many cases need neither.

Dave Brown · CTO & Executive Advisor · Updated

This question usually starts from a misunderstanding: that fine-tuning is how you teach a model your business. It mostly isn't. Fine-tuning shapes how a model behaves. RAG gives it the facts to work with.

What is the difference in plain terms?

RAG stands for retrieval-augmented generation. When someone asks a question, the system searches your documents, pulls the relevant passages, and hands them to the model along with the question. The model answers from what it was handed. It's like an open-book exam.

Fine-tuning means further training a model on your examples so it adopts a style, format or specialized behavior. It's like coaching someone until a skill becomes habit. Facts absorbed this way are unreliable and go stale the moment your data changes.

There is also a third option people skip: just put the material in the prompt. Current models handle very large amounts of text in a single request. For a policy manual or a product catalog of modest size, loading it directly can beat building a search system.

Which one fits my situation?

Your situationBest starting point
Answers must come from company documents, with citationsRAG
Information changes weekly or dailyRAG
Small, stable reference materialPut it in the prompt
You need a very specific tone, format or classification schemeBetter prompts and examples first, fine-tuning if that stalls
Very high volume of one narrow task, cost mattersFine-tune a smaller model, after evals prove the need
Questions need data from live systems (orders, inventory)Tool calls to your systems, not RAG

That last row trips people up. If the answer lives in a database, have the agent query the database. Don't copy it into a document index that goes out of date.

Why does RAG often disappoint, and how do I fix it?

Poorly built RAG gives confident wrong answers, and the cause is almost always retrieval, not the model. The search pulls the wrong passages, or the right passage is split in half, or the documents contradict each other.

What works:

  • Clean and de-duplicate the source documents first. Outdated versions in the index are a leading cause of wrong answers.
  • Split documents by meaning (sections, clauses) rather than fixed character counts.
  • Combine keyword search with semantic search, because exact terms like part numbers and names need exact matching.
  • Make the system say "I couldn't find this" and show its sources.
  • Test retrieval separately from generation. Build a set of 50 to 100 real questions and check whether the correct passage came back, before judging the answer quality.

When is fine-tuning actually worth it?

Rarely, but there are real cases. A support classifier handling hundreds of thousands of messages a month, where a small tuned model matches a big one at far lower cost per call. A strict output format that prompting can't hold steady. A domain with unusual vocabulary where examples are plentiful and labeled.

You need at least several hundred, and often a few thousand, clean examples, plus an eval set to prove the tuned model beats the prompted one. Budget $5,000 to $30,000 for data preparation and experiments, and remember you'll redo it when you move to a new base model. If you can't point to a measured gap that prompting and RAG failed to close, don't fine-tune.

What I'd do

Begin with a good prompt and a handful of examples. If the task needs your company's knowledge, add RAG or direct tool calls to live systems, and measure retrieval quality on its own. Consider fine-tuning only when volume is high, the task is narrow, and your evals show a gap nothing else closes. Most small and mid-sized companies never reach that point.

Where I come in. If this is a decision in front of you right now, it’s the kind of thing I help with through AI Agents & Process Automation. A scoped build engagement, from a single agent to a multi-step pipeline. Typically a few weeks, with evaluation infrastructure and handoff documentation included.

Get in touch

Available for a small number of conversations.

If something here is relevant to a decision you’re facing, I’d like to hear about it.