Agent memory memory, LLM memory
Mechanisms that let an AI system keep and recall information beyond a single context window.
Building LLM apps
169 large-language-model terms explained in plain English, from attention to zero data retention. Browse by topic for full definitions, or filter the A to Z list.
Each topic page gives every term a short definition, a fuller explanation and links to related terms.
169 terms
Mechanisms that let an AI system keep and recall information beyond a single context window.
Building LLM apps
A multi-step process in which LLMs plan, call tools and act, with control flow set by code or the model.
Building LLM apps
A system where an LLM decides which actions to take, uses tools, observes results and repeats until done.
Building LLM apps
A tool that estimates whether text was written by a person or generated by an AI model.
Safety and governance
Making AI systems pursue the goals their developers and users intend, and act within acceptable limits.
Safety and governance
A secret credential that authenticates your application to a model provider and ties usage to your account.
Business and pricing
A hypothetical AI that can match or exceed people across most cognitive tasks, not just narrow ones.
Fundamentals
The mechanism that lets each token weigh and combine information from other tokens in the sequence.
Model architecture
A model that generates output one token at a time, each conditioned on everything before it.
Fundamentals
A 4-bit quantization method that protects the weights most important to a model's activations.
Inference and deployment
A model straight out of pretraining that continues text but hasn't been tuned to follow instructions.
Fundamentals
An asynchronous way to submit many requests at once, typically at half price with results within 24 hours.
Business and pricing
A standardized test set and scoring method used to compare models on a specific skill.
Evaluation and benchmarks
When benchmark questions or answers appear in a model's training data, inflating its scores.
Evaluation and benchmarks
A classic keyword-ranking formula that scores documents by term frequency, rarity and length.
Building LLM apps
A subword tokenization method that builds a vocabulary by repeatedly merging the most frequent adjacent symbol pairs.
Fundamentals
When training on new data makes a model lose skills or knowledge it previously had.
Training
Getting a model to write out intermediate reasoning steps before giving its final answer.
Prompting
A base model further trained to follow instructions and hold a conversation in turns.
Fundamentals
A saved snapshot of a model's weights, and often its training state, at a point in training.
Training
Splitting documents into smaller passages before embedding them, so retrieval returns focused, relevant text.
Building LLM apps
References in a model's answer that point to the specific sources supporting each claim.
Building LLM apps
Agents that operate a computer or browser through screenshots, mouse clicks and keystrokes, like a person.
Building LLM apps
Anthropic's method of training models to follow a written set of principles using AI-generated feedback.
Safety and governance
Deciding what information goes into a model's context window, in what form and order, at each step.
Prompting
The maximum number of tokens a model can consider at once, covering both input and output.
Fundamentals
The unsettled legal questions over training AI models on copyrighted works without permission.
Safety and governance
A measure of how closely two vectors point in the same direction, widely used to compare embeddings.
Building LLM apps
How LLM APIs charge: a set price per million input tokens and a usually higher one for output.
Business and pricing
The standard training objective for LLMs, measuring how much probability the model gave the correct next token.
Training
Corrupting a model's training data so it learns hidden behaviors, biases or backdoor triggers.
Safety and governance
A transformer made only of decoder layers that predicts the next token from the tokens before it.
Model architecture
Model capacity reserved for one customer, billed by time instead of per token.
Business and pricing
A model that generates text by refining a whole draft in parallel over several steps, not token by token.
Model architecture
A simpler alternative to RLHF that trains directly on preferred-versus-rejected answer pairs.
Training
Training a smaller student model to imitate a larger teacher model's outputs.
Training
A rating system from chess, adapted by crowdsourced leaderboards that rank models from head-to-head votes.
Evaluation and benchmarks
A list of numbers that represents the meaning of a token, sentence or document as a point in space.
Fundamentals
A model that converts text into vectors so that similar meanings produce nearby vectors.
Building LLM apps
Skills that seem to appear suddenly once models pass a certain scale, rather than improving gradually.
Fundamentals
A transformer component that reads a whole input at once, in both directions, to build representations of it.
Model architecture
One complete pass of a training process through the entire training dataset.
Training
The European Union's risk-based law regulating AI systems and general-purpose AI models.
Safety and governance
A curated set of test inputs, with expected outputs or grading criteria, used to measure an LLM application.
Evaluation and benchmarks
Systematically measuring how well a model or LLM application performs on the tasks you care about.
Evaluation and benchmarks
The per-token neural network inside each transformer layer that transforms what attention gathered.
Model architecture
Including a few worked examples in the prompt so the model copies the pattern.
Prompting
Further training a pretrained model on a smaller, targeted dataset to change its behavior.
Training
A fast, memory-efficient way to compute exact attention by working in small tiles inside fast GPU memory.
Model architecture
Counts of floating-point arithmetic operations, the standard unit for training and inference compute.
Inference and deployment
A large model trained on broad data that can be adapted to many downstream tasks.
Fundamentals
One of the most capable models available at a given time, usually from a well-funded lab.
Fundamentals
A single-file model format from the llama.cpp project, widely used to run quantized models locally.
Inference and deployment
A hard multiple-choice science benchmark written by PhD-level experts and designed to resist web search.
Evaluation and benchmarks
A post-training method that compresses model weights to about 3-4 bits using a small calibration set.
Inference and deployment
The parallel processor that trains and runs most LLMs; memory size and bandwidth matter most.
Inference and deployment
Always choosing the single most likely next token, with no randomness.
Inference and deployment
Tying a model's answers to specific, verifiable sources such as retrieved documents, data or search results.
Building LLM apps
A reinforcement learning method that scores each answer against a group of answers to the same prompt.
Training
An attention variant where groups of query heads share key and value heads to shrink the KV cache.
Model architecture
Checks placed around a model to block, filter or correct unsafe, off-topic or malformed inputs and outputs.
Safety and governance
When a model states something false or unsupported with the same confidence as a fact.
Fundamentals
An OpenAI coding benchmark of 164 Python problems, each checked by running unit tests.
Evaluation and benchmarks
Combining keyword search and semantic vector search so each covers the other's blind spots.
Building LLM apps
A model's ability to pick up a new task from instructions or examples in the prompt, without retraining.
Prompting
Running a trained model to produce output, as opposed to training it.
Inference and deployment
Software that loads a model and serves it efficiently, handling batching, memory and scheduling.
Inference and deployment
A company that runs models on its own hardware and sells access through an API, usually priced per token.
Business and pricing
Supervised training on instruction-and-response examples so a model learns to follow requests.
Training
A prompt crafted to trick a model into producing content its safety training is meant to refuse.
Safety and governance
The date after which a model's training data stops, so it knows little about later events.
Fundamentals
Memory that stores attention keys and values for earlier tokens so they aren't recomputed each step.
Inference and deployment
A neural network trained on huge amounts of text to predict and generate language.
Fundamentals
How long you wait for a response, from sending a request to receiving the full answer.
Inference and deployment
Rescaling each token's vector to a consistent range inside every layer, which keeps training numerically stable.
Model architecture
The setting that controls how big a step the model's weights take on each training update.
Training
An open-source C/C++ engine for running LLMs efficiently on CPUs, Macs and consumer GPUs.
Inference and deployment
Using a language model to grade or compare other models' outputs against a rubric.
Evaluation and benchmarks
The raw, unnormalized scores a model assigns to every token in its vocabulary at each step.
Inference and deployment
The log probabilities a model assigned to the tokens it generated, exposed by some APIs.
Inference and deployment
The ability to process very long inputs, from hundreds of thousands to millions of tokens.
Fundamentals
A cheap fine-tuning method that trains small add-on matrices instead of the whole model.
Training
The tendency of models to use information at the start or end of a long input better than the middle.
Evaluation and benchmarks
The cap you set on how many tokens a model may generate in one response.
Inference and deployment
An architecture that routes each token to a few specialist sub-networks, so only part of the model runs per token.
Model architecture
Apple's open-source machine learning framework, optimized for running and fine-tuning models on Apple silicon.
Inference and deployment
A widely cited multiple-choice benchmark covering 57 subjects, from math and law to medicine.
Evaluation and benchmarks
A document describing a model's intended uses, training, evaluation results, limitations and risks.
Safety and governance
Quality decay when models are trained repeatedly on data generated by earlier models.
Training
An open standard for connecting AI applications to tools and data sources through a common interface.
Building LLM apps
The legal terms that govern how you may use, modify and distribute a model's weights and outputs.
Business and pricing
Sending each request to the most suitable model, often a cheap one first, with fallbacks for failures.
Building LLM apps
An application in which several LLM agents with different roles or tools collaborate on a task.
Building LLM apps
Able to take in or produce more than one kind of data, such as text, images and audio.
Fundamentals
A long-context test that hides one fact in a long document and asks the model to find it.
Evaluation and benchmarks
How many bits are used to store each number in a model, trading accuracy for memory and speed.
Inference and deployment
A free tool that downloads and runs open-weights models locally with simple commands and an API.
Inference and deployment
Running models directly on a phone, laptop or other local hardware instead of in the cloud.
Inference and deployment
The Open Source Initiative's standard for when an AI system can properly be called open source.
Safety and governance
A model whose trained parameters are published for anyone to download and run.
Fundamentals
When a model learns its training examples too closely and performs worse on new data.
Training
Ways of splitting a model's training or serving across many GPUs so it fits in memory and runs faster.
Training
A family of fine-tuning methods that train a small number of new or selected parameters instead of the whole model.
Training
The learned numbers inside a model; their count is the usual measure of model size.
Fundamentals
The probability that at least one of k generated attempts at a problem is correct.
Evaluation and benchmarks
A measure of how well a model predicts text; lower means the model is less surprised.
Evaluation and benchmarks
Information that can identify a specific person, such as names, emails, phone numbers or ID numbers.
Safety and governance
Information added to a transformer so it knows the order of tokens, since attention alone ignores order.
Model architecture
Everything done to a pretrained model to turn it into a useful, safer assistant.
Training
The first, most expensive training stage, where a model learns language by predicting the next token.
Training
Reusing the processed form of a repeated prompt prefix to cut cost and latency on later requests.
Business and pricing
Breaking a task into a sequence of prompts where each step's output feeds the next.
Prompting
Designing and testing the instructions and context you give a model to get reliable results.
Prompting
An attack that hides instructions in content a model reads, hijacking it to ignore or override its real instructions.
Safety and governance
A reusable prompt with placeholders, or the model-specific format that wraps chat messages.
Prompting
A reinforcement learning algorithm that improves a model in small, controlled steps; the classic RLHF optimizer.
Training
LoRA fine-tuning on top of a 4-bit quantized base model, cutting memory needs dramatically.
Training
Storing a model's numbers at lower precision to cut memory use and speed up inference.
Inference and deployment
Using a model to reformulate a user's question into better search queries before retrieval.
Building LLM apps
A provider-imposed cap on how many requests or tokens you can send in a given time window.
Business and pricing
An agent pattern in which a model alternates between reasoning about a task and taking tool actions.
Building LLM apps
An LLM trained to work through a problem in intermediate steps before giving its final answer.
Fundamentals
Deliberately attacking a model or AI application to find harmful behaviors and security weaknesses before others do.
Safety and governance
Training a model to produce answers people prefer, using a reward model learned from human rankings.
Training
Reinforcement learning where rewards come from automatic checks, such as a correct answer or passing tests.
Training
A setting that lowers the scores of tokens already used, to discourage loops and repeated phrases.
Inference and deployment
A model that re-scores an initial list of search results to put the most relevant ones first.
Building LLM apps
A shortcut that adds a layer's input to its output, keeping signals and gradients flowing through deep networks.
Model architecture
Finding and returning the most relevant pieces of information from a collection for a given query.
Building LLM apps
Fetching relevant documents at query time and adding them to the prompt so the model answers from them.
Building LLM apps
A model trained to score responses by how much people, or a rubric, would prefer them.
Training
Telling a model to adopt a role or persona, such as an experienced editor, to shape its responses.
Prompting
A widely used way of encoding token positions by rotating query and key vectors by position-dependent angles.
Model architecture
Empirical rules that predict how model quality improves as you add parameters, data and compute.
Training
Sampling several independent answers and picking the most common one to improve accuracy.
Prompting
Running models on hardware you control, in your data center or cloud account, instead of calling an API.
Inference and deployment
Search that matches by meaning rather than exact keywords, usually by comparing embeddings.
Building LLM apps
Calling models on shared infrastructure and paying only for what you use, with no servers to manage.
Business and pricing
Attention limited to a fixed number of recent tokens, keeping cost and memory from growing with length.
Model architecture
A language model small enough to run cheaply or on a single device, often under about 10B parameters.
Fundamentals
A function that turns a list of raw scores into probabilities that are positive and sum to one.
Model architecture
Reserved tokens that mark structure, such as the start of a message or the end of output.
Fundamentals
A speed-up where a small model drafts several tokens and the large model checks them all at once.
Inference and deployment
A sequence architecture that carries a fixed-size running state instead of attending over every past token.
Model architecture
A string that tells the model to end generation as soon as it produces it.
Inference and deployment
Sending a model's output to the client piece by piece as it is generated, rather than all at once.
Inference and deployment
Forcing a model's output to follow a defined format, typically valid JSON matching a schema you supply.
Building LLM apps
A benchmark that tests whether a model or agent can resolve real GitHub issues in Python projects.
Evaluation and benchmarks
A model's tendency to tell users what they want to hear rather than what is accurate.
Safety and governance
Training or test data generated by a model or program rather than collected from people.
Training
Standing instructions, set by the developer, that shape a model's behavior for an entire conversation.
Prompting
A sampling setting that controls how random or predictable a model's word choices are.
Inference and deployment
Extra computation spent while answering, such as longer reasoning, to get better results.
Inference and deployment
How much work a system completes per unit of time, such as total tokens per second across all users.
Inference and deployment
How long a model takes to start responding after receiving a request.
Inference and deployment
The basic unit of text a language model reads and writes, often a word or word fragment.
Fundamentals
A planned limit on how many tokens a request, user, feature or task may consume.
Business and pricing
Splitting text into the tokens a model uses, and mapping each one to an ID number.
Fundamentals
How fast a model generates output, the standard measure of LLM generation speed.
Inference and deployment
Letting a model request that your code run a defined function, then using the result in its answer.
Building LLM apps
A sampling setting that restricts each choice to the k most likely next tokens.
Inference and deployment
A sampling setting that limits choices to the smallest set of tokens covering a set share of probability.
Inference and deployment
The neural network design behind nearly all modern LLMs, built around the attention mechanism.
Model architecture
A technique where a model explores and evaluates multiple branching lines of reasoning, backtracking as needed.
Prompting
A database built to store embeddings and quickly find the ones most similar to a query.
Building LLM apps
A popular open-source engine for serving LLMs at high throughput on GPUs.
Inference and deployment
The memory on a GPU, which must hold the model's weights plus working memory to run it.
Inference and deployment
Embedding a hidden, detectable signal in AI-generated content so it can later be identified as machine-made.
Safety and governance
An arrangement in which an AI provider does not store your prompts and outputs after processing them.
Safety and governance
No terms match that filter. Try a shorter word.
Tell us what you're building. Within 2 business days you get a model shortlist, an architecture outline and a cost estimate, plus optional introductions to vetted implementation partners.