typical change, to measure token consumption. Input tokens per task dropped from 159,564 to 27,360, a savings of 83%. In monetary terms, at Sonnet 5's price of $3 per million input tokens, the savings amounted to 39.7 cents per task. The main reason is that the agent had to read less code. However, the refactoring itself cost about 5 million tokens, and the experiment was conducted on a new project without legacy code, so the conclusions are limited.