---
title: "Discussion on \"Same model, same task, 2.6x the bill: where agent harness costs actually go\" | Hashnode"
description: "Discussion on \"Same model, same task, 2.6x the bill: where agent harness costs actually go\". Harness changes barely move agent accuracy but swing cost up to 2.6x. Where agent tokens go, five fixes, and a runnable cost model."
url: "https://hashnode.com/posts/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go/6aff50773f981cfa6fcc3755"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Same model, same task, 2.6x the bill: where agent harness costs actually go](https://mahmadmanzoor.hashnode.dev/same-model-same-task-2-6x-the-bill-where-agent-harness-costs-actually-go?utm_source=hashnode&utm_medium=feed)

Harness changes barely move agent accuracy but swing cost up to 2.6x. Where agent tokens go, five fixes, and a runnable cost model.

4d ago · 21 min read · mahmadmanzoor.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#llm](https://hashnode.com/tag/llm)
-   [#claude-code](https://hashnode.com/tag/claude-code)

## Written by

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

@mahmadmanzoor · Lahore, Pakistan

  
[View profile](https://hashnode.com/@mahmadmanzoor)

AI Product Engineer @ RipeSeed. Shipping LLM features, agents and evals in production.

## Responses 4

Markdown supported · ⌘↵ to post

[Salman Parvez | ML Systems](https://hashnode.com/@ml-systems)

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

Paying again for the whole conversation on every turn is what an estimator would call a carrying cost. It isn't in any one line item, so nobody sees it until the job runs long. The grep that returns three lines and bills like 10K tokens of new input is a good example to keep. Same accuracy at up to 2.6x the bill is two crews building the same wall at very different prices. I'd look at the long sessions first.

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

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

Carrying cost is a good name for it, since it never shows up as one line item and only becomes visible once a session runs long. Starting with the long sessions makes sense, because that is where cache reads grow to most of the bill.

[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.
