---
title: "Better prompt, RAG or fine-tuning? How to pick"
description: "Three ways to make an AI fit your work, and they solve different problems. Prompts fix the brief, RAG brings in your facts, fine-tuning teaches habits. Here's how to tell which one you need, and in what order to try them."
date: "2026-12-03T00:00:00.000Z"
last_reviewed: "2026-12-04"
author: "Tim Benniks"
url: "https://noddingalong.tech/guides/prompt-rag-or-fine-tuning"
markdown_url: "https://noddingalong.tech/guides/prompt-rag-or-fine-tuning.md"
reading_time: "4 min read"
---

# Better prompt, RAG or fine-tuning? How to pick

Three ways to make an AI fit your work, and they solve different problems. Prompts fix the brief, RAG brings in your facts, fine-tuning teaches habits. Here's how to tell which one you need, and in what order to try them.

## In short

- Start with a better prompt. It's free, fast, and often all you need.
- Use RAG when the AI needs facts it doesn't have, especially facts that change.
- Use fine-tuning for habits: a consistent tone, format or behaviour, learned from many good examples.
- Facts go in the book. Habits go in the training.

Somebody's AI pilot is giving bad answers, and the room splits into three camps. One says the prompts need work. One says "we should add RAG". One says "we need to fine-tune our own model", which sounds the most serious and therefore tends to win.

They're all describing real techniques. They just fix different problems. Picking the wrong one is how a team spends three months training a model to learn a holiday policy that changes next quarter.

Here's how to tell them apart.

## The short version

| | Better prompt | RAG | Fine-tuning |
| --- | --- | --- | --- |
| **What it changes** | The instructions you give | The material in front of the model | The model itself |
| **Fixes** | Vague brief, wrong format, wrong tone | Missing or out-of-date facts | Inconsistent habits across many tasks |
| **Analogy** | Briefing a brilliant new colleague | An open-book exam | Specialist school |
| **Effort** | Minutes | A project: documents, search, upkeep | A project: lots of good examples, training, testing |
| **Facts that change** | Paste them in each time | Yes, update the documents | Poor fit |
| **Watch out for** | No prompt can add missing facts | Only as good as what it finds | Bad examples make a confident specialist in sloppy |

## Option 1: a better prompt

A [prompt](https://noddingalong.tech/glossary#prompt-engineering) is everything you tell the AI: the task, the context, the format, examples of what good looks like. Most disappointing answers come from a brief that leaves out what's in your head. [How to write prompts that work](https://noddingalong.tech/guides/prompt-engineering-guide) covers this in detail.

Both OpenAI and Google say to start here. Google's tuning documentation literally begins with ["Start with prompting to find the optimal prompt"](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/tune-models), and OpenAI notes that fine-tuning can be time-consuming and that prompt engineering may be all you need.

**Try this first when** the answers are roughly right but the tone, length, structure or focus is off.

**It won't help when** the model doesn't know the facts. You can't prompt your way to a policy it has never seen.

## Option 2: RAG, for facts it doesn't have

A [large language model](https://noddingalong.tech/glossary#llm) knows what was in its training data, up to a cutoff date. Your company handbook wasn't in it. Ask about your holiday policy and it will either admit it doesn't know or, worse, [make something up](https://noddingalong.tech/videos/what-are-ai-hallucinations).

[RAG](https://noddingalong.tech/glossary#rag) (retrieval-augmented generation) turns that closed-book exam into an open-book one. Before the model answers, a search step looks through your documents, picks a few relevant passages and puts them next to your question. The model answers from those pages and can [cite its sources](https://aws.amazon.com/what-is/retrieval-augmented-generation/) so you can check them. The full explanation is in [What is RAG?](https://noddingalong.tech/videos/what-is-rag).

Why only a few passages? Because everything has to fit in the model's [context window](https://noddingalong.tech/videos/what-is-a-context-window), its working memory. That's also why the search step matters so much.

**Choose this when** the answers need specific, private or frequently changing information: policies, product documentation, contracts, support articles. Update a document and the next answer uses the new version.

**Watch out for:** it's only as good as what it finds. Out-of-date or contradictory documents produce confidently wrong answers with citations attached. And it reduces mistakes rather than ending them: in 2024, [Stanford researchers](https://arxiv.org/abs/2405.20362) found legal research tools built this way still got things wrong between 17% and 33% of the time on the questions they tested. More on that in [Before you add RAG, clean the cupboard](https://noddingalong.tech/articles/rag-is-a-filing-problem).

## Option 3: fine-tuning, for habits

[Fine-tuning](https://noddingalong.tech/glossary#fine-tuning) means training an already-trained model a bit further on your own examples, so its behaviour shifts. Think of a new hire who spent a week studying your best support tickets. They don't look anything up. They've picked up the habit.

Under the hood, a model is billions of numbers called weights, and fine-tuning nudges some of them. Modern methods like [LoRA](https://arxiv.org/abs/2106.09685) freeze the original model and train a small add-on instead, which is much cheaper. The two-minute version is [What is fine-tuning?](https://noddingalong.tech/videos/what-is-fine-tuning).

**Choose this when** you need the same tone, format or behaviour across a large volume of tasks, a good prompt with examples still isn't consistent enough, and you have plenty of good examples to learn from.

**Watch out for:**

- **You need lots of good examples.** OpenAI suggests [starting with 50 well-crafted examples](https://developers.openai.com/api/docs/guides/supervised-fine-tuning); Google talks about hundreds to thousands. If the examples are sloppy, you get a confident specialist in sloppy.
- **It's bad at teaching facts.** A [2024 study](https://arxiv.org/abs/2405.05904) found models learn new facts through fine-tuning slowly, and that once they do, they become more likely to hallucinate. Facts go in the book (RAG), not the training.
- **It ages with its base model.** OpenAI notes fine-tuned models stay available until their base model is shut down. When the base model retires, so does your specialist.
- **It takes time and money** to prepare data, train and test, and you'll do it again when your needs change.

## Start here: the order to try them in

1. **Write a better prompt.** Add context, constraints, format and two or three examples. Test it on real tasks.
2. **Is the problem missing or changing facts?** Give the model the material. For one document, paste it in. For hundreds, that's RAG.
3. **Is the problem consistency at scale, and do you have lots of good examples?** Now fine-tuning is worth a conversation.
4. **Still unsure?** It's probably a prompt problem. It usually is.

These aren't rivals, by the way. Plenty of real systems use all three: a fine-tuned model with a careful prompt, answering from documents retrieved with RAG.

## The question to ask

When someone proposes fine-tuning, nod, and ask:

> Great, is this a facts problem or a habits problem?

## Questions people ask

### Should we fine-tune our own AI model?

Usually not first. Start with a better prompt, use RAG when the AI needs facts it doesn't have, and consider fine-tuning only for consistent habits like tone or format, when you have lots of good examples.

### Can fine-tuning teach an AI our company's facts?

It's a poor fit. A 2024 study found models learn new facts through fine-tuning slowly and become more likely to hallucinate once they do. Facts belong in the documents the AI looks things up in.

### How many examples do you need to fine-tune a model?

OpenAI suggests starting with 50 well-crafted examples, and Google talks about hundreds to thousands. Quality matters as much as quantity: sloppy examples make a confident specialist in sloppy.

### Can you use prompting, RAG and fine-tuning together?

Yes. Plenty of real systems use all three: a fine-tuned model with a careful prompt, answering from documents retrieved with RAG.

## Watch the episodes

- [What is prompt engineering?](https://noddingalong.tech/videos/what-is-prompt-engineering): Prompt engineering is writing clear instructions so an AI gives you what you actually need.
- [What is RAG?](https://noddingalong.tech/videos/what-is-rag): RAG (retrieval-augmented generation) lets an AI look things up in your documents before it answers.
- [What is fine-tuning?](https://noddingalong.tech/videos/what-is-fine-tuning): Fine-tuning trains an existing AI model further on your own examples so it behaves the way you want.
- [What is a context window?](https://noddingalong.tech/videos/what-is-a-context-window): A context window is how much text an AI model can take in at once, including your whole chat and its own reply.

---

Written by Tim Benniks (https://timbenniks.dev) for Nodding Along: AI explained for people who work with nerds but aren't one. https://noddingalong.tech
