# Fine-tuning

> Fine-tuning trains a base model on your input-output examples to change its behavior on a task. Methods, data format, and when prompting or RAG fits better.

Canonical: https://scaplet.com/glossary/fine-tuning

Glossary Glossary · AI search

Fine-tuning trains a base model on your input-output examples to change its behavior on a task. Methods, data format, and when prompting or RAG fits better.

3 min

read

3

sources

Oct 30, 2026

updated

Scaplet Editorial Team

author

In one line

Fine-tuning trains an existing model on your own examples so it performs a specific task more consistently. It changes the model's behavior, such as output format or style, rather than giving it new documents to look up. OpenAI says prompt engineering is the usual starting point and may be enough.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Ffine-tuning%20(%22Fine-tuning%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Ffine-tuning%20(%22Fine-tuning%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Ffine-tuning%20(%22Fine-tuning%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Ffine-tuning%20(%22Fine-tuning%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

Model behavior on a task

Changes

Labeled input-output examples

Training data

10 examples

OpenAI SFT minimum

50 to 100 examples, per OpenAI

Typical gains seen

_01_Methods named in vendor docs

## What fine-tuning changes

Amazon's Bedrock docs define supervised fine-tuning as training on labeled examples so the model learns which outputs go with which inputs. Model parameters are adjusted in the process. [OpenAI](/ai-search/chatgpt/how-it-finds-sources) frames the benefit as more consistent behavior on a task, room for more examples than fit in one [context window](/glossary/context-window), and shorter prompts that lower token cost and latency.

Method

### Supervised fine-tuning

Trains on

Examples of correct responses

Suited to (per vendor)

Classification, specific output formats, nuanced translation, fixing instruction-following failures

Method

### Direct preference optimization (OpenAI)

Trains on

Pairs of better and worse responses

Suited to (per vendor)

[Tone](/glossary/tone-of-voice), style, summarization focus

Method

### Reinforcement fine-tuning

Trains on

A grader or reward function scoring responses

Suited to (per vendor)

OpenAI: reasoning models only. Bedrock: reward functions in AWS Lambda

Method

### Distillation (Bedrock)

Trains on

A larger teacher model's responses for your prompts

Suited to (per vendor)

A smaller, faster student model

_02_At a glance

## Fine-tuning, prompting, or RAG

Need

### Clearer instructions, a format, a persona

Reach for

[Prompting](/glossary/prompt-engineering)

Why

OpenAI treats prompt engineering as the usual starting point

Need

### Fresh or private facts the model lacks

Reach for

[Retrieval](/glossary/retrieval-augmented-generation)

Why

Supplies passages at request time, so the answer can cite them

Need

### Consistent output across a narrow task

Reach for

Fine-tuning

Why

OpenAI lists consistent behavior and formatting as a reason

Need

### Shorter prompts or a cheaper model for one task

Reach for

Fine-tuning

Why

OpenAI says it can shorten prompts and enable a smaller model

The OpenAI optimization page doesn't discuss retrieval directly, so the middle row is our reading of how the techniques differ, not an OpenAI claim. As a rule of thumb, tuning shapes how a model responds, while a retrieval index is the part you can update when facts change.

**Fine-tuning does not guarantee factual accuracy**Training on examples teaches patterns of response. It is not a documented way to make a model reliably state facts, so keep [grounding](/glossary/grounding) and checks in place for anything that must be correct.

_03_At a glance

## Anatomy of a training example

Part

### One JSON object per line

Note

JSONL, with a complete object on each line

Part

### `messages` array

Note

A user prompt and the ideal assistant response

Part

### Minimum size

Note

OpenAI requires at least 10 examples

Part

### Where gains show up

Note

OpenAI says improvements are typically seen with 50 to 100 examples, and suggests starting with 50 well-crafted ones

Part

### Hold-out set

Note

Set aside part of the data before training to use as a control in evals

One JSONL line in OpenAI's chat format

```
{"messages": [{"role": "user", "content": "Translate to French: Good morning"}, {"role": "assistant", "content": "Bonjour"}]}
```

Examples should be realistic: they should match the inputs and outputs you expect in production. Bedrock states its training charge as the [tokens](/glossary/tokenization) in the training corpus times the number of epochs, plus monthly model storage. Check your vendor's pricing page for its own terms.

_04_How it works

## Check before you start

**Availability changes**OpenAI's fine-tuning pages say it is winding down its fine-tuning platform: new users can't access it, and eligible existing customers can create jobs until January 6, 2027, unless the base model shuts down earlier. Confirm your vendor's current status before planning around it.

1. 01

### Write evals first

OpenAI's workflow starts by setting a baseline with evals, ideally on real-world test data.
2. 02

### Push prompting as far as it goes

Add clear instructions, context and a few examples. Record the score.
3. 03

### Fine-tune only against a measured gap

Train, then compare the tuned model with the base model on the held-out examples.
4. 04

### Iterate on data, not just settings

If 50 examples change nothing, OpenAI suggests revisiting the task or prompt before adding data.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- openai.com
- amazon.com

1. 01 [Model optimization (OpenAI)](https://developers.openai.com/api/docs/guides/model-optimization) developers.openai.com · checked 2026-11-01
2. 02 [Supervised fine-tuning (OpenAI)](https://developers.openai.com/api/docs/guides/supervised-fine-tuning) developers.openai.com · checked 2026-11-01
3. 03 [Customize your model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) docs.aws.amazon.com · checked 2026-11-01

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Does fine-tuning teach a model my website's content?

Not as a reliable lookup. Vendor docs describe fine-tuning as learning from labeled examples of desired behavior. For answers drawn from your pages, retrieval at request time is the usual alternative.

_02_ How many examples do I need?

OpenAI documents a minimum of 10 and says improvements typically appear with 50 to 100. Quality matters more than count, and requirements differ by vendor and model.

## Keep learning

[All glossary](/glossary)

[Learn Large Language Model AI search](/glossary/large-language-model) [Related Retrieval-Augmented Generation AI search](/glossary/retrieval-augmented-generation) [Read next Tokenization AI search](/glossary/tokenization) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Featured snippet](/glossary/featured-snippet) [fetchpriority](/glossary/fetchpriority) [First Contentful Paint](/glossary/first-contentful-paint) [First Input Delay (FID)](/glossary/first-input-delay)

More in AI search
[AI Hallucination](/glossary/ai-hallucination) [AI Mode](/glossary/ai-mode) [AI Overviews](/glossary/ai-overviews) [AI search](/glossary/ai-search) [AI visibility](/glossary/ai-visibility) [Answer engine optimization](/glossary/answer-engine-optimization) [ChatGPT search](/glossary/chatgpt-search) [Chunking](/glossary/chunking) [Context window](/glossary/context-window) [Conversational AI](/glossary/conversational-ai) [Embeddings](/glossary/embeddings) [Extended thinking](/glossary/extended-thinking) [Fine-tuning](/glossary/fine-tuning) [Generative engine optimization](/glossary/generative-engine-optimization) [Grounding](/glossary/grounding) [Knowledge cutoff](/glossary/knowledge-cutoff) [Large Language Model](/glossary/large-language-model) [Model Context Protocol](/glossary/model-context-protocol) [Multimodal AI](/glossary/multimodal-ai) [Prompt caching](/glossary/prompt-caching) [Prompt engineering](/glossary/prompt-engineering) [Prompt tracking](/glossary/prompt-tracking) [Reranking](/glossary/reranking) [Retrieval-Augmented Generation](/glossary/retrieval-augmented-generation)

Terms on this page
[Context window](/glossary/context-window) [Tone of voice](/glossary/tone-of-voice) [Prompt engineering](/glossary/prompt-engineering) [Retrieval-Augmented Generation](/glossary/retrieval-augmented-generation) [Grounding](/glossary/grounding) [Tokenization](/glossary/tokenization)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
