Back to the article library

ARTIFICIAL INTELLIGENCE / DEEP DIVE

AI Training, Fine-Tuning and Inference: What Is the Difference?

Pre-training builds broad capability, fine-tuning changes task behaviour, and inference is the cost that happens every time someone asks a question. Keep the layers separate.

01 / ARTIFICIAL INTELLIGENCE

Think of a foundry, a tailor and a kitchen

Use a factory, a tailor and a kitchen: training makes general fabric, fine-tuning cuts it into a task-specific uniform, and inference cooks each order today. They share the word AI; their work and risks are different.

Inference is the daily service step: weights usually remain fixed while the model produces output for new input. All consume computation, but they change different things and repeat at different frequencies.

People ask, 'Can we feed it ten years of documents so it remembers forever?' It is a perfectly natural question, and technically it mixes three different jobs.

Fine-tuning may be a visible project line item; inference is the quiet recurring cost of every employee, question and attachment. Model choice, input size, output size, caching and tool calls shape the monthly bill.

02 / ARTIFICIAL INTELLIGENCE

Training is not storing documents in a database

Training adjusts parameters through prediction error; it does not store documents as database rows. Knowledge is distributed and difficult to locate, update or delete one statement at a time.

If a policy changes today, retraining is rarely the cleanest update mechanism. External retrieval and deterministic tools remain important.

A price list that changes next week should not trigger a new training run. Put changing things somewhere that can actually be updated; it is the more honest design.

Fine-tuning is also not a USB stick for company knowledge. It is better at teaching style, format and decision habits; frequently changing policies and prices usually belong in retrieval instead.

03 / ARTIFICIAL INTELLIGENCE

Fine-tuning mainly teaches behavior, not a maintainable knowledge base

Google's learning material notes that fine-tuning may use hundreds or thousands of task examples. It suits format, tone, classification habits and specialised behaviour.

It is not an ideal replacement for a changing company handbook. Fine-tuning ten PDFs does not create a citable, versioned and deletable knowledge base.

The expensive part of an AI project is often not the first demo. It is the quiet piece that runs every day afterwards.

A rule typed into one conversation changes that context, not the model forever. Persistent behaviour needs system instructions, retrieval, fine-tuning or application state—and each updates differently.

04 / ARTIFICIAL INTELLIGENCE

Inference is the cost that repeats every day

Pre-training may be a spectacular one-off investment; inference accumulates on every request. Model size, input length, output length, latency targets and tools affect serving cost.

Once a product succeeds, millions of ordinary answers may cost more operationally than the training event that attracted attention.

05 / ARTIFICIAL INTELLIGENCE

A prompt does not permanently change the model

Telling a model always write this way affects the present context unless a product stores and supplies that preference later. Fine-tuning changes weights but does not guarantee compliance.

System instructions, retrieval, tools, fine-tuning and output validation are separate controls, not synonyms.

06 / ARTIFICIAL INTELLIGENCE

First ask which layer you need to change

Use the layer matching the change. For current facts, update a source or RAG index.

For exact calculation, write a tool. For stable task behaviour or style, consider fine-tuning.

Responding to a present request is inference. Waste comes from using the least reversible layer for an outer-layer problem.

The three stages create different data risks

The stages create different data risks. Pre-training data shapes broad capability and bias; fine-tuning data shapes specialised behaviour; inference data may contain today's private material.

Ask not only whether data trains a model, but whether requests are logged, evaluated, cached or passed to another tool.

Fine-tuning still needs an outer system

Fine-tuning never removes the need for permissions, current information, schema validation, safety rules and transaction confirmation. Weights provide tendencies; code provides guarantees.

Maintainable systems keep testable rules in software, changing facts in data sources, and language flexibility in the model.

Choose the most reversible intervention

Prompting is easy to change, retrieval data is updateable, tools can be tested, and fine-tuning changes model behaviour more deeply. Pre-training is deeper still.

Work from the outer, reversible layers inward. Only move closer to the weights when repeated evidence shows that instructions, data and tools cannot produce the required behaviour.

This order reduces cost and makes failures easier to diagnose, because each intervention has a narrower responsibility.

07 / ARTIFICIAL INTELLIGENCE

Teams often put one-off engineering and daily operating cost in the same bucket.

Fine-tuning may be a visible project line item; inference is the quiet recurring cost of every employee, question and attachment. Model choice, input size, output size, caching and tool calls shape the monthly bill.

Fine-tuning is also not a USB stick for company knowledge. It is better at teaching style, format and decision habits; frequently changing policies and prices usually belong in retrieval instead.

08 / ARTIFICIAL INTELLIGENCE

A prompt does not permanently change the model

A rule typed into one conversation changes that context, not the model forever. Persistent behaviour needs system instructions, retrieval, fine-tuning or application state—and each updates differently.

Do not rush to fine-tuning. Measure whether the failure is missing knowledge, bad format or a workflow with no verification. Pick the wrong layer and you use the most expensive tool to fix the cheapest bug.

09 / ARTIFICIAL INTELLIGENCE

Questions people actually ask

Does fine-tuning keep knowledge current?
Usually not. For fast-changing information, retrieval or a maintained data source is a better fit.

Is inference cost just word count?
No. Context, caching, tools, reasoning depth and output length all affect actual usage.

When is fine-tuning worth it?
When the task format is stable, examples are good, volume is high and an evaluation set shows prompting and retrieval are not enough.

Sources

Sources

  1. platform.openai.com/docs/guides/fine-tuning
  2. platform.openai.com/docs/guides/text

Sources support the mechanisms and limitations discussed here. Models, products and prices change; check the official page and date when a detail matters.

No sales pitch at the end.

Just a sharper mental model, so curiosity does not have to become a funnel.

WhatsApp Locke Lee