AI glossary.

37 terms in AI search, models and agents, each defined in a sentence you can quote.

Models

Large language model (LLM)

A large language model (LLM) is a neural network trained on very large amounts of text to predict the next token, which lets it answer questions, write and summarize text, and follow instructions.

Most current LLMs use the transformer architecture and have billions of parameters.

Often confused with: Small language model

Small language model (SLM)

A small language model (SLM) is a language model with far fewer parameters than the largest LLMs, small enough to run cheaply or on a single device such as a laptop or phone.

There is no fixed size cutoff: the term is relative to the large models of the day.

Often confused with: Large language model

Vision language model (VLM)

A vision language model (VLM) is a model that takes images and text as input and writes text, so it can describe a picture, read a chart or answer questions about a screenshot.

It is one kind of multimodal model.

Often confused with: Multimodal model

Multimodal model

A multimodal model is an AI model that can take in, and sometimes produce, more than one kind of data, such as text, images, audio or video.

A model that reads text and images but only writes text is still multimodal.

Often confused with: Vision language model

Foundation model

A foundation model is a large model trained on broad data that can be adapted to many tasks, by prompting or fine-tuning, instead of being built for one task.

Large language models are the best-known foundation models.

Reasoning model

A reasoning model is a language model trained to work through a problem in intermediate steps before it gives a final answer, spending more computation on harder questions.

The extra steps help most on math, code and planning, and they cost more time and tokens per answer.

Tokens

Tokens are the units of text a language model reads and writes: whole words, parts of words, punctuation or other characters, depending on the model's tokenizer.

Context windows, speed and usage prices are usually counted in tokens.

Context window

A context window is the maximum amount of text, counted in tokens, that a language model can take into account at once, including the prompt, any attached documents and its own reply.

The model does not see anything outside the window unless it is retrieved and added again.

Inference

Inference is running a trained model to produce an output, such as an answer to a prompt, as opposed to training it.

The time, cost and energy of inference grow with the size of the model and the number of tokens it handles.

Fine-tuning

Fine-tuning is further training of an already trained model on a smaller, focused dataset, so it gets better at a specific task, domain or style.

It changes the model's weights, where prompting and retrieval only change its input.

Distillation

Distillation is a training method in which a smaller model, the student, learns to reproduce the outputs of a larger model, the teacher.

The student keeps much of the teacher's ability and costs less to run.

Hallucination

A hallucination is an output from an AI model that sounds plausible but is false or not supported by its sources, such as an invented fact, quote or citation.

Grounding and retrieval reduce hallucinations but do not remove them.

Grounding

Grounding is tying a model's answer to specific source material, such as retrieved documents or search results, so the answer can be checked against those sources.

Retrieval-augmented generation is a common way to ground answers.

Often confused with: Retrieval-augmented generation

Embeddings

Embeddings are lists of numbers (vectors) that represent the meaning of text, images or other data, placed so that similar items sit close together.

Search systems compare embeddings to find passages related to a query by meaning, not only by shared words.

Agents and systems

AI agent

An AI agent is a system in which a language model decides which steps to take and uses tools, such as search, code or APIs, to carry out a task with limited human input.

Agents usually run in a loop: plan, act, look at the result, then decide the next step.

Often confused with: Agentic AI

Agentic AI

Agentic AI is a broad term for AI systems that pursue a goal over several steps, choosing actions and using tools on their own instead of answering one prompt at a time.

An AI agent is a single system; agentic AI names the approach.

Often confused with: AI agent

Tool calling

Tool calling, also called function calling, is a model's ability to answer with a structured request to run an outside function, such as a search, a calculation or an API call, instead of plain text.

The application runs the function and passes the result back to the model, which uses it in its answer.

Model Context Protocol (MCP)

The Model Context Protocol (MCP) is an open-source standard for connecting AI applications to external systems, such as data sources, tools and workflows.

An MCP server exposes tools, resources and prompts, and an MCP client inside an AI application connects to it.

Source: What is the Model Context Protocol (MCP)?

Multi-agent system

A multi-agent system is a setup in which several AI agents, often with different roles, work on parts of one task and pass work between them.

A common split gives one agent the plan, others the subtasks, and another the review of the result.

Evals

Evals, short for evaluations, are repeatable tests that measure how well an AI model or system performs on a defined set of tasks, with fixed inputs and a way to score the outputs.

Teams run them before and after a change to see whether it made the system better or worse.

Retrieval-augmented generation (RAG)

Retrieval-augmented generation (RAG) is a technique where a language model retrieves relevant documents from an external source at query time and uses them to ground its answer.

It pairs a search step with the generation step so responses can cite current, specific sources.

Explainer: How do AI answers choose their sources?Often confused with: Grounding

Vector database

A vector database is a database built to store embeddings and quickly find the ones nearest to a query's embedding.

Retrieval-augmented generation systems often use one to find passages that match a question by meaning.

Reranker

A reranker is a model that takes the results of a first, faster search step and puts them in a more accurate order of relevance to the query.

It reads the query and each result together, which usually gives a better order than comparing embeddings alone, at a higher cost per result.