---
title: "Comment by AI Developer on \"Same model, same task, 2.6x the bill: where agent harness costs actually go\" | Hashnode"
description: "The point that cache reads dominate cost on long runs makes the quadratic growth in tool calls the key lever. I'd be curious whether the 36% of tool outputs tha"
url: "https://hashnode.com/posts/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go/6aff50773f981cfa6fcc3755/comment/6aff9da1b5ebf26e4fae85ef"
---

[Discussion](https://hashnode.com/posts/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go/6aff50773f981cfa6fcc3755)

Comment [Same model, same task, 2.6x the bill: where agent harness costs actually go](https://hashnode.com/posts/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go/6aff50773f981cfa6fcc3755)

[AI Developer](https://hashnode.com/@lycore)

[4d ago](https://hashnode.com/posts/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go/6aff50773f981cfa6fcc3755/comment/6aff9da1b5ebf26e4fae85ef)

The point that cache reads dominate cost on long runs makes the quadratic growth in tool calls the key lever. I'd be curious whether the 36% of tool outputs that are never used could be predicted cheaply at call time, say by output type or size, so the harness truncates them before they enter context at all, rather than compacting afterwards. Also, since 17-29% of tasks cost more than baseline with Agency, a simple guard like skipping compaction on short sessions seems worth testing.

[Muhammad Ahmad](https://hashnode.com/@mahmadmanzoor)

[4d ago](https://hashnode.com/posts/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go/6aff50773f981cfa6fcc3755/comment/6aff9da1b5ebf26e4fae85ef#reply-6b001c1b91ae5f9d221219b8)

Predicting unused outputs at call time by type or size seems worth trying, since truncating before they enter context also saves the cache reads on every later turn. Skipping compaction on short sessions is a cheap guard to test against that 17-29% too.
