# What is fine-tuning? When to train an AI model

Address: https://sebastianmusial.pl/en/glossary/fine-tuning/ · Glossary: https://sebastianmusial.pl/en/glossary/

Fine-tuning means giving a ready-made AI model extra training on examples from your business. Here is what it really changes, when it pays off and why you usually start with something simpler.

- Also called: model fine-tuning, training your own model

**Definition.** Fine-tuning is extra training of an existing AI model on a set of examples, each a question with a model answer. From them the model learns a consistent style, format or way of handling a specific task. Fine-tuning changes the model itself, unlike a prompt or RAG, which only give it information with each question.

## How is fine-tuning different from a prompt or RAG?

A prompt and RAG tell the model what to do and which information to use, fresh every time. Fine-tuning changes the model itself, so certain behaviour becomes built in. Put simply: a prompt is an instruction to an employee, RAG is a folder of documents on their desk, and fine-tuning is a training course after which they do certain things by habit.

That is why fine-tuning is a poor fit for knowledge that changes. A price list or service range will go out of date after training anyway, whereas a document used by RAG can be replaced in a minute.

## When does fine-tuning make sense for a business?

When the same narrow task is repeated thousands of times and a prompt does not give a stable result. Examples:

- Assigning support tickets to categories according to internal rules.
- Product descriptions in one strictly defined layout and tone.
- Extracting data from documents into the same structure every time.

The condition: you need plenty of good examples. The model will also learn any mistakes in them.

## What to try before fine-tuning

A well-written instruction with a few examples, and a check of the results against a set of real cases. Model providers recommend this order themselves: in many uses a refined prompt is enough. If the AI has to answer from company documents, the next step is RAG. Fine-tuning comes in only when both have fallen short and it is clear exactly which result needs to improve.

Fine-tuning also has an upkeep cost: with a new model version or a change of rules, it has to be done again. Before commissioning it, ask how the improvement will be measured and who will keep the training data up to date.

## Frequently asked questions

**Will fine-tuning teach a model about my company?**
Partly, but it is an unreliable way to store facts: the model can distort them, and every change needs retraining. RAG is better suited to a company’s current knowledge.

**Does fine-tuning need your own server?**
Not always. Some providers let you fine-tune their models in the cloud, and open models can be fine-tuned on your own infrastructure. Either way, check where the training data goes.

See also: [LLM](https://sebastianmusial.pl/en/glossary/llm/), [Prompt](https://sebastianmusial.pl/en/glossary/prompt/), [RAG](https://sebastianmusial.pl/en/glossary/rag/), [AI hallucinations](https://sebastianmusial.pl/en/glossary/ai-hallucinations/), [Tokens](https://sebastianmusial.pl/en/glossary/tokens/)

Sources: [OpenAI: Model optimization (evals, prompting, fine-tuning)](https://developers.openai.com/api/docs/guides/model-optimization), [Wikipedia: Fine-tuning (deep learning)](https://en.wikipedia.org/wiki/Fine-tuning_(deep_learning))

---

Updated: 2026-11-28. Sebastian Musiał, kontakt@sebastianmusial.pl (I reply within 24 hours). Quote after a call, no price list on the site.
All pages: https://sebastianmusial.pl/llms.txt · The whole English text in one file: https://sebastianmusial.pl/en/llms-full.txt
