CS concepts

AI Chatbot Terms Explained: Token, Context Window and More

Updated Nov 27, 2026 · 3 min read

Five words cover most chatbot jargon. A token is a small chunk of text, about three quarters of a word in English. The context window is how much the bot can see at once. A hallucination is a false answer said with confidence. Inference is every reply a trained model gives. An agent is an AI that takes steps for you.

Watch onYouTubeInstagram

Key points

  • ●Token: a chunk of text, often part of a word; chatbot limits and prices are counted in them.
  • ●Context window: how much the bot can keep in view; long chats push early messages out.
  • ●Hallucination: confident and false, like the made-up cases two New York lawyers cited in 2023.
  • ●Inference: training happens once, inference is every reply after that.
  • ●Agent: an AI that acts, like clicking through websites for you.
Step-by-step visual sheet: AI Chatbot Terms
The full visual sheet, made with Edithly.Open the interactive sheet

Five words you nod along to

People drop these words into every meeting about AI: token, context window, hallucination, inference, agent. They sound technical, but each one describes something you've already seen happen in a chatbot. The visual sheet above sorts them into five groups: a text unit, memory, a risk, a model operation and tool use.

1. Token: the unit everything is counted in

A token is a small piece of text that an AI model reads and writes. It's often part of a word, not a whole one. A word like "unbelievable" may be split into a few tokens.

A common rule of thumb for English: one token is about four characters, or about three quarters of a word. So 100 tokens is roughly 75 words.

Why you should care: every chatbot limit and price is counted in tokens. When a plan says how much you can send, or an API charges per million, it's tokens being counted, not words.

2. Context window: why the bot forgets

The context window is how much text a model can keep in view at once. It's measured in tokens, and it covers everything in the conversation: your messages, any files you paste and the model's own replies.

Once a chat gets longer than the window, the oldest text falls out. That's why, in a very long conversation, the bot forgets what you told it at the start. It didn't ignore you. It just can't see that part anymore.

A practical fix: when a chat runs long, start a new one and paste in a short summary of what matters.

3. Hallucination: confident and wrong

A hallucination is when a model states something false with full confidence. It might be a made-up quote, a citation that doesn't exist, a statistic, or a book nobody wrote.

The best-known example: in 2023, two New York lawyers were fined after citing court cases that ChatGPT had made up. The cases looked real. They weren't.

The habit that protects you is simple. Ask for the link, then click it. If you can't find the source yourself, don't repeat the claim.

4. Inference: every reply you get

Inference is the moment a trained model is used to answer you. It's easy to mix up with training, so think of it this way:

  • Training is school. It happens once, and it's expensive.
  • Inference is every reply after that. It happens every time anyone sends a prompt.

Each chatbot reply is one inference run on a data center chip. Training ends. Inference never does.

5. Agent: an AI that acts

An agent doesn't just talk. It takes steps for you with tools, such as searching the web, clicking through a site, running code or sending an email, and checks its result after each step.

The sheet's example: "Find me a cheaper flight and book it," handed to an AI that opens the sites itself. ChatGPT and Claude can already click through websites for you. Handy, and a little scary, since the AI is now doing things, not just saying things.

The five words side by side

Term Group In one line
Token Text unit A chunk of text, about 3/4 of a word
Context window Memory How much the bot can see at once
Hallucination Risk False, but said with confidence
Inference Model operation Every reply from a trained model
Agent Tool use An AI that takes steps for you

A quick way to remember them: tokens, memory, reply, risk, hands. Once these five click, most AI product news gets a lot easier to read.

Frequently asked questions

How many words is a token?

A common rule of thumb for English is that one token is about four characters, or about three quarters of a word. Long words like "unbelievable" may be split into a few tokens.

Why does a chatbot forget what I said earlier?

Because of the context window. The model can only keep a certain amount of text in view, counted in tokens, and that includes your messages, pasted files and its own replies. In a very long chat, your first messages fall out of the window.

What is the difference between training and inference?

Training is the one-time, expensive step where a model learns. Inference is using the trained model to answer you, and it happens every time anyone sends a prompt. Each chatbot reply is one inference run on a data center chip.

How do I catch an AI hallucination?

Ask for the source and check it yourself. Click the link, look up the quote or the case. A hallucinated citation looks just as confident as a real one, which is how two New York lawyers ended up fined in 2023.

Turn any problem or document into a visual sheet like this one

Paste a LeetCode problem, a PDF or a link into Edithly and get a step-by-step sheet you can study, share or quiz yourself on.

Make this sheet in Edithly, free