Search papers, labs, and topics across Lattice.
This study systematically evaluates the impact of prompt wording on the reasoning costs incurred by large coding agents across six models and two harnesses, revealing that certain prompts can significantly increase the number of reasoning tokens without enhancing correctness. The research, which involved 4,643 runs across various coding tasks, found that prompts encouraging the development and comparison of multiple approaches were particularly wasteful, leading to a 2.4-7.4x increase in costs. Additionally, the choice of harness was found to dramatically influence costs, with identical setups costing 5-30x more depending on the harness used, highlighting the importance of both prompt design and tool selection in optimizing agent performance.
Prompt wording can inflate reasoning costs by up to 7.4x without improving task success, revealing a critical inefficiency in large coding agents.
Large reasoning models used as coding agents incur costs from deliberation, tool calls, and repeated agent turns, yet the causal effect of prompt wording on this spend has not been measured systematically. We present a preregistered benchmark across six large reasoning models, two real agent harnesses, and 24 deterministic coding tasks with hidden evaluators. Across 4,643 valid runs, including screening, stress, holdout, replication, and cross-provider studies, we find that prompt formulation can multiply reasoning cost without improving correctness. Asking the model to develop and compare several approaches is the most consistently wasteful instruction, increasing reasoning tokens by 2.4-7.4x across all models. Generic "think deeply" cues also increase deliberation by 1.6-2.2x, while a bounded-efficiency template specifying scope, acceptance criteria, and a stop condition is cost-neutral and can halve reasoning. Harness choice matters even more: identical model-task-prompt triples cost 5-30x more per success under Claude Code than under pi, mainly because of larger static prefixes and more turns. Misleading architectural hints are far costlier than irrelevant prose, and provider-side caching reduces billed cost without changing behavior, so it must not be treated as efficiency. Replications on Kimi-K3 and Claude Sonnet 5 preserve the main effect directions while revealing model-specific sensitivity to thinking and certainty cues. Overall, prompt wording and harness design materially affect agent cost, often with no gain in task success.