Topic 4 of 5 · 4 min read
Prompting reasoning models differently
Goal: Rewrite a step-by-step prompt written for a chat model into a goal-and-constraints prompt suited to a reasoning model.
With a reasoning model, tell it what you want and what must hold, and let it choose the steps; do not script every step. The model already plans its own working. A rigid script can get in its way.
Check yourself · 1 of 3
Which prompt style usually suits a reasoning model best?
Why it matters
For older chat models, a classic trick was "think step by step" or a worked example that showed the steps. It helped because the model had no habit of working things out. Reasoning models do that on their own. Docs from OpenAI and Anthropic both advise keeping prompts for reasoning models direct, and note that telling them how to reason is often unnecessary. A forced path can also be a worse path than the one the model would find.
How to write the prompt
- State the goal. What a good result is, in one or two sentences.
- Give the context the model cannot know. Your data, your rules, who it is for.
- List constraints. Hard limits, such as budget, deadline, forbidden choices.
- Say what to check. "Before answering, confirm the total matches the invoice."
- Say the output format. A short answer, a table, a ranked list.
- Keep it plain. Clear sections help. Long pep talks do not.
For models without a thinking mode, the old approach still works: ask for the steps, or show one worked example. This is chain-of-thought prompting. It is a fallback, not the default for reasoning models.
Before and after
Before (script for a chat model): First list every guest. Then list every table. Then try to put guest 1 at table 1. If that fails, move to table 2. Continue until done. Think step by step.
After (goal and constraints): Seat 24 guests at 4 tables of 6. Constraints: Ana and Tom must share a table; Lee must not sit with Priya; each table needs one person who speaks French. Give a table-by-table list, then confirm each constraint is met.
The second prompt gives the problem and the checks. The model finds the method.
What goes wrong
- Pasting an old "think step by step" template into every prompt out of habit.
- Burying the constraints in a long story, so one gets dropped.
- Asking for "your reasoning" as the output when you only need the answer, which adds length and cost.
Examples
Script turned into a brief
Script: "Read the invoice. Find each line. Add them. Compare to the total. Say if wrong."
Brief: "Check this invoice. Goal: tell me if the printed total is correct. Constraints: tax is 20% on all lines except shipping. Check the sum and the tax. Answer 'correct' or 'wrong', then show the correct total."
When the old trick still applies
If you use a small model with no thinking mode, add "work through this in steps before giving the answer" or one worked example. That is chain-of-thought prompting, and it can lift accuracy on multi-step questions.
Key points
- Reasoning models plan their own steps, so a goal plus constraints works better than a script.
- Give the context and rules the model cannot know, and name the checks it should run.
- Chain-of-thought prompts (ask for steps, show a worked example) remain useful for models without thinking.
- Over-prescribing the method can steer the model to a worse path.
- State the output format so the final answer is short and usable.
Common mistakes
- Keeping step-by-step scripts written for older chat models.
- Hiding key constraints inside a long story.
- Asking for the full reasoning when only the answer is needed.
- Leaving out the checks that would catch an easy slip.
Check yourself · 2 of 3
You use a small model that has no thinking mode, and it keeps failing a three-step word problem. What is a reasonable fix?
Check yourself · 3 of 3
Which rewrite turns this chat-model prompt into a better reasoning-model prompt? Original: "First list the tasks, then rank them one by one, then think step by step."
Practice items, not counted towards your mastery.
Start here
- Building with extended thinking (Claude docs) (opens in a new tab)DocsFree
Shows how thinking blocks, token budgets and summarized thinking work in a real API.
- Reasoning models (OpenAI API docs) (opens in a new tab)DocsFree
Explains reasoning tokens, effort levels and how to prompt reasoning models.
- Reasoning models don't always say what they think (Anthropic) (opens in a new tab)ArticleFree
Research on how often a model's visible reasoning leaves out what really drove its answer.
More for this topic
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (opens in a new tab)PaperFree
The original paper showing that step-by-step examples help models on multi-step problems.