Chain-of-Thought Prompting: Ask for Reasoning to Verify
By Alexandre Saint-Jean
Audio version
Audio version produced by text-to-speech from the article. Our AI charter
You ask an AI assistant to compare two quotes. It answers in three lines: "Offer A is the better deal." You have no way to know what it relied on. The problem is not that the answer is necessarily wrong, it is that you cannot verify it. Asking for the reasoning fixes exactly that.
Why ask for the data, the assumptions and the calculations?
An answer that shows nothing is an answer you must either believe or reject outright. An answer that lays out its data, assumptions and calculations becomes a document you can reread, like a colleague's memo.
Three things become visible:
- the data used: did the assistant pick up the amounts from your quote, or did it fill one in on its own?
- the assumptions: the period used, whether tax is included, the rate applied;
- the calculation steps: each one can be redone in ten seconds.
So the point is not to make the AI smarter. It is to give you a grip on its answer.
Should you still write "think step by step"?
Not necessarily, and the official documentation is nuanced here. In its guide to reasoning models, OpenAI recommends avoiding chain-of-thought prompts: "Since these models perform reasoning internally, prompting them to 'think step by step' or 'explain your reasoning' is unnecessary." The same guide adds that some prompt-engineering techniques, such as telling the model to "think step by step", may not improve performance and can sometimes hinder it.
That does not contradict asking for the calculations. It changes the reason for doing it. You are not telling the assistant to "think harder", you are telling it "show me what I need to check your answer". That is a different instruction, and it stays useful even when the tool already reasons behind the scenes.
How do you ask an AI to check itself?
Anthropic suggests a complementary move. In its prompting guide for Claude, the recommendation is titled "Ask Claude to self-check": append something like "Before you finish, verify your answer against [test criteria]." The guide says this catches errors reliably, especially for coding and math.
Two practical lessons. The criterion must be specific: "check that the total is the sum of the lines" beats "check that it is right". And keep the nuance: the same page notes that one of its models verifies its own work well without explicit instruction, and that adding a verification instruction can then add length without adding value. Depending on the tool you use, the instruction is sometimes redundant, but it costs only one sentence.
An example: comparing two maintenance offers
Take two fictional offers for scheduling software.
- Offer A: EUR 3,000 excl. VAT upfront, then EUR 40 excl. VAT per month for maintenance.
- Offer B: EUR 2,200 excl. VAT upfront, then EUR 75 excl. VAT per month.
The weak prompt
"Which of these two quotes is the better deal?"
The assistant answers in one line, with no reference period, without saying whether it compared over 12 or 36 months. You cannot tell whether the conclusion holds.
The structured prompt
"Compare these two offers over 36 months, in euros excluding VAT. Before answering: list the data you use, with where it appears in my text; list your assumptions; show the calculation of each offer's total cost; then give your conclusion. If a figure is missing, say so instead of estimating it. Before you finish, verify that each total equals the upfront price plus 36 monthly payments."
The expected answer is readable: A = 3,000 + 36 x 40 = EUR 4,440 excl. VAT; B = 2,200 + 36 x 75 = EUR 4,900 excl. VAT. Offer A costs EUR 460 less over 36 months. You also see the tipping point: the upfront gap is EUR 800, the monthly gap EUR 35, so A becomes cheaper from month 23 (800 / 35 = about 22.9).
Had the assistant counted 24 months, or forgotten B's monthly payments, you would have seen it in the assumptions or in the calculation. With the weak prompt's single line, never.
What about checking a budget or a quote?
The principle is the same for a forecast budget or a quote you received from a supplier.
Weak prompt: "Is this quote correct?"
Structured prompt: "Here is a quote (anonymised data). Put each line in a table: description, quantity, unit price excl. VAT, total excl. VAT. Recompute the total excl. VAT, the VAT (20% in France, adjust to your country), and the total incl. VAT. Flag any gap with the totals written on the quote. State the assumptions you had to make."
You get a table you can compare with the original document line by line. Remember to anonymise: replace customer and supplier names before pasting real text into a consumer tool.
What are the limits of this method?
The most important one: a displayed reasoning can itself be wrong. A fluent, well-structured explanation can contain a faulty assumption or a botched multiplication, with exactly the same confidence as a correct one. Seeing the reasoning does not guarantee it.
The safeguard is simple: pick the step that weighs most in the decision (the total cost, the tipping point, the VAT amount) and redo it yourself, with a calculator or a spreadsheet. One step, ten seconds. If it holds, the rest of the reasoning deserves more trust. If it does not, you just avoided a bad decision.
A second limit: this technique helps you check substance (figures, comparisons, decisions). For tone or format, showing examples works better, as our few-shot prompting guide explains.
How do you build this into your prompting habits?
A reusable template to add to any request involving numbers:
- "List the data you use."
- "List your assumptions."
- "Show the calculation."
- "If a figure is missing, say so."
- "Before you finish, verify [specific criterion]."
If the result is not quite what you want, fix one point at a time, as in our guide to improving a prompt iteratively. And if you repeat this template in every conversation, it belongs in your account or project context. For the basic definitions, see our definition of an AI prompt.
This progression (brief, role, context, task, examples, reasoning) is the one our free AI newsletter follows, one idea per week.
Frequently asked questions
- What is chain-of-thought prompting?
- Chain-of-thought prompting means asking the AI to write out the steps that lead to its answer instead of giving only the result. For a small-business user, its main value is readability: you see the data, assumptions and calculations, so you can check them.
- Do I still need to write "think step by step"?
- Not necessarily. OpenAI's documentation says that because its reasoning models already reason internally, prompting them to think step by step or explain their reasoning is unnecessary. Ask instead for what you need to check the answer: the data used, the assumptions, the detail of the calculation.
- How do I ask an AI to verify its own answer?
- Add an instruction with a precise criterion, following the pattern Anthropic suggests: "Before you finish, verify your answer against [test criteria]." For example: "Before concluding, check that each total equals the sum of its lines and that every amount is in euros excluding VAT."
- Can you trust an AI's math?
- Not blindly. A fluent explanation can contain a wrong assumption, an invented figure or an arithmetic slip, in the same confident tone as a correct one. Ask for the calculation, then redo the step that matters most for your decision with a calculator or a spreadsheet.
- Why does AI get a quote or a budget wrong?
- The most common causes show up in the displayed reasoning: a missing figure silently replaced by an estimate, amounts excluding tax mixed with amounts including tax, a period counted wrongly. Asking for data and assumptions exposes these gaps before you decide.