models · Level 4
Reasoning models and reasoning engines
How models that think before they answer work, when they pay off, and how they differ from classical rule-based reasoning.

Your next step
Start this course online
Register your start, then work through the lessons and exercises at your own pace. You can download the PDF separately. Where a scored exam is available, you will find it after the lessons.
Register or resume your course
Start with the essentials
The short answer
A reasoning model is a language model built to spend extra computation working through a problem, in a long chain of intermediate steps, before it gives a final answer. It helps most on multi-step maths, code and planning, and costs more time and money on simple questions. Its visible working is not necessarily a faithful account of why it answered as it did.
What you will learn
- You will be able to explain what a reasoning model is, and what chain of thought and test-time compute mean.
- You will be able to decide when a reasoning model is worth its extra time and cost, and when it is not.
- You will know how to control reasoning effort and how to prompt reasoning models well.
- You will understand why a visible reasoning trace is not necessarily a faithful explanation.
- You will be able to design simple verifiers and generate-and-check loops around a model.
- You will be able to explain classical inference engines, forward and backward chaining, and neuro-symbolic hybrids.
Who it is for
Readers who already use language models and want to know what changes when a model thinks before it answers. No coding is needed, though one chapter includes a short code sketch.
Before you start
- Comfort with tokens, prompts and context windows (see What is AI?).
- Access to any reasoning-capable model or service with an adjustable setting is helpful for the exercises.
Learn in your browser · Chapter 01 of 06
What a reasoning model is
Some models start answering at once. Others are built to work through the problem first. The difference is where the computation goes.
A chain of thought is a series of intermediate steps written out before the final answer. In 2022 researchers showed that prompting a large language model to produce such steps improved its results on arithmetic, commonsense and symbolic reasoning tasks.
A reasoning model goes further. It is trained to produce a long chain of thought by itself, without being asked, and to use it. Published descriptions of how this is done commonly involve reinforcement learning: the model attempts many problems and is rewarded when its final answer is correct, and sometimes for sound intermediate steps. The rewarded tasks are usually ones whose answers can be checked automatically, such as maths answers or code that passes tests. Over training, models tend to learn longer working, self-checking and trying alternatives. Details differ between models and are not always published.
Test-time compute means computation spent while the model is answering, rather than while it was trained. A 2024 study asked how much a fixed amount of extra answering-time computation can improve results. It found that the best way to spend it depends on how hard the prompt is, and that on problems a smaller model could already sometimes solve, spending it well could beat a much larger model. On the most challenging problems it helped little, and a larger model did better.
Scroll sideways to see every column.
| Ordinary chat model | Reasoning model | |
|---|---|---|
| How it answers | Starts writing the answer at once. | Writes working first, then the answer. |
| Computation per question | Small. | Many more tokens per question. |
| Speed and cost | Faster and cheaper. | Slower and costlier. |
| Best for | Chat, drafting, rewriting, lookup. | Multi-step maths, code, planning, puzzles. |
Try it yourself · Activity 01
15 minSame question, two modes
See for yourself what extra reasoning changes.
- Write three problems: a multi-step word problem, a small code bug, and a scheduling puzzle with constraints.
- Run each with reasoning switched off or on its lowest setting, then with reasoning on its highest setting. Use a standard and a reasoning model if that is what you have.
- Record whether each answer was correct, roughly how long it took, and how long the reply was.
Where did the extra thinking pay off, and where was it wasted?
Learn in your browser · Chapter 02 of 06
When reasoning helps, and when it does not
A reasoning model is a tool with a price. Use it where the price buys something.
Reasoning helps most where a mistake early in the problem ruins everything after it, and where the model can check its own working: multi-step maths and logic, code with several interacting parts, debugging, and planning with constraints. It also helps when the answer can be checked, because the model can test candidate answers against the rules.
It helps little, or hurts, on simple chat, rewriting, summarising, extracting facts that are stated in the text, and lookups where knowledge is the limit. There the extra working adds delay and cost for almost no gain, and thinking cannot conjure information the model does not have.
Scroll sideways to see every column.
| Task | Is reasoning likely to help? | Why |
|---|---|---|
| Multi-step word problem | Yes | Errors compound, and working lets the model check each step. |
| Debugging across several files | Yes | It must trace behaviour and compare hypotheses. |
| Plan a project with constraints | Often | Trade-offs must be weighed. |
| Summarise a page | Usually not | Faithfulness comes from the text, not deliberation. |
| Rewrite an email politely | No | Nothing needs searching or verifying. |
| Recall a known fact | No | Knowledge, not thinking, is the limit. |
Cost matters. Many hosted services bill thinking tokens as output tokens, even when you see only a summary of them or nothing at all (see Sources), so a hard question can cost many times an easy one. Check your provider's pricing page for exactly how reasoning tokens are counted.
A common pattern is routing: send easy requests to a fast model, escalate hard ones to a reasoning model, or start at low effort and raise it only if a check fails.
Learn in your browser · Chapter 03 of 06
Controlling reasoning effort, and prompting well
Most reasoning services give you a dial. Turn it deliberately.
Providers expose the dial differently: an on and off switch, named levels such as low, medium and high, a numeric scale, or a cap on the number of thinking tokens. Some also restrict or ignore sampling settings such as temperature in reasoning mode. Read your provider's documentation rather than assuming.
- Try the task with reasoning off.
- If the answer fails your check, try low effort.
- If it still fails, try high effort.
- Note the lowest level that passes. Use it as your default for that kind of task, and re-test when the model changes.
Prompting changes too, because the model already works step by step.
- State the goal, the constraints and the format of the answer. Leave the method to the model.
- You rarely need to say "think step by step". It is usually redundant.
- Put every fact the model needs in the prompt. Thinking cannot fetch what is missing.
- Say what success looks like: the tests to pass, the units, the rules. That gives the model something to verify against.
- Try zero-shot first. Published evaluations of at least one reasoning model found that few-shot examples reduced its performance, so test yours before adding examples.
Try it yourself · Activity 02
20 minFind the lowest effort that works
Build your own effort table from real tasks.
- List five tasks you actually do, from easy to hard.
- For each, write down in advance how you will check the answer.
- Run each at the lowest setting first and raise it only when the check fails.
- Record the level, the time and the length of the reply.
Was there a task where a higher setting did not help at all? What was missing?
Learn in your browser · Chapter 04 of 06
Why the trace is not the explanation
Many reasoning models show their working. It is tempting to read it as a window into the model's mind. Be careful.
A reasoning trace is the model's visible working. It is useful: it often reveals where a wrong answer went astray. But a fluent story about how an answer was reached is not the same as an accurate account of what actually drove it. This property is called faithfulness.
A 2023 study of chain-of-thought prompting found that explanations could be heavily influenced by a bias the model never mentioned, for example reordering the multiple-choice options in the prompt's examples so the right answer was always option A. When models were pushed towards a wrong answer, they often wrote convincing working that justified it. A 2025 study of reasoning models added hints to prompts and found that the traces often did not mention a hint the model had used.
- Read traces to find errors, not to certify correctness.
- A trace can contain mistakes when the answer is right, and look flawless when the answer is wrong.
- Some services show only a summary of the working, or none at all. Do not build a process that depends on seeing it.
- For audit and accountability, log inputs, outputs and the checks performed, not just the model's story.
Try it yourself · Activity 03
15 minCatch a plausible but wrong trace
Test whether the working really explains the answer.
- Choose a multiple-choice question you can answer with certainty. Ask a reasoning model to solve it and show its working.
- Ask again, adding "I think the answer is" followed by a wrong option.
- Compare the two answers, and check whether the working mentions your hint.
Did the hint change the answer? If it did, did the working admit it?
Learn in your browser · Chapter 05 of 06
Verifiers and checking
The most reliable way to use a reasoning model is to pair it with something that checks.
A verifier is anything that judges whether an answer is acceptable. In 2021 researchers trained verifiers to judge model solutions to maths problems, then generated many candidate solutions and picked the one the verifier ranked highest. A related technique, self-consistency, samples many reasoning paths and takes the most common answer. A 2023 study compared feedback on each step (process supervision) with feedback on the final result only (outcome supervision).
Scroll sideways to see every column.
| Kind of check | Examples | Watch out for |
|---|---|---|
| Programmatic | Run the tests, compile, type-check, compare with a known answer. | Tests that are too weak to catch errors. |
| Constraint | Validate a schema, recompute totals, check units and ranges. | Rules you forgot to write down. |
| Second model as judge | A separate model scores the answer against a rubric. | It can share the first model's blind spots. |
| Human review | A person checks high-stakes output. | Fatigue, and trusting a confident tone. |
def solve_with_check(task, max_tries=3):
prompt = task
for attempt in range(max_tries):
effort = "low" if attempt == 0 else "high"
answer = ask_model(prompt, effort=effort)
ok, problems = check(answer) # tests, schema, arithmetic, rules
if ok:
return answer
prompt = (task + "\nYour last answer was:\n" + answer +
"\nA check failed: " + problems + " Fix it.")
return None # hand over to a personLearn in your browser · Chapter 06 of 06
The other reasoning engine: rules, and hybrids
Long before language models, an inference engine or reasoning engine meant something quite different.
In classical symbolic AI, a knowledge base holds facts and rules written in a precise form, and an inference engine applies the rules to derive new facts. Expert systems built this way encoded specialist knowledge, such as diagnostic rules, and could typically show which rules had produced a conclusion. This is a different meaning from the inference engine in the workbook Inference engines explained, which is software that executes a neural network.
Two strategies are classic. Forward chaining starts from the known facts and fires every rule that applies until nothing new appears. Backward chaining starts from a goal and works back to see whether known facts can prove it.
Facts: penguin(p1)
Rules: IF penguin(X) THEN bird(X)
IF bird(X) THEN has_wings(X)
Query: has_wings(p1)?
Forward: penguin(p1) gives bird(p1), which gives has_wings(p1). Yes.
Backward: to show has_wings(p1) I need bird(p1).
To show bird(p1) I need penguin(p1). It is a fact. Yes.Scroll sideways to see every column.
| Classical reasoning engine | LLM reasoning model | |
|---|---|---|
| Knowledge comes from | Facts and rules written or curated by people. | Patterns learned from very large amounts of text. |
| Method | Explicit rules applied step by step. | Generates a chain of text steps. |
| Conclusions | Follow from the rules as written, if the rules are right. | Plausible, not proven. |
| Strength | Repeatable and auditable: you can list the rules that fired. | Handles messy language and wide general knowledge. |
| Weakness | Brittle outside its rules, and costly to build and maintain. | Can be fluently wrong, and its trace may not be faithful. |
Neuro-symbolic systems combine the two. Surveys describe fusing neural, symbolic and probabilistic approaches to improve interpretability, robustness and trustworthiness. Four practical patterns stand out.
- The model reads messy input and produces structured facts. A rule engine makes the decision.
- The model writes code or logic, and an interpreter or solver does the exact computation.
- A rule engine or validator checks the model's output before it is used.
- The model proposes and a formal checker verifies, which is the verifier pattern from the last chapter.
Try it yourself · Activity 04
20 minDesign a hybrid
Pick a decision you know well, such as approving an expense claim, and split the work between a model and rules.
- Write five IF and THEN rules that capture the decision.
- Mark which inputs arrive as messy text or images and need a model to extract them.
- Decide what the rule engine should decide, and what a person should review.
- Write how you would check the model's extraction.
Which part would you never leave to a model alone, and why?
Keep learning
The complete workbook
This workbook explains what reasoning models are and how they are trained and used. You will learn when extra thinking helps and when it wastes money, how to control reasoning effort, and why a reasoning trace should not be treated as proof. It also covers the older meaning of reasoning engine in symbolic AI, and how the two are combined in neuro-symbolic systems.
- 01What a reasoning model isRead here · 1 exercise
Some models start answering at once. Others are built to work through the problem first. The difference is where the computation goes.
- 02When reasoning helps, and when it does notRead here · Reading
A reasoning model is a tool with a price. Use it where the price buys something.
- 03Controlling reasoning effort, and prompting wellRead here · 1 exercise
Most reasoning services give you a dial. Turn it deliberately.
- 04Why the trace is not the explanationRead here · 1 exercise
Many reasoning models show their working. It is tempting to read it as a window into the model's mind. Be careful.
- 05Verifiers and checkingRead here · Reading
The most reliable way to use a reasoning model is to pair it with something that checks.
- 06The other reasoning engine: rules, and hybridsRead here · 1 exercise
Long before language models, an inference engine or reasoning engine meant something quite different.
Also inside: a 9-point checklist, a glossary of 12 terms and 10 questions and answers to test yourself. 4 hands-on exercises, each with a worked answer at the back where the workbook gives one.
The PDF is free. We ask for your name and email before downloading. Read the privacy notice at the download form. Free to download and use for personal learning, study groups and inside your own team. Please do not resell the workbooks or republish them as your own. Link people to trust-agent.ai instead.
Get your free PDF workbook
Enter your name and email, then download the complete workbook. This form also works without JavaScript.
Test yourself
Questions and answers
What is a reasoning model?
A language model trained to spend extra computation working through a problem, usually in a long chain of intermediate steps, before it gives a final answer. It tends to do better on multi-step maths, code and planning, and it is slower and costlier than an ordinary chat model.
How are reasoning models trained?
Published descriptions commonly involve reinforcement learning: the model attempts many problems and is rewarded when the final answer is correct, on tasks that can be checked automatically. Over training it tends to learn longer working and self-checking. Exact recipes differ and are not always published.
What is test-time compute?
It is the computation used while a model is answering rather than while it is trained. Letting a model think longer spends more of it. A 2024 study found that, on problems a smaller model could already sometimes solve, spending it well could beat a much larger model, but not on the hardest problems.
When should I use a reasoning model?
Use one for multi-step maths and logic, tricky code and debugging, and planning with constraints, especially when you can check the answer. Avoid it for simple chat, rewriting, summarising and lookups, where it adds delay and cost for little gain.
Why not use a reasoning model for everything?
Because thinking costs time and money. Many hosted services bill thinking tokens as output tokens, so an easy question can become expensive for no benefit. Routing easy work to a fast model and hard work to a reasoning model is usually sensible.
What does reasoning effort control?
It sets how much thinking the model does before answering. Providers offer on and off switches, named levels, numeric scales or token caps. Higher effort usually means slower and costlier replies. Start low and raise it only when your checks fail.
Can I trust the reasoning trace as an explanation?
Not on its own. Studies have found that chain-of-thought explanations can be influenced by factors they never mention, and can rationalise wrong answers. Use traces to spot errors, and verify answers with independent checks rather than relying on the model's account.
What is a verifier?
A verifier is anything that judges whether an answer is acceptable: running tests, validating a schema, recomputing totals, a second model scoring against a rubric, or a person. Pairing a model with a verifier is one of the most reliable ways to use it.
What is an inference engine in classical AI?
It is software that applies logical rules to a knowledge base of facts to derive new conclusions, using strategies such as forward and backward chaining. Expert systems used this approach. It is unrelated to the software that runs a neural network.
What is a neuro-symbolic system?
One that combines neural networks with symbolic rules or logic. A typical pattern lets a model read messy input and produce structured facts, then lets a rule engine or solver make the exact, explainable decision.
Write as you go
My notes
Use this scratchpad for your own notes, working or answers as you read. Notes are saved in this browser on this device. Downloading makes a local copy; it does not send your notes to Mickai.
Consolidate your learning
Review your work
Work through the exercises and questions, then compare your reasoning with the worked answers. A scored exam and verifiable certificate are not yet available for this course.
Review the questionsLearn the language
Key terms
- Reasoning model
- A language model trained to spend extra computation working through a problem in a chain of steps before giving its answer.
- Chain of thought
- A series of intermediate steps written out before a final answer.
- Test-time compute
- Computation spent while a model is answering, rather than while it was being trained.
- Reasoning trace
- The visible working a reasoning model produces before its answer.
- Reasoning effort
- A setting that controls how much thinking a model does before answering, such as levels, a scale or a token cap.
- Reinforcement learning
- Training by trial and reward, where a model is rewarded for outcomes such as a correct final answer.
6 of the workbook's 12 terms. The complete glossary is in the workbook.
Follow the evidence
Sources and checks
Facts last checked: .
These workbooks use AI assistance. See how the workbooks are made.
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsarXiv, 2201.11903
- Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model ParametersarXiv, 2408.03314
- Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language ModelsarXiv, 2501.09686
- Training Verifiers to Solve Math Word ProblemsarXiv, 2110.14168
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsarXiv, 2203.11171
- Let's Verify Step by SteparXiv, 2305.20050
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought PromptingarXiv, 2305.04388
- Reasoning Models Don't Always Say What They ThinkarXiv, 2505.05410
- Towards Cognitive AI Systems: a Survey and Prospective on Neuro-Symbolic AIarXiv, 2401.01040
- Artificial Intelligence: A Modern Approach (chapters on logical agents and inference)Russell and Norvig, book website, UC Berkeley
- AIMA pseudocode: forward-chaining and backward-chaining algorithmsaimacode, GitHub
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement LearningarXiv, 2501.12948
- Reasoning models (how reasoning tokens are billed)OpenAI API documentation
- Gemini thinking (pricing of thinking tokens)Google AI for Developers
Created by Mickarle Wagstaff-Irons - Micky Irons with the Mickai team. Published by Mickai LTD. Last updated 25 September 2026.
NextKeep going
Where to go next
Recommended for you
How to evaluate a new frontier model the day it lands
A ten-step method for judging a new model: primary sources, licence, architecture, hardware, benchmarks, your own tests, safety, jurisdiction and a decision record.
Recommended for you
What is an AI agent? Agentic AI explained
A plain-English guide to AI agents: how they differ from chatbots and workflows, the parts and the loop, levels of autonomy, the main risks and how to keep a human in control.
Recommended for you
The loop harness: how AI agents actually run
How an agent harness runs a model in a loop: context, tools, permissions, budgets, stop conditions, logging and testing, with a minimal Python loop and a paper design exercise.