AI Glossary

Plain-English definitions of the AI terms you'll actually meet.

The jargon around language models piles up fast — tokens, context windows, RAG, temperature, quantization. This is ai terms explained without the hand-waving: a searchable set of cards covering the llm terminology you run into when you start building, each defined in a sentence or two of plain English. Type to filter live or narrow by category, and use it as a quick machine learning glossary to look up a word mid-project instead of wading through a dozen docs.

40 terms in the glossary

Token

Basics

Also: tokens

The unit a language model reads and bills by — roughly four characters of English, so a token is often part of a word rather than a whole one. Prices are quoted per million tokens.

Tokenizer

Basics

The component that splits text into tokens before the model sees it. Each model family uses its own vocabulary, so the same sentence can be a different number of tokens on GPT, Claude or Gemini.

Context window

Basics

Also: context length, context size

The maximum number of tokens a model can hold at once — your prompt plus its reply. Everything beyond it is truncated or has to be dropped.

Prompt

Prompting

The full text you send the model: instructions, examples, documents and the question. The model only knows what is in the prompt plus what it learned in training.

System prompt

Prompting

Also: system message

A separate instruction that sets the model's role and rules for a whole conversation, sent ahead of the user messages and usually resent on every turn.

Completion

Basics

Also: output, generation

The text the model generates in response to your prompt. Output tokens are billed separately from input, almost always at a higher rate.

Temperature

Prompting

A setting from 0 to about 2 that controls randomness. Low values make the model pick the most likely next token (focused, repeatable); high values spread the choice out (varied, less predictable).

Top-p

Prompting

Also: nucleus sampling

An alternative to temperature that limits the model to the smallest set of next tokens whose probabilities add up to p. Lower p keeps output on the safe, likely path.

Hallucination

Basics

When a model states something false or invented as if it were fact. It happens because the model predicts plausible text, not verified truth — grounding it with retrieved sources reduces but never removes it.

LLM

Models

Also: large language model

A large language model — a neural network trained on huge amounts of text to predict the next token. GPT, Claude and Gemini are all LLMs.

Parameters

Models

Also: weights

The learned numbers inside a model, counted in billions. More parameters can mean more capability but also higher cost and latency; a bigger model is not always the right one.

Inference

Cost & limits

Running a trained model to get an answer, as opposed to training it. Every API call you make is an inference call, billed by the tokens in and out.

Fine-tuning

Training

Continuing to train a base model on your own examples so it adopts a style or task. It has a one-time training cost and the resulting model is billed per token at inference like any other.

Embedding

Retrieval

Also: vector, embeddings

A list of numbers that captures the meaning of a piece of text so similar texts sit close together. Embeddings power semantic search and retrieval.

Vector database

Retrieval

Also: vector store

A database built to store embeddings and find the nearest ones to a query fast. It is the memory a retrieval system searches at query time.

RAG

Retrieval

Also: retrieval augmented generation

Retrieval-augmented generation — fetching relevant documents and pasting them into the prompt so the model answers from your data instead of memory alone.

Prompt caching

Cost & limits

A provider feature that stores a repeated prompt prefix (like a long system prompt) so resending it costs a fraction of the normal input rate.

RPM

Cost & limits

Also: requests per minute

Requests per minute — a rate limit on how many API calls you can make each minute, separate from the token limit.

TPM

Cost & limits

Also: tokens per minute

Tokens per minute — a rate limit on the total tokens (input plus output) you can push through each minute. Large requests hit this before the request limit.

Latency

Cost & limits

The time between sending a request and getting the response. It grows with output length and model size; streaming hides it by showing tokens as they arrive.

Streaming

Basics

Returning the completion token by token as it is generated, so the user sees text appear immediately instead of waiting for the whole reply.

Function calling

Prompting

Also: tool use, tools

Letting a model return a structured request to call one of your functions — check the weather, query a database — so it can act on the world instead of only writing text.

Agent

Prompting

A system that lets a model plan and take multiple steps toward a goal, calling tools and reacting to results in a loop rather than answering in one shot.

Chain of thought

Prompting

Also: CoT, reasoning

Prompting a model to work through a problem step by step before answering, which improves accuracy on maths and logic at the cost of more output tokens.

Few-shot

Prompting

Also: in-context learning

Putting a handful of worked examples in the prompt so the model copies the pattern. Zero-shot means giving none and relying on the instruction alone.

Zero-shot

Prompting

Asking a model to do a task with only an instruction and no examples. It works when the task is common; harder tasks usually benefit from a few examples.

Transformer

Models

The neural-network architecture behind modern language models. Its attention mechanism lets every token weigh every other token, which is what made large-scale language models work.

Attention

Models

The mechanism a transformer uses to decide which other tokens matter when processing each token. It is why context length is expensive — cost grows quickly as the window gets longer.

Quantization

Models

Storing a model's weights at lower numeric precision (say 8-bit instead of 16-bit) to shrink memory and speed inference, usually with a small quality trade-off.

Distillation

Training

Training a smaller "student" model to imitate a larger "teacher" so you get most of the quality at a fraction of the cost and latency.

Pre-training

Training

The first, most expensive training phase, where a model learns language from a huge general corpus. Fine-tuning and alignment come afterward on top of it.

RLHF

Training

Also: reinforcement learning from human feedback

Reinforcement learning from human feedback — using human preference ratings to steer a model toward helpful, safe answers after pre-training.

Alignment

Training

The work of making a model behave the way people intend — helpful, honest and safe — rather than just fluent. RLHF is one common alignment technique.

Multimodal

Models

Also: vision, vision model

A model that handles more than text — images, audio or video as well. Vision models turn an image into tokens and bill for them alongside the text prompt.

Prompt injection

Prompting

An attack where hidden instructions in retrieved or user content trick a model into ignoring its real rules. A leading risk for agents that read untrusted text.

Context length

Basics

Another name for the context window — the token budget a model can process in a single call, shared between your input and its output.

Max tokens

Cost & limits

Also: max output

A cap you set on how many tokens the model may generate in its reply. It controls cost and stops runaway output, but set too low it truncates the answer.

Batch API

Cost & limits

A cheaper, slower processing mode where you submit many requests at once and collect results later — often around half price for work that is not time-sensitive.

Guardrails

Prompting

Checks around a model that filter inputs or outputs — blocking unsafe content, enforcing a format, or catching prompt injection — so the raw model is not trusted blindly.

Grounding

Retrieval

Tying a model's answer to specific supplied sources so it can cite them and is less likely to invent facts. Retrieval is the usual way to ground a response.

How it works

  1. 1

    Search a term

    Type any word — token, embedding, hallucination — and the list filters as you go, matching the term name, its aliases and the definition text.

  2. 2

    Filter by category

    Tap a category chip like Prompting, Retrieval or Cost & limits to show just those terms when you're learning one area at a time.

  3. 3

    Read the definition

    Each card gives the term, its common aliases and a plain-language explanation of what it means and why it matters in practice.

Instant & 100% private — nothing is uploaded

Every calculation runs locally in your browser. The prompts, token counts and numbers you enter stay on your own device and are never sent to a server — nothing is stored, logged or shared.

Frequently asked questions

Who is this AI glossary for?
Anyone getting started with language models — developers, product managers, writers and founders — who keeps running into terms like RAG, context window or fine-tuning and wants a straight answer. The definitions skip the maths and explain what each term means when you're actually building or budgeting.
How do I find a term fast?
Type it into the search box and the cards filter instantly, matching the name, common aliases and the definition itself, so searching 'retrieval augmented generation' finds RAG. You can also tap a category chip to browse one area, or clear the filter to read the whole list.
Are these formal or plain-language definitions?
Plain-language, on purpose. Each term is explained in a sentence or two the way you'd describe it to a colleague, with the practical 'why it matters' rather than a textbook formula. For rigorous specifications, follow up with the relevant provider or research documentation.
Why do some terms have aliases?
The same idea often goes by several names — RAG and 'retrieval augmented generation', tokens per minute and TPM, chain of thought and CoT. The aliases are listed so a search finds the term whichever name you know it by, and so you recognise it when it shows up written differently elsewhere.

Important

For planning and estimates only. Prices come from a published rate table dated on the page; providers change pricing without notice, and token counts here are approximations. Confirm against the provider’s own pricing before you budget or commit.