AI Glossary / Prompting and human-AI interaction / Intermediate
Plan-and-solve prompting
Definition
Plan-and-solve prompting is a prompting technique in which you ask a language model to first write a short plan that breaks a task into steps, and then to carry out those steps in order. It is a variation of step-by-step prompting, not a separate model or tool. Exact wording and layout vary between teams, and it can be done in one prompt or across two.
What it means
Language models often do better on multi-part tasks when they are asked to lay out the work before doing it. Without a plan, a model may jump to an answer, skip a step, or lose track of a quantity halfway through. A plan gives it a checklist to follow and gives you something to read.
For a business reader, the useful part is that the plan is visible. You can look at it and see whether the model understood the task before it spends effort on the answer. If the plan is wrong, you correct the plan, which is quicker than correcting a finished report.
How it works
The technique has two parts. In the planning part, the prompt asks the model to restate the goal, list the data it needs, and write the steps in order. In the solving part, the prompt asks the model to follow the plan one step at a time and show the result of each step. A common wording is: first make a plan, then follow the plan and report each step.
There are two ways to run it. In a single prompt, you ask for both parts in one reply. In two prompts, you ask for the plan first, review or edit it, and then send it back with an instruction to execute it. The second approach adds a human check but takes more time.
The model produces text one piece at a time, so the plan it writes becomes part of the context for what follows. That is why the plan can steer the later steps. It does not guarantee correct arithmetic or correct facts. Models can still make errors inside a step, so the plan helps with structure more than with accuracy.
Three practical examples
- Finance team: An analyst asks a model to explain why monthly travel spend rose. The prompt says to plan first: list the data needed, compare months, then rank the causes. The plan shows the model intends to compare only two months, so the analyst adds a third month before the work is done.
- Retailer: A merchandising manager asks for a promotion plan for slow-moving stock. The prompt asks for a plan listing which products, which discount levels and which channels, followed by the detailed proposal. The manager trims the plan to two channels before the full proposal is written.
- Support desk: A support lead asks a model to draft a reply to a billing complaint with three issues. The prompt asks for a plan that lists each issue and the policy that applies, then the reply. The plan reveals a missed issue, which the lead adds before the reply goes out.
Think of it this way
It is like a contractor who walks through the job and writes a short work order before picking up any tools. The analogy stops working because a contractor who writes a plan actually understands it, while a model can write a sensible plan and then still make a mistake while following it.
Worked example
A small distributor asks a model: A customer ordered 40 units at 12.50 dollars each, gets a 10 percent discount, and pays 8 percent tax on the discounted total. What is the amount due? The prompt asks for a plan first, then the solution.
The plan the model writes has three steps. Step 1: find the subtotal. Step 2: apply the discount. Step 3: add the tax. Following it, step 1 gives 40 x 12.50 = 500.00 dollars. Step 2 takes 10 percent off: 500.00 x 0.10 = 50.00, so the discounted total is 500.00 - 50.00 = 450.00 dollars. Step 3 adds tax: 450.00 x 0.08 = 36.00, so the amount due is 450.00 + 36.00 = 486.00 dollars.
The plan matters because it fixes the order. If tax were applied to the 500.00 subtotal, the tax would be 40.00 and the total would be 490.00 after discount, which is wrong under the stated terms. Having the order written down lets the reader catch that kind of slip.
Illustrative case study
Fictional case: Harbor Lane Outfitters, a made-up regional retailer, used a model to draft weekly summaries of store performance. The summaries often mixed up which stores had grown and which had shrunk, because the data covered several stores, two weeks and three product lines. The team added a plan-and-solve instruction asking the model to list the comparisons it would make before writing anything.
The plans made the errors visible. In several cases the model planned to compare stores against the wrong week. A reviewer began checking the plan, which took under a minute, and fixing it before the model wrote the summary. The team also noticed that long plans for simple tasks were wasted effort, so they kept the technique for the multi-store reports and dropped it for one-line questions. Errors in the final summaries fell, though the team still checked figures against the source data, since a correct plan did not stop the occasional wrong number.
Common misconceptions and mistakes
A plan makes the answer correct. A plan improves structure, but the model can still get a fact or a calculation wrong inside a step, so results still need checking.
It always beats a plain prompt. For simple questions the extra planning adds length and cost with little gain, so it suits multi-step tasks best.
The plan shows how the model really reasons. The plan is text the model generated, and it may not reflect what happens inside the model, so treat it as a useful outline and not as proof of its reasoning.
It needs special software. It is only a way of writing the prompt, and you can use it in any chat tool that accepts instructions.
Business use
To start, pick one task that has several steps and a known right answer, such as a pricing calculation or a report with several comparisons. Write a prompt that asks for a plan and then for the solution, and test it on a handful of past cases against a plain prompt. For higher-stakes work, use the two-prompt version so a person reviews the plan before the model carries it out.
Measure accuracy against known answers, how often the plan itself needed correction, and the time reviewers spend. Costs are mostly longer outputs, which means more words to read and, with paid services, more usage charges. The main risk is false confidence, because a tidy plan can make a wrong answer look trustworthy, so keep checks on figures and sources.
People also ask
How is plan-and-solve prompting different from chain-of-thought prompting?
Chain-of-thought asks the model to reason step by step as it goes. Plan-and-solve asks it to write the plan first and then follow it, which adds an explicit outline you can review.
Do I need two separate prompts?
No. You can ask for the plan and the solution in one prompt. Using two prompts is useful when you want to review or edit the plan before the model acts on it.
When should I avoid plan-and-solve prompting?
Avoid it for short, simple questions where a plan adds length without helping. It is also no substitute for checking facts and calculations in important work.
Check your understanding
What are the two parts of plan-and-solve prompting?
Answer: A planning part, where the model lists the steps, and a solving part, where it follows those steps in order.
In the worked example, what is the amount due and why does order matter?
Answer: The amount due is 486.00 dollars. Applying tax before the discount would give a different total, so the written order prevents that mistake.
Why might a plan be wrong even if it looks sensible?
Answer: The plan is generated text, so it can misunderstand the task or omit a step, which is why a human review of the plan helps.
Does a good plan guarantee a correct answer?
Answer: No. The model can still make errors inside a step, so figures and facts still need to be checked.
Related terms
- Chain-of-thought prompting
- Prompt engineering
- Zero-shot prompting
- Few-shot prompting
- Task decomposition
- ReAct
- Prompt chaining
- Human-in-the-loop
Learn next
Try the technique on one multi-step task from your own work and compare it with a plain prompt on five past cases. Then read about chain-of-thought prompting and prompt chaining to see how reasoning and multi-step workflows build on the same idea.
More in Prompting and human-AI interaction
- Over-refusal - Over-refusal is when an AI model declines, hedges or waters down a request that is actually safe and legitimate, because the request looks like something...
- Persona - A persona, in prompting, is a role, voice or point of view that you ask an AI model to adopt, such as 'a careful financial controller' or 'a friendly...
- Persona prompting - Persona prompting is a prompting technique in which you tell a language model to take on a role, such as a tax accountant, a skeptical auditor or a patient...
- Prefill
- Presence penalty - A presence penalty is a text generation setting that lowers the chance of a language model using any token that has already appeared in the output, no...
- Prompt - A prompt is input supplied to a generative AI model to guide the output it produces.
Sources
Wei et al., Chain-of-Thought Prompting Elicits Reasoning in Large Language Models: https://arxiv.org/abs/2201.11903 DAIR.AI, Prompt Engineering Guide: https://www.promptingguide.ai/ OpenAI, Prompt engineering guide: https://platform.openai.com/docs/guides/prompt-engineering The sources were consulted for the general idea of step-by-step and structured prompting; the examples, analogy, worked example and case are original educational illustrations. Checked 5 Nov 2026.
Previous: Plan-and-solve Next: Plan monitoring