AI Glossary

The words people use without explaining. Short definitions, plain English, and a link when you want the long version.

Last updated: November 3, 2026

Table of Contents

Text & models

Token

The unit of text a model reads and writes. English averages roughly 0.75 words per token; code and non-English text can be much denser. Context windows, pricing, and speed are all measured in tokens.

→ Context windows

Parameter

A learned weight inside the model. “7B” means 7 billion parameters. In a mixture-of-experts model, total and active parameters differ: a 30B-A3B model has 30B total but activates about 3B per token.

→ Model sizes · Dense vs. MoE

Context window

The maximum amount of material a model can work with in one request, measured in tokens. Instructions, conversation history, documents, and generated output share that space. A larger window lets you supply more material; it does not guarantee the model will use all of it well.

→ Context windows

Inference

Running a trained model to produce output. It happens in two phases: prefill (reading the prompt) and decode (generating tokens one at a time). Inference is what you pay for in latency and memory; training is what produced the weights.

→ Start Here

Dense model

A model that uses the same network for each token, with most of its weights involved at every step. Its parameter count is a useful first estimate of both weight memory and the work needed to generate a token.

→ Dense vs. MoE

Mixture of experts / MoE

A model that routes each token through a few selected expert networks. Active parameters help indicate computation per token; total parameters determine how much weight data must be stored. A small active count can make a large model cheaper to run, but all those experts still have to live somewhere.

→ Dense vs. MoE

Multimodal

Able to work with more than one type of data, such as text, images, or audio. Check the inputs and outputs separately: a model that can describe a photograph may still be unable to generate one.

Open-weight

A model whose trained weights are available to download and run yourself. The training data and code may remain private, and the license may restrict reuse. Check what was released and under which terms before treating “open” as a complete description.

→ Open-weight vs. open-source

Fine-tuning

Further training an existing model on examples for a task, domain, or style. It changes learned behavior and can be saved as updated weights or an adapter. The quality of the examples matters: training on bad answers can make the model more consistent at giving bad answers.

LoRA

Low-rank adaptation. A way to fine-tune a model by training small add-on weights while leaving the original weights fixed. The resulting adapter is compact, but it still depends on the matching base model; its size is not the total memory needed to run it.

Prompting & sampling

Prompt

The instructions and context you give the model: system message, user message, documents, tool outputs. The prompt consumes the context window, and its ordering affects what the model notices.

→ Context windows

System prompt

The standing instructions an app supplies alongside your messages: the model’s role, tone, rules, and background context. They use part of the context window and help shape each response. The same model can behave differently under a different system prompt.

→ Context windows

Temperature

A sampling setting that controls randomness. Temperature 0 is near-deterministic — it picks the most likely token; higher values flatten the distribution and produce more varied output. It doesn’t make the model smarter, just less predictable.

Top-p

A sampling setting that limits the pool of possible next tokens. At 0.9, it keeps the smallest group of likely tokens whose probabilities add up to at least 90%. Lower values narrow the choices; higher values leave more options. Also called nucleus sampling.

Effort / thinking

A reasoning budget. Low, medium, or high — or a token budget — tells the model how much internal reasoning to spend before answering. More effort can improve hard tasks, but it costs latency and tokens, and can hurt simple ones.

→ Reasoning modes and effort budgets

AI model steering

Guiding a model toward a particular behavior, style, or task. Prompts, fine-tuning, and interventions while the model runs can all steer it. The term covers several methods; activation steering is one specific technique. Steering can change how a model behaves without making its answers more accurate.

Activation steering

Changing a model’s internal signals while it runs to push its output in a chosen direction. Often this means adding a steering vector: a set of numbers that nudges a behavior, tone, or topic. The original weights can stay unchanged, but the intervention can have unwanted side effects.

Prompt contamination

The tendency of large language models (LLMs) to carry over, build upon, or get skewed by past prompts, context windows, irrelevant demonstrations, or previous instructions when generating new outputs.

→ Context quality and context limits

Memory & compression

Quantization

Storing weights — and sometimes the KV cache — at lower precision (8-bit, 4-bit) to save memory and bandwidth. It’s lossy compression: smaller and faster, with some quality risk. Weight quantization and KV cache quantization are separate settings.

→ Quantization · KV cache compression

Distillation

Training a smaller “student” model to imitate a larger “teacher” model’s outputs or behavior. It’s a training technique, not a compression format — a distilled model can still be quantized afterward.

→ Distillation explained

KV cache

The saved keys and values from a model’s attention layers. They let it reuse work from earlier tokens while generating new ones. The cache uses memory alongside the weights and usually grows with context; architecture and cache settings determine how quickly.

→ KV cache compression

VRAM

The memory attached to a dedicated GPU. Model weights, the KV cache, and working buffers all compete for it. A model file that is smaller than the card’s advertised VRAM can still run out of memory once you add a long conversation.

→ Hardware · VRAM Fit Calculator

Unified memory

A shared memory pool the CPU and GPU can both use, as on Apple silicon. It lets the GPU work with a large pool without copying everything between separate memories. The operating system, other apps, and GPU allocation limits still determine how much is available for your model.

→ Hardware

Offloading

Placing some model data or work on another device or memory tier. Keeping weights in system RAM or on an SSD can let a model run when GPU memory is too small, usually at a speed cost. “GPU offload” moves supported work onto the GPU; check which direction a setting means.

→ Runtimes and inference engines

GGUF

A file format used by llama.cpp and compatible tools to package model weights and the information needed to load them. It supports several precisions. GGUF names the container; labels such as Q4_K_M and Q8_0 describe how weights inside it are stored.

→ Quantization · Runtimes and inference engines

Retrieval & agents

Hallucination

A confident but false or unsupported output. The model isn’t lying; it’s completing a pattern without grounding. Retrieval, citations, and lower temperature reduce it, but none eliminate it.

RAG

Retrieval-augmented generation. Instead of hoping the model remembers a fact, you fetch relevant documents and put them in the prompt. It’s cheaper than fine-tuning for fresh knowledge and more reliable than a bigger context window for large corpora.

→ RAG FAQ

Embedding

A list of numbers that represents text or other input. Search systems compare these representations to find material with similar meaning. In RAG, embeddings help choose which passages go into the prompt; they do not verify whether those passages are true.

→ Specialized local AI models

Agent

A model wrapped in a loop with tools, memory, and a goal. It plans, acts, observes the result, and repeats until done. The model is the engine; the loop and tools are what make it an agent.

→ Harness vs. agent FAQ

Harness

The scaffolding around a model that turns it into an agent: tool definitions, the loop, output parsing, retries, context management. Benchmark scores often measure the model-plus-harness, not the model alone.

→ What is an agent harness?

Tool calling

A model producing a structured request for software to do something: search, run a calculation, or read a file. The application executes the request and returns the result. A successful-looking tool call still needs valid arguments, an available tool, and permission to run.

→ Agent harnesses

MCP

Model Context Protocol. A standard way for AI applications to connect to tools and data sources. An MCP server exposes capabilities; a compatible app connects to them. It standardizes the connection, while the model and harness still determine how those capabilities get used.

→ Agent harnesses

Prompt injection

An attempt to make a model follow instructions in untrusted material, such as a web page, document, or tool result, that redirect it from your task. The problem is treating that material as authority. For agents, this can influence tool calls as well as the answer.

Running models & performance

Runtime / inference engine

The software that loads a model and performs the calculations needed to produce output. It handles hardware, memory, supported formats, and generation settings. The runtime helps determine whether a model runs on your machine and how well it uses the hardware.

→ Runtimes and inference engines

Memory bandwidth

How much data memory can move per second, usually measured in GB/s. It often limits generation speed in a single local chat because weights must be read repeatedly. Memory capacity determines what fits; bandwidth helps determine how quickly it runs.

→ Hardware

Prefill / decode

The two main stages of text generation. Prefill processes the prompt and builds the state needed to answer; decode generates new tokens. A runtime can be fast at one and slow at the other, so prompt-processing speed and output speed need separate measurements.

→ Context windows

Time to first token / TTFT

The delay between sending a request and receiving its first generated token. Prompt processing, queueing, and network time can all contribute. A reasoning model may take longer to show its actual answer, so check what a benchmark counts as the first token.

→ Context windows

Tokens per second / tok/s

A measure of processing or generation speed. Check whether the number describes input tokens, output tokens, or a server’s combined output across many users. For a local chat, output tokens per second tells you how quickly the response is generated once it starts.

→ Benchmarks

Prompt caching

Reusing earlier computation for an unchanged beginning of a prompt. It can reduce startup time when requests share the same instructions, documents, or conversation history. The cache saves repeated processing; the model’s context limit still applies, and new output still needs to be generated.

→ Runtimes and inference engines · Context windows

Common confusions

  • Parameter vs. token: parameters are weights inside the model; tokens are chunks of text.
  • Quantization vs. distillation: quantization compresses an existing model; distillation trains a new, smaller one.
  • Agent vs. model: the model is the engine; the agent is the loop, tools, and memory around it.
  • Harness vs. model: the same model can score differently under different harnesses.
  • RAG vs. long context: retrieval for large or fresh corpora; long context for whole-document reasoning. Most production systems use both.
  • Temperature vs. top-p: temperature reshapes the probability distribution; top-p (nucleus sampling) truncates it to the smallest set of tokens whose cumulative probability exceeds p. Both are sampling controls.
  • Steering vs. fine-tuning: steering is the broader goal of directing behavior; fine-tuning is one way to do it. Activation steering intervenes in the running model’s internal signals.
  • Context window vs. KV cache: the context window is a limit on tokens; the KV cache is memory used to help process those tokens efficiently.
  • Memory capacity vs. bandwidth: capacity is how much data fits; bandwidth is how quickly that data can move.
  • GGUF vs. quantization: GGUF is a file format; quantization is a choice about the precision of the numbers stored in it.
  • Tool calling vs. MCP: tool calling is how a model requests an action; MCP is one way the application connects to the tools that perform it.

Go deeper