AI GLOSSARY · AI CONCEPTS
Inference
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.
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.
Related terms
Show all 83 related terms
Terms that mention Inference
90 terms mention this one
- Adversarial attack
- Agentic RAG
- AI automation
- AI model
- Model training (AI)
- AI PC
- AI pricing model
- Amazon Bedrock
- Autoencoder
- Autoregressive model
- Backpropagation
- Batch API
- Beam search
- BERT
- Cerebras
- Cloud agent
- ComfyUI
- Compute (AI)
- Convenience sampling
- Core ML
- Data analysis
- Data poisoning
- Data science
- Deep learning
- Edge AI
- Expert system
- Feature store
- Few-shot prompting
- Fine-tuning
- GGUF
- GPT (generative pre-trained transformer)
- GPU for AI
- Gradient descent
- Groq
- HellaSwag
- Hunyuan (Tencent)
- Hyperparameter
- Inference cost
- Jan (local AI app)
- Keras
- KoboldCpp
- KV cache
- llama.cpp
- Llama Guard
- llamafile
- LLMOps
- LM Studio
- LoRA (low-rank adaptation)
- Machine learning (ML)
- Machine learning model
- Matryoshka embeddings
- Mistral (models)
- Mixed-precision training
- Model router (LLM routing)
- Model weights
- Neural network
- Neural processing unit (NPU)
- NVIDIA NIM
- On-device AI
- ONNX (Open Neural Network Exchange)
- Open-weights model
- Provisioned throughput
- PyTorch
- Quantization
- Reinforcement learning
- Replicate
- RunPod
- SambaNova
- Self-hosted LLM
- Serverless GPU
- SGLang
- smolagents
- Sovereign AI
- Speculative decoding
- Symbolic AI
- System prompt
- Temperature (LLM sampling)
- Tensor (machine learning)
- TensorRT
- Text generation
- Text generation web UI
- Together AI
- Top-p sampling
- Tensor Processing Unit (TPU)
- Transformers library (Hugging Face)
- Tree of thoughts (ToT)
- Triton Inference Server
- Variational autoencoder (VAE)
- Vertex AI
- vLLM
Guides that mention Inference
More in AI concepts
Sources
- What is AI inference?, IBM (accessed 2026-11-24)
- Machine Learning Glossary: inference, Google (accessed 2026-11-24)
- Pricing, Anthropic (Claude Docs) (accessed 2026-11-24)
- Glossary, Anthropic (Claude Docs) (accessed 2026-11-24)
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.