Research ·
Study: a pricier harness doesn't make a coding agent better
What happened
A controlled experiment compared the harnesses (the frameworks that guide a model through a task) Claude Code, OpenCode and mini-SWE-agent. Switching harnesses moves the share of solved tasks barely more than simply rerunning the same setup. Cost per task, however, can triple, mostly because the system prompt is resent at every step.
Why it matters
The length of your system prompt and CLAUDE.md affects your API bill more than your choice of tool. Trimming those instructions is the easiest saving.