AI GLOSSARY · AI CONCEPTS

Inference

Markdown version

Definition

Inference is the use of a trained machine learning model to produce outputs, such as predictions or, for a large language model, a generated response to a prompt.

Also called: AI inference, inferencing, model inference, what is inference in AI, what is inferencing in AI, artificial intelligence inference, inference AI.

In plain language

Inference means using a model that has already been trained. IBM's example is a spam detection model that infers whether an email is spam based on the spam examples it saw in training. Google's glossary contrasts it with training, which determines the model's weights.

Technical definition

Google's glossary describes training as determining a model's ideal weights and inference as using those learned weights to make predictions. For autoregressive language generation, inference includes repeatedly predicting the next token from the supplied context using learned model parameters. In statistics, inference has a somewhat different meaning, per Google.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What to try
    Give the skill a model and your GPU, Mac or PC specification.
    What you see
    The skill works out whether an open-weight language model will run on a given GPU, Mac or PC.
    Why it exercises the concept
    It is a check on whether a model can run on a particular machine.

How it shows up when you use agents

Google's glossary defines inference in large language models as the process of using a trained model to generate a response to an input prompt. When an agent sends a prompt to a language model and gets a response back, that exchange is inference in this sense.

Anthropic's pricing page lists separate per-million-token rates for input and output, and separate prompt caching rates. It states that cache write tokens are charged when content is first stored and cache read tokens when a later request retrieves it. See Token for how text is counted.

Worked example: use parameters rather than fit them

Suppose training has produced a toy linear model y = 2x + 1. Supplying x = 3 and calculating y = 7 is inference: the calculation uses the given parameters 2 and 1. Fitting those parameters from examples would be training. This hypothetical arithmetic example does not claim that a model was trained or evaluated on real data.

Common confusions

  • Inference versus training. Google's glossary says training determines a model's weights and inference uses those learned weights to make predictions.
  • Inference versus fine-tuning. Anthropic's glossary defines fine-tuning as further training a pretrained language model using additional data; see fine-tuning.
  • Inference versus statistical inference. Google's glossary notes that inference has a somewhat different meaning in statistics.
Show all 83 related terms

Terms that mention Inference

90 terms mention this one

Guides that mention Inference

More in AI concepts

Next steps

  1. local-model-sizing A skill that exercises it.
  2. Fine-tuning Related term.
  3. Large language model (LLM) Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude and Codex (automated drafting); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-24. Last verified .

Change log (7)
  • : US Google Ads query estimate aligned to cached receipt; close variants may overlap and no traffic is promised.
  • : Independent automated factual and example-source review completed; exact-version technical and demand checks recorded separately. Publication remains disabled.
  • : Codex scope correction after independent source review; peer acceptance pending, not indexable.
  • : First version.
  • : Targeted correction from source-supported early audit; complete exact-version review remains pending.
  • : Stage-3 accuracy pass: dropped the BERT source and unsourced billing, agent-loop and myth claims and two examples; narrowed definitions to IBM, Google and Anthropic text; added statistical-inference and fine-tuning notes.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.