Fine-tuning (vs RAG and prompting)
Further training a model on your own examples so it adopts a style, format or narrow skill; poor at teaching it new facts.
Fine-tuning is further training of an existing model on your own examples, so it adopts a style, format or narrow skill. It is good at teaching behavior and poor at teaching new facts. The result is a custom model version that you call instead of the base model.
The usual order is prompting first (cheapest, fastest to change), then RAG when the model needs knowledge it does not have, then fine-tuning when you need a consistent format or tone, or a smaller, cheaper model that does one narrow task well. Fine-tuned facts go stale and cannot be cited; documents in RAG can be updated tomorrow and linked in the answer. Fine-tuning also needs a few hundred good examples and an eval set to prove it helped.
A fine-tuned model is tied to its base model and vendor. As of November 2026, OpenAI’s documentation says it is winding down its fine-tuning platform: it is closed to new users, existing customers can start training jobs until January 6, 2027, and fine-tuned models run only until their base model shuts down. Open-weight models tuned on your own hardware (see local LLM) avoid that dependency at the cost of running the infrastructure. Either way, keep the training data and the evals, so the work can be repeated on the next model.
Sources
- OpenAI: Supervised fine-tuning developers.openai.com
Related terms
- RAG (retrieval-augmented generation): Finding relevant documents first and putting them into the prompt, so the model answers from them.
- Local LLM: A language model running on hardware you control instead of a provider’s API, so documents stay where you decide.
- Evals: A repeatable test set that scores an AI feature, so changes can be measured instead of guessed.
- Golden dataset: A fixed set of real inputs with expected answers or checks, used to test an AI feature after every prompt or model change.
- Model pinning (model versions and deprecation): Calling an exact, dated model version instead of an alias like “latest”, so behavior does not change under you, and planning for its retirement date.
