All articlesArtificial Intelligence

RAG vs Fine-Tuning vs Prompting: What a Business Actually Needs

CT
CreativeIn Tek Team
· 11 min read
RAG vs Fine-Tuning vs Prompting: What a Business Actually Needs

RAG vs fine-tuning is one of the first questions a business meets when it wants an AI assistant that knows its products, policies or customers, and prompting is the third option that is often forgotten. All three change what a language model produces, but they fix different problems. Prompting changes the instructions and context sent with each request. Retrieval-augmented generation (RAG) looks up the right passages from the business's own documents and adds them to the request. Fine-tuning trains a model further on examples so its behaviour changes.

This guide explains each in plain English, shows what each one fixes and does not fix, and gives a decision guide, cost and maintenance drivers, evaluation advice and a checklist. It draws on Anthropic's and OpenAI's developer documentation and the original RAG research paper, all read on 5 December 2026. It is informational; vendor features change, so check the current documentation before building.

Key takeaways

  • Prompting changes instructions and context per request, RAG supplies the right facts from the business's own documents, and fine-tuning changes the model's behaviour through training examples.
  • In short, RAG is mainly about knowledge (what the model knows right now) and fine-tuning is mainly about behaviour (how it answers, in what format and tone).
  • Anthropic's contextual retrieval article says a knowledge base under about 200,000 tokens (roughly 500 pages) can sometimes be placed in the prompt directly, without a retrieval system.
  • OpenAI's model optimisation guide treats prompt engineering as the first step and describes fine-tuning as time-consuming.
  • Whatever the method, build a test set and success criteria first, otherwise there is no way to tell whether a change helped.

The three options in plain English

Prompting and context

Prompting means writing clear instructions, examples and background into the request the model receives: the role it plays, the rules it must follow, the format of the answer and any facts it needs. Nothing about the model itself changes. Anthropic's prompt engineering overview says it assumes a team already has a clear definition of success criteria, some way to test against them empirically and a first draft prompt. The same page notes that not every failing test is best solved by prompt engineering; latency and cost, for example, can sometimes be improved more easily by choosing a different model.

Retrieval-augmented generation (RAG)

RAG adds a search step. Before the model answers, a retrieval system finds the most relevant passages in the business's documents and places them in the prompt, so the answer is grounded in that material. The term comes from the 2020 research paper by Patrick Lewis and colleagues, Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. Its abstract explains that knowledge stored only in a model's weights is hard to access precisely, and that providing provenance for answers and updating the model's world knowledge were open research problems. RAG pairs the model with an external index that can be searched and updated. CreativeIn Tek's longer guide to building a RAG AI chatbot on business data covers the build steps in detail.

Fine-tuning

Fine-tuning continues training a model on a set of example inputs and ideal outputs so it learns a pattern. OpenAI's model optimisation guide says fine-tuning can make a model consistently format responses in a certain way or handle novel inputs. It lists further benefits over prompting alone: more examples than fit in one request, shorter prompts that can reduce token cost and latency at scale, training on proprietary data without sending it in every request, and a smaller, cheaper model for a specific task.

RAG vs fine-tuning: knowledge versus behaviour

The most useful rule for business owners is to separate two kinds of problem. A knowledge problem means the model does not know the facts: this month's prices, the returns policy, the stock list, the clinic's opening hours. A behaviour problem means the model knows enough but answers in the wrong way: the wrong tone, the wrong length, a format the system cannot parse, or inconsistent labels.

  • Knowledge problems are usually solved by putting the facts in front of the model at answer time, either directly in the prompt (when the material is small) or through RAG (when it is large). Facts in a document can be updated in minutes and the answer can cite the source.
  • Behaviour problems are usually solved first with better prompts and examples, and only then with fine-tuning if the behaviour still is not consistent enough or the prompts become too long and costly.
  • What fine-tuning does not fix well: facts that change often. Training a fact into the model means retraining whenever the fact changes, and the model gives no link to where the answer came from. The OpenAI guide itself places information from outside the training data, such as private database content or up-to-date information, in the prompting step.
  • What RAG does not fix: poor instructions, a messy tone or an unreliable output format. If the retrieved passage is right but the answer still rambles, the problem is in the prompt.

When prompting alone is enough

Many business projects never need anything beyond a good prompt. Anthropic's contextual retrieval article states that if a knowledge base is smaller than 200,000 tokens, about 500 pages of material, the whole of it can be included in the prompt and retrieval can be skipped, with prompt caching making this faster and cheaper. A small business with a price list, a handful of policies and a set of frequently asked questions may fit comfortably within that limit. In that case, the work is writing clear rules, adding a few good examples and testing, not building a search pipeline.

A decision guide for common business tasks

  • FAQ assistant on the business's own documents: start with the documents in the prompt if they are small; move to RAG when they grow, change often or include many separate files. This is the classic RAG use case.
  • Product catalogue questions: catalogues change (prices, stock, variants), so keep them outside the model. Use RAG or, better still, a live lookup in the product database through a tool call, so answers reflect the current state.
  • Policy-heavy answers (returns, warranties, terms): RAG with citations to the exact policy section, plus a rule that the assistant hands over to a person when the policy does not cover the case.
  • Consistent tone and format: prompt first with a style guide and examples. Consider fine-tuning only if thousands of answers per day need the same strict structure and long prompts are driving up cost.
  • Classification and routing (tagging enquiries, sorting tickets): prompting with clear labels and examples often works; fine-tuning becomes worth testing at high volume or when a smaller, cheaper model must do the job reliably.
  • Actions such as bookings or order lookups: neither RAG nor fine-tuning is the answer on its own; the assistant needs tools connected to real systems. CreativeIn Tek's guide to AI agents vs chatbots explains that step.

How the three combine

The options are not rivals. A typical production assistant uses all of them in layers: a carefully written prompt sets the rules and format, RAG supplies the current facts for each question, and, occasionally, a fine-tuned model handles a narrow, high-volume task such as classification. Anthropic's article also shows that retrieval itself can be improved without touching the model. It reports that adding short context to each document chunk before indexing (contextual embeddings) cut failed retrievals by 35% in its tests, combining that with contextual BM25 keyword search cut them by 49%, and adding a reranking step cut them by 67%. Those figures come from Anthropic's own experiments; results on a given business's documents will differ, which is why testing matters.

Cost and maintenance drivers

This guide does not quote prices, because model and hosting prices change often and depend on volume; check each provider's current pricing page. The drivers, however, are predictable.

  • Prompting: cost grows with prompt length multiplied by the number of requests. Long prompts with large documents are simple to build but cost more per message unless caching is available. Maintenance is editing text.
  • RAG: adds one-off work (cleaning documents, splitting them, indexing) and ongoing work (re-indexing when documents change, monitoring what is retrieved). Running cost includes the search infrastructure and the extra context sent per request.
  • Fine-tuning: needs a curated set of high-quality examples, training runs and a new evaluation each time the model or the data changes. OpenAI notes it can lower per-request cost through shorter prompts or a smaller model, but the preparation is the expensive part.

Data freshness

Freshness is often the deciding factor. With prompting or RAG, updating a document updates the next answer. With fine-tuning, a changed fact stays wrong until the model is retrained and redeployed. For anything that changes weekly or monthly, such as prices, schedules, staff lists or stock, keep it in documents or databases that the assistant reads at answer time.

Privacy and data handling questions to ask

  • Which provider processes the prompts and documents, in which region, and does the contract allow the data to be used for training?
  • Who can see the indexed documents, and does the retrieval system respect the same access rules as the original files (for example, staff-only documents never reaching customers)?
  • If a model is fine-tuned, what personal or confidential data is in the training examples, and how would it be removed later?
  • How long are conversation logs kept, and who reviews them?

For regulated sectors such as healthcare, take legal advice on the specific data and jurisdiction before sending any records to an AI service.

Evaluation: test sets before tuning

Both Anthropic and OpenAI put measurement first. Anthropic's prompt engineering overview asks for success criteria and a way to test against them before any prompt work starts. OpenAI's guide describes building evaluations from examples that reflect production, recording a baseline, then changing one thing and comparing results on held-out examples. In practice, a business can start with 50 to 100 real questions and their correct answers, including tricky ones and questions the assistant should refuse or hand over. Run the set after every change to the prompt, the documents or the model, and compare the scores before deciding.

Common mistakes

  • Fine-tuning to teach facts that change, then finding the model confidently repeats old prices.
  • Building a full RAG pipeline for a knowledge base that would fit in the prompt.
  • Skipping the test set, so every change is judged by a few hand-picked questions.
  • Uploading messy, duplicated or outdated documents and blaming the model for wrong answers.
  • Relying only on vector search, which can miss exact codes, product numbers or names that keyword search would catch.
  • Letting the assistant act on payments, refunds or complaints without a person in the loop.

Checklist before starting

  • Write down the exact job: which questions or tasks, for whom, on which channel.
  • Decide whether the main gap is knowledge, behaviour or action.
  • Measure the size of the knowledge base and how often it changes.
  • Collect a test set of real questions with agreed correct answers.
  • Start with a strong prompt and the smallest workable context; add RAG when size or change rate demands it.
  • Consider fine-tuning only after prompting and RAG have been tested and a clear behaviour gap remains.
  • Agree data handling, access rules and human handover before launch.

CreativeIn Tek builds AI assistants and agents grounded in business data through its AI solutions service, and its AI Agent answers customers on WhatsApp from a business's own information. To discuss which approach fits a specific project, contact CreativeIn Tek.

Frequently asked questions

Is RAG better than fine-tuning?

Neither is better in general. In the RAG vs fine-tuning choice, RAG suits questions that depend on facts, especially facts that change or need a source, while fine-tuning suits consistent behaviour, format or narrow tasks at high volume. Many systems use both, with prompting on top.

Can fine-tuning teach a model a company's documents?

It can expose a model to patterns in the documents, but it is a poor way to keep facts current, because every change needs retraining and the answers cannot point to a source. Putting the documents in the prompt or using RAG is usually more reliable for facts.

When is a knowledge base small enough to skip RAG?

Anthropic's contextual retrieval article gives a rule of thumb of under 200,000 tokens, about 500 pages, for including the whole knowledge base in the prompt. Cost, speed and the model's context limit still need checking for the specific use.

How should a business test which approach works?

Build a test set of real questions with correct answers, record a baseline, change one thing at a time and compare. Both Anthropic's and OpenAI's documentation recommend defining success criteria and evaluations before tuning prompts or models.

Does RAG stop an AI assistant from making things up?

It reduces the risk by giving the model the right material, but it does not remove it. Clear rules to answer only from the retrieved text, citations, a fallback when nothing relevant is found and a human handover remain necessary.

ai

Enjoyed this article?

Subscribe for occasional deep dives on shipping software well.