reasoning in LLMs
Reasoning is what we call it when a model works toward an answer in steps instead of blurting out the first thing that sounds right. Ask a hard question and a reasoning model behaves a bit like a careful person: it breaks the problem into parts, follows a chain of small inferences, and only then commits to a final answer. You can often see this in the way it lays out its working before the conclusion, the same way you might scribble on scrap paper before writing the clean solution.
Under the hood there is no separate logic engine doing the thinking. The model still predicts one token at a time, but the tokens it produces can be intermediate steps that make the next step easier to get right. Each line of working becomes part of the context the next prediction reads, so spelling out the steps genuinely raises the odds of a correct ending. This is why a model can solve a multi-part problem it would fumble if forced to answer in a single leap.
It pays to stay honest about what this is and is not. The steps look like deduction, but they are still statistical continuations, and a confident-looking chain can reach a wrong answer through a flawed middle. Reasoning in this sense is a powerful, unreliable tool: better than a snap guess on hard tasks, yet not a guarantee of soundness. Treating the visible working as a draft to be checked, rather than a proof, keeps your expectations where they belong.
A visible reasoning chain explains what the model wrote, not necessarily why it was right. Plausible steps can still hide a wrong turn.