LogoMap the AI
  • Daily lessons
  • AI news
  • Tracks
  • Topics
  • Your path
  • Roadmap

Training vs Inference

Separate parameter updates, context, caches and application storage when thinking about training and inference.

Try it before reading further

A correction is not model training · 5 min
On this page
  • Follow one example
  • Training can happen in stages
  • Inference can involve several steps
  • What this means for your work
Foundations4 / 17

Read first

  • What Is an LLM?

How necessary is this, by target level

Recommendation score by target level
Beginner33 out of 5
Intermediate44 out of 5
Expert44 out of 5

Next on the main path

What Happens During Pretraining?

Topics

How AI Works

Training updates a model's parameters using data. Ordinary inference uses existing parameters to produce an output. Changing the conversation context is different from updating model weights.

Follow one example

ActionWhat changes?
You correct a name in the conversationThe available context
A product stores your preferenceApplication storage
You fine-tune a model on examplesTrained parameters or adapter weights

Try the linked short lesson above to compare these situations. A better next reply does not by itself prove that training occurred.

Training can happen in stages

Pretraining builds an initial model. Further training can adapt it to instructions or another task. Training is not necessarily a single event, and some approaches update only a subset of parameters or additional adapters.

Hugging Face explains pretraining and fine-tuning.

Inference can involve several steps

Generating text usually involves repeated prediction and decoding steps. Implementations can reuse cached computation, such as a KV cache. Inference does not ordinarily update model weights, but it can change temporary state and application records.

Applications may bring earlier messages, saved preferences or retrieved documents into the next request. Saying “no parameter update” does not mean “nothing is retained.” See Anthropic’s model, tools and memory explanation.

What this means for your work

  • For information needed in one answer, provide relevant context or retrieve it.
  • To change recurring model behavior, evaluate whether training is appropriate; it requires data and validation.
  • Cost depends on model size, data, output length, hardware and request volume. Neither activity is always cheap, and total costs cannot be inferred from the label alone.
  • Whether conversation data is stored or used for later training depends on the product’s policies and settings. Ordinary inference alone does not answer that question.

Remember: distinguish parameter updates, context, temporary caches and product storage.

Next: What happens during pretraining?

On this page

  • Follow one example
  • Training can happen in stages
  • Inference can involve several steps
  • What this means for your work
LogoMap the AI

AI moves fast. Don't lose the map.

The map
  • Tracks
  • Topics
  • Your path
  • Roadmap
Company
  • About
  • Contact
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
© 2026 Map the AI. Operated by NeatSeed LLC. All Rights Reserved.