GitHub describes a counterintuitive optimization failure: shorter tool outputs can lead agents to reread information and make more calls. Measure cost over a completed task, alongside task quality, rather than optimizing each individual response in isolation.

From the linked article:

We saved tokens locally and spent more globally.

Read the source

Source: @github. This note summarizes the linked material; images belong to their respective creators.

Original tweet