How AI works: why it sounds sure even when it is wrong
Three simple pictures that explain what a language model is and is not, why it sometimes makes things up and when it needs a source.
As of November 2026. Tools change quickly, so the names of modes and features are worth checking in the tool itself.
ChatGPT, Claude, Gemini and Copilot all come across as someone who knows the answer. They are not encyclopedias, though. They are language models: programs that learned from a huge amount of text to estimate which piece of text comes next. Most of what surprises people about AI follows from that. I will show it with three pictures.
Picture one: autocomplete
A model writes text in small pieces called tokens. A token is a bit of text: a character, part of a word or a whole word. For English, OpenAI gives a rough rule that one token is about four characters, and adds that other languages have a different ratio. I did not find a figure for Slovak.
In a research paper, OpenAI describes the basic training of a model as learning to predict the next word. So when a model answers, it does not open a database of facts. It writes whatever sounds most likely at that point. Usually that is also true, but not always.
Microsoft adds that the same prompt can give different answers, because there is randomness in how text is produced. If I get two different numbers for the same question, that is a sign the number needs checking.
Why it makes things up with confidence
A false statement delivered with confidence is called a hallucination. OpenAI explains it this way: training and tests reward an answer more than an admitted “I don’t know”. It works like a written exam where a blank answer scores zero and a guess at least has a chance. The model learns to guess.
Figures from the SimpleQA test, published by OpenAI in September 2025, show this well. The newer model gpt-5-thinking-mini declined to answer 52% of the questions and was wrong on 26%. The older o4-mini declined only 1% and was wrong on 75%. Both had a similar share of correct answers, 22% and 24%. The model that guesses more looks just as good on the test, while making almost three times as many mistakes.
A fluent, confident tone is therefore not a sign of truth. It is a property of the way the model writes.
One sentence in the prompt helps. Anthropic states that explicitly allowing the model to admit uncertainty can significantly reduce false statements:
Who founded [a local club] and when? If you are not sure, write "I don't know"
and suggest where I can check it. For each fact, say how sure you are.
Picture two: a bright new colleague
Anthropic suggests treating the model like a brilliant but new employee who does not know your habits and ways of working. Ethan Mollick, author of the One Useful Thing newsletter, compares it to an infinitely patient colleague who forgets every conversation.
Two things follow. Whatever the model does not know about my situation, I have to tell it; that is what the next part is about. And a new conversation starts from zero. Some tools can remember selected things, but not everything in that memory is reliable. I cover that in more detail in the part on your own assistant.
Picture three: a desk with papers
According to Anthropic, the context window is all the text the model can look at when it answers: my messages, its replies and attached files. I picture it as a desk. Whatever is not on the desk, the model does not see.
The desk can also get too full. Anthropic warns that as text piles up, the model gets less accurate at recalling details. Chat apps may push out or automatically summarise older parts of a conversation, and Google writes in its Gemini FAQ that the ability to keep context is deliberately limited.
In a long conversation, a new chat with a summary often works better than one more message in the old thread. The bare prompt after two hours in one thread:
And also take into account what we discussed at the start.
The complete prompt in a new conversation:
I am continuing with my planning. Summary so far: [5 points].
Based on this, suggest the next step.
Knowledge date and search
A model knows what was in the texts it learned from, and only up to a certain date. It knows about newer things only when web search is switched on or when I give it a source. For questions about amounts, laws, product versions and news, that is the difference between a guess and an answer that can be checked.
The bare prompt:
What is the minimum wage in Slovakia right now?
The complete prompt:
Search the web for the current minimum wage in Slovakia.
Give the official source and the date from which the amount applies.
If you cannot find an official source, say so and do not guess.
Instead of a possibly outdated number from memory, I get one with a source and a date that can be checked with one click.
Be careful with questions about the AI itself, too. Google admits that Gemini may describe incorrectly even how it works, for example how it gets fresh information. Asking about a specific answer is more useful than “how do you work?”:
Tell me whether web search is switched on in this conversation.
In your answer to my next question, mark which parts come from the web
and which do not.
Thinking modes and choice of model
Several tools have a mode where the model thinks longer before answering. According to TechRadar, paying ChatGPT users choose between Instant and Thinking modes. According to Anthropic, current Claude models decide for themselves how much to think. Thinking changes how thorough the reasoning is, not the principle. It does not fill in missing current data; that takes search or a source.
Slovak and other smaller languages
Anthropic publishes how its models handle languages compared with English. Slovak is not in that table, and the vendor says languages outside it need testing. The same source advises stating the language of the answer explicitly. If I want Slovak specifics, meaning euros, Slovak authorities and laws, I put that in the prompt. Otherwise the model may reach for other countries.
What to check
- Is the question about something that changes (amounts, laws, versions, news)? Then use search or your own source.
- Does the prompt say the model may answer “I don’t know”?
- Is the conversation long, and is the model starting to forget earlier instructions? Start a new one with a summary.
- Does the answer contain numbers, dates, names, sections of law or links? Those need checking.
- Is it about health, law or money? For Gemini, Google says explicitly that it is not to be relied on for medical, legal or financial advice.
- Did I say which language and which country I want the answer for?
The next part shows how to turn this into a prompt: A good prompt.
I prepared this text with the help of AI from the sources below.
Sources
- OpenAI: Why language models hallucinate
- Kalai et al.: Why Language Models Hallucinate, arXiv 2509.04664
- OpenAI Help: What are tokens
- Claude Docs: Prompting best practices
- Claude Docs: Context windows
- Claude Docs: Reduce hallucinations
- Claude Docs: Multilingual support
- Microsoft Support: Get started writing prompts in Copilot
- Google: Learn about responses from Gemini Apps
- Gemini Apps FAQ
- Ethan Mollick: Getting started with AI
- TechRadar: Instant and Thinking modes in ChatGPT