Skip to the page
Tecyfy

What is fine-tuning an AI model?

Training an existing model a little further on your own examples so it picks up a task, a format or a style. Often a good prompt does the job first.

intermediate · Also called Fine Tuning, Finetuning

Every assistant you use has already been fine-tuned. A model fresh from pretraining is good at continuing text, not at following instructions. It becomes ChatGPT or Claude through more training on examples of good answers. Fine-tuning is the same move made by a customer: take a finished model and train it a little more, on your own examples, so it behaves the way you need.

What it is good for

Fine-tuning teaches how, more than what. It works well for:

  • A fixed format. Always reply in the exact structure your system expects.
  • A narrow task. Sorting support tickets into your 12 categories.
  • A house style. The tone your brand writes in.
  • A smaller model. Teaching a cheap model one job well enough that you do not need an expensive one.

OpenAI lists the benefits as handling more examples than fit in a prompt, needing shorter prompts and making a smaller, cheaper model viable.

What it is not good for

Keeping a model up to date with facts. Fine-tuning makes a model mimic the patterns in its examples, and a fact that changes next month would mean training again. For knowledge that changes, give the model the documents when it answers, with RAGRAGA way to answer from your own documents. A search finds the passages that match the question, and they are added to the prompt before the model writes. or search.

Try the prompt first

OpenAI tells developers to write tests first, because a better prompt may be all you need. A few good examples in the prompt and a clear system promptSystem PromptInstructions the builder of an AI app gives the model before you type anything. It sets the role, the tone and the rules, and it outranks what users say. are quicker to try, and cheaper to change.

The ground is shifting

Fine-tuning is getting harder to buy from the largest providers. Anthropic's API does not offer it. OpenAI announced in May 2026 that it is winding down its fine-tuning platform: new users were shut out at once, and active existing customers can no longer start new training jobs from 6 January 2027. Models already fine-tuned keep working until the model they were built on is retired.

Open models are another matter. Whoever downloads one can train it further on their own hardware, and methods such as LoRALoRAA way to fine-tune a model by freezing its weights and training 2 small matrices beside each chosen layer, so a task needs a tiny file instead of a full copy of the model. exist to make that cheaper.

Before you start

Collect real examples of the input and the output you want. Write down how you will judge success. Then see how far a careful prompt gets you. If it falls short on format or consistency, not on facts, fine-tuning may be worth it.

Sources

Where each fact comes from

  1. 1Glossary
  2. 2Model optimization
  3. 3Deprecations
  4. 4RAG (retrieval augmented generation), in the Glossary
  5. 5How ChatGPT and our foundation models are developed