# 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 2026-11-26 · [More on AI agents](https://davecto.com/answers/ai-agents)

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 situation | Best starting point |
|---|---|
| Answers must come from company documents, with citations | RAG |
| Information changes weekly or daily | RAG |
| Small, stable reference material | Put it in the prompt |
| You need a very specific tone, format or classification scheme | Better prompts and examples first, fine-tuning if that stalls |
| Very high volume of one narrow task, cost matters | Fine-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](https://davecto.com/how-i-help#ai-agents-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. Email [hi@davecto.com](mailto:hi@davecto.com) or see [Contact](https://davecto.com/contact).

## More on AI agents

- [What's a realistic AI strategy for a company with 10 to 50 people?](https://davecto.com/answers/ai-agents/ai-strategy-for-a-small-company)
- [What can AI agents actually do for a business today?](https://davecto.com/answers/ai-agents/what-can-ai-agents-do-for-a-business)
- [How much does it cost to build and run a custom AI agent?](https://davecto.com/answers/ai-agents/how-much-does-a-custom-ai-agent-cost)
- [When should I use an AI agent instead of a simple automation?](https://davecto.com/answers/ai-agents/ai-agent-or-simple-automation)
- [Are AI agents reliable enough to run without a human checking them?](https://davecto.com/answers/ai-agents/are-ai-agents-reliable)

---

Dave Brown · CTO & Executive Advisor · New York, NY · [hi@davecto.com](mailto:hi@davecto.com)

Site guide for agents: [llms.txt](https://davecto.com/llms.txt) · Sitemap: [sitemap.xml](https://davecto.com/sitemap.xml) · Any page is available as Markdown by sending `Accept: text/markdown` or adding `.md` to its URL.
