We could go through every component of a GPT and show how each one contributes to intelligence. But to get an intuition quickly, there is a much simpler way to look at it: next-word prediction is, at heart, a series of vector additions.
When you send text into an LLM, it is first split into tokens, and each token is embedded — converted into a vector, a set of numbers. During training, these embeddings are constantly adjusted so that each token's vector comes to represent part of its semantic meaning. Over time, words that mean similar things end up close together in this vector space.
The essential mechanism behind all of this is attention, the core idea of the Transformer architecture. You can think of it as the way tokens influence each other's meaning. In the sentence "fast computers run slow programs", attention is what lets the model connect the right words. It also handles the harder cases: a word's meaning can shift with context, and attention lets the model reach far back into the text — but only when the context requires it.
Attention has many implementations, each trying to solve different challenges, but Transformers have proven remarkably universal: they are not only useful for language models, and they deliver strong results across domains. That power is not free, though. Attention demands a lot of computational power and fast memory that can keep up with it.
When the model produces the next token, it does not pick a single "right" answer. It assigns a probability to every possible token and then samples from that distribution. The spread of that distribution can be controlled by the developer with a parameter called temperature. At temperature 0, the model always outputs the most probable token; at higher temperatures, it is willing to consider less likely options. You can think of temperature as a dial for creativity.
Looking at all this, there is no obvious place for bigger reasoning, planning, or any hidden "inner eye" — unless those abilities are somehow emergent and not visible to us. Some research papers show that models trained to play simple games, with no explicit knowledge of the game's rules, can still figure out many facts about it. This demonstrates that machine learning systems can extract surprisingly intricate structure from data. Still, there is no proof of such phenomena in everyday LLMs today — although I suspect it happens in some areas. And even if deeper understanding does emerge from scale, I do not believe it carries the potential to scale into superintelligence with the resources available any time soon.
But let's ask the question seriously: do humans, when reasoning, do much more than choosing the next word with good intuition? Our thought processes are usually expressible in words — though not always, since spatial reasoning exists. I would not state it as certain, but I believe next-token prediction is sufficient to build intelligence capable of complicated, multi-step reasoning and of discoveries that go beyond what it was trained on. Some researchers argue that next-token prediction is not enough for 0-shot AGI, but that claim depends heavily on how AGI is defined. Even if it does not cover 100% of cases, I believe it handles most new tasks — provided we let the model act, observe the results, and feed them back. Sufficiently advanced intelligence should be able to solve problems in better than human time.
If we follow this idea further, thinking looks a lot like doing — except it happens in the head, using words, images, and sounds. It is a kind of mental simulation. So far, we have trained AI to think the way we speak and write. But in reality, we think in other ways too: we challenge our own ideas, look for more questions to build a better understanding, and backtrack through thoughts. That is what makes humans good planners. Each of these processes — even an individual thought — can be seen as an intuitive next-token prediction. None of them is planning in itself, but we can assemble them into planning.
This leads to a conclusion: when an AI is asked a question it can answer intuitively — whatever "intuitively" means depends on its level of intelligence in that area — it answers straight away, with no deep chain of thought. But when it faces a problem that cannot be easily "interpolated" from the data it was trained on, it needs to "think", and its answers become longer and more verbose.
That is why prompt engineering is genuinely interesting and promising, and why a similar effect can be achieved by tuning the model itself. Either way, the goal is the same: to make the model produce more than its first thought. Intelligence makes mistakes — but it also notices them and adjusts.
I hope this ramble helps someone understand how LLMs may be not so different from us in how they come up with their answers.