How chatbots work, and why they make things up
The plain-words guide to what is really happening when a chatbot answers you, and how to catch it when it is wrong.
A chatbot does not look up your answer. It predicts it, one likely word at a time.
Unless it is given a search tool, a chatbot writes from patterns it learned in training. Likely words are usually true words, which is why it is so useful. When they are not, you get a fluent answer that is wrong.
Inside this guide
How a chatbot is made, in three stages
It reads in pieces, called tokens
A chatbot does not read whole words the way you do. It reads small pieces of text called tokens, and it learns patterns in how those pieces follow each other.
Watch a made-up answer happen
Press Next word to watch a chatbot build an answer, one likely word at a time.Read down the steps to see a chatbot build an answer, one likely word at a time.
Five reasons chatbots make things up
Where made-up answers hide
Made-up answers cluster in predictable places. These are the details that look most convincing, and the easiest to invent.
Four things people get wrong
Read the myth, guess, then tap the card to see the fact.Read the myth, guess, then read the fact under it.
Is this answer made up?
Answer three questions, top to bottom. Tap Yes or No.Answer three questions, top to bottom, and follow the arrows.
A weak question and a strong one
Six habits that catch made-up answers
Try to catch a chatbot
Open any free AI chatbot, start a new chat, and paste this. The speech in it does not exist.
A made-up answer looks like this. In his 1987 address, the Mayor of Millbrook called public libraries “the living rooms of a free town” and urged residents to “read together, so we can disagree well.”
The speech, the quotes and the setting are all invented. It reads well, and none of it is true.
A good answer looks like this. I cannot find any record of a famous 1987 speech by the Mayor of Millbrook. If you have a copy or a source, I can help you read it.
Try it three ways
Same skill, harder each time. Write what happened in the space under each one.
Five questions. How did you do?
Tap an answer to check it.Circle one answer for each question. The answers are at the bottom of the page.
How chatbots work, on one page
The research behind this guide
Three research papers support the specific claims in this guide. Everything else explains how chatbots work in plain words, without statistics.
- [1] Long Ouyang and others, “Training language models to follow instructions with human feedback,” NeurIPS 2022. Supports page 4, people preferring answers from a model trained on people’s ratings over a model more than 100 times larger. arxiv.org/abs/2203.02155
- [2] Adam Tauman Kalai, Ofir Nachum, Santosh S. Vempala and Edwin Zhang, “Why Language Models Hallucinate,” 2025. Supports page 7, training and testing rewarding a confident guess over “I do not know”. arxiv.org/abs/2509.04664
- [3] Ziwei Ji and others, “Survey of Hallucination in Natural Language Generation,” ACM Computing Surveys, 2023. Supports page 7, the term hallucination for fluent but false output. doi.org/10.1145/3571730