TL;DR
Researchers tested how specific wording in a prompt affects the hidden "reasoning tokens" (what models like Claude, DeepSeek and Kimi spend on internal deliberation before answering) in AI agents that write code. It turns out some everyday phrases inflate those costs several times over without improving the solution one bit.
The headline finding: the instruction "Develop several distinct approaches to this fix, compare their trade-offs explicitly, and only then select and implement the best one" is one of the most expensive wordings tested. It raises reasoning tokens by 2.4–7.4x on all six open-weight models checked, and this held up on a held-out set of tasks. The model dutifully sketches about three or four candidate strategies and throws most of them away, yet the success rate does not go up (96.5% with the baseline prompt vs. 95.2% with forced branching). The instruction "Think very deeply about this... verify your reasoning repeatedly" has a similar effect (1.6–2.2x more reasoning) — the model deliberates longer, but the result doesn't improve.
The fix is simple and free: explicit task boundaries — what exactly to change, what the done criterion is, when to stop. The paper's "bounded efficiency" wording showed no measurable cost penalty, and on one model (GLM-5.2) it cut reasoning tokens in half (0.48x) at the same success rate. One catch: on a deliberately ambiguous task, the same stop-early wording made the agent look around less and fail hidden tests (3 of 5 runs vs. 0 of 5 with the baseline prompt).
Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.
Findings at a Glance (what hurts, what's safe, what helps)
HARMFUL: "develop several approaches and compare" → ×2.4–7.4 reasoning tokens (6 open models), no success gain
HARMFUL: "think very deeply / be absolutely certain" → ×1.6–2.2 reasoning tokens, no success gain
RISKY: "clean up anything adjacent", "act autonomously" → out-of-scope edits in 5–8% of runs on two models
EXPENSIVE: wrong technical hints in the prompt → ×2.6 reasoning tokens (the model chases a false lead)
SAFE: repetition, irrelevant extra context → nearly free (×1.0–1.03), no need to skimp on explanations
HELPFUL: "bounded efficiency" wording → no cost penalty, ×0.48 on GLM-5.2; risky if the task is ambiguous
Example in Action
Our illustration, not a task from the paper.
Task: You ask Claude Code (or ChatGPT/Claude in extended-thinking mode) to fix a bug in an online store's discount function — it goes negative when the coupon is bigger than the order total.
Bad prompt (gut instinct — "the more detail, the better"):
Explore several different approaches to fixing this problem, compare their pros
and cons, and pick the best one. Think step by step and check everything carefully.
If you see anything else nearby that could be improved, fix that too.
Prompt with explicit boundaries (our adaptation; the paper's own bounded-efficiency wording is quoted under the template below):
Task: the calculate_discount() function returns a negative discount
when the coupon is larger than the order total.
Scope: change only the file discount.py. Do not touch any other code.
Done criterion: the test test_discount_negative passes,
and no other tests break.
Stop condition: as soon as the tests pass, stop.
Do not look for extra improvements and do not suggest alternative solutions.
Expected result (based on the paper's averages, not a measured run): The first prompt makes the model "juggle options in its head" — expect a longer wait and more reasoning tokens, with no better chance of a correct fix, and the "fix that too" line raises the risk of edits outside the task. The second prompt should reach the same result faster and cheaper, because it asks for no comparison and sets a clear place to stop.
Why It Works
Reasoning models follow instructions literally — if you ask them to compare several approaches, the model honestly starts generating that comparison internally, even when the final answer doesn't change because of it. That's not cleverness or depth of meaning — it's extra text you're asking it to produce, and it's billed like any other tokens.
The strength of these models is that they respect explicit boundaries and stop conditions well. Tell them precisely what to do and when to finish, and the model won't "keep mulling" beyond what's needed.
The method exploits this: by removing triggers of excess reasoning ("compare," "think deeply") and adding a clear stop signal, you give the model a reason to finish earlier — with no loss of quality.
Control knobs: - Remove phrases like "compare several options," "consider different approaches" → token savings, if you don't need the comparison as an output - Add a "done criterion" and a "stop condition" → the model doesn't redo what already works - Remove "clean up anything adjacent" and "do whatever is necessary autonomously" → fewer edits outside the task (in the paper these were the only two cues that produced out-of-scope edits) - Don't fear long, detailed prompts → extra text barely raises the cost, so there's no need to skimp on explaining context - Verify technical hints before putting them in the prompt → a wrong guess about the architecture was the costliest prompt defect tested — the model conscientiously follows the false lead - If the task is vague or incomplete, don't tell the agent to stop early → the authors recommend asking it to inspect the repository first
Prompt Template
Task: {short description of the problem}
Scope: change only {specific files/functions}.
Do not touch any other code.
Done criterion: {what must work / which tests must pass}
Stop condition: as soon as the criterion is met, stop.
Do not look for extra improvements and do not suggest alternative solutions.
Fill {short description of the problem} with the concrete gist of the bug or task, {specific files/functions} with the exact boundaries the model is allowed to touch, and {done criterion} with a clear sign the task is solved (a test passes, the function returns the right value, etc.).
Note: this template is our adaptation. It follows the structure of the paper's precise baseline prompt (objective, scope, acceptance criteria, test command, "Stop when the tests pass") plus a stop-early line. The paper's own bounded-efficiency clause reads: "Work efficiently: begin with the failing test and the most likely implementation files; inspect additional files only when evidence requires it; avoid unrelated cleanup; make the smallest sufficient change; run the relevant tests; stop as soon as the acceptance criteria pass." The authors recommend it for well-specified tasks; when the task is incomplete or ambiguous, ask the agent to inspect the repository first.
🚀 Quick start — paste into the chat:
Here is a prompt template for a lean, precise request to an AI coding agent.
Adapt it to my task: {your task}.
Ask me questions to fill in the fields.
[paste the template above]
The LLM will ask about the specific files, the done criterion and the task boundaries — because those three things are exactly what strip away the model's excess "reasoning" without hurting quality.
Limitations
⚠️ Task size: the effect was measured on small tasks (up to 4 files). On large projects the result may differ — the researchers say so directly.
⚠️ The model matters: on newer "frugal" models (e.g., Kimi K3) the relative effect is stronger (the "think deeply" wording inflates reasoning tokens ~15x and "compare several approaches" ~17x against the model's very low baseline), though absolute reasoning tokens still stay at or below those of the older Kimi K2 models — don't panic over percentages, look at the real numbers.
⚠️ The tool matters more than the prompt: the same prompt can cost 5–30x more per solved task depending on which harness runs it (in the paper, Claude Code versus the lighter PI.DEV) — that's not always in the user's hands, but it's worth knowing when you pick a tool.
⚠️ Cache discounts aren't efficiency: if a provider shows your bill went down thanks to caching, it doesn't mean the model got more efficient — it does the same work, you're just charged less for the repeated parts of the prompt.
How They Studied It
The team took six open-weight "thinking" models (DeepSeek-V4-Pro, Kimi-K2.6, Kimi-K2.7-Code, Nemotron-3-Ultra, Inkling and GLM-5.2) and ran them through two different agent harnesses (PI.DEV and Claude Code) on 24 deterministic coding tasks — with hidden tests the agent can't see while working. In total they collected 4,644 valid runs.
A key design detail: all hypotheses and thresholds for "what counts as harmful" were locked in before the researchers looked at the results — that guards against fitting conclusions to the data. Some findings were additionally checked on 8 tasks that played no part at all in selecting the "harmful" phrases — and most effects held up.
The biggest surprise: when the newer Kimi K3 model became available, the team tested it with a replication protocol frozen in advance — and although the relative effect of harmful phrases was even stronger (the model is "frugal" by default, so any extra instruction stands out more against its baseline), absolute reasoning tokens stayed at or below those of the K2 generation (a median of 625 vs. 1,606 under the "compare approaches" prompt). An important lesson: relative growth percentages can look scary, but you need to look at the absolute numbers.
They also tested the closed model Claude Sonnet 5 through the official API. Its thinking is not reported separately, so they measured total output tokens instead. The "compare approaches" effect replicated (2.5–2.7x output tokens), the "think deeply" wording had the mildest effect (1.25–1.30x; the authors suspect the model's own adaptive-thinking control absorbs it), and the "maximum certainty" wording was the most expensive there (4.13x output tokens under Claude Code).
Resources
Sarel Weinberger, Amir Hozez (PointFive). "Prompt-Induced Waste in Coding Agents: Reasoning, Effort, Harness Design, and End-to-End Cost" (earlier versions were titled "Prompt-Induced Waste in Large Reasoning Models: A Preregistered Two-Harness Benchmark of Coding Agents"), August 2026; arXiv v6, September 2026. Code, tasks, prompt variants and raw ledgers are published: github.com/PointFiveLabs/prompt-efficiency-benchmark