---
title: "Discussion on \"Trimming Context Can Make Your Agent More Expensive\" | Hashnode"
description: "Discussion on \"Trimming Context Can Make Your Agent More Expensive\". Two new studies deleted old tool output from coding-agent runs. The prompts got shorter and the bills got bigger. Here's why, when trimming still pays, and how to check it in your own usage numbers."
url: "https://hashnode.com/posts/trimming-context-can-make-your-agent-more-expensive/6aeb37333af0e165902b85b2"
---

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

Discussion

# [Trimming Context Can Make Your Agent More Expensive](https://r3dtuxedo.hashnode.dev/trimming-context-can-make-your-agent-more-expensive?utm_source=hashnode&utm_medium=feed)

Two new studies deleted old tool output from coding-agent runs. The prompts got shorter and the bills got bigger. Here's why, when trimming still pays, and how to check it in your own usage numbers.

Nov 4 · 15 min read · r3dtuxedo.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#llm](https://hashnode.com/tag/llm)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)

## Written by

[Andre Burgstahler](https://hashnode.com/@r3dtuxedo)

@r3dtuxedo

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

Writing about AI coding agents in practice: Claude Code, Codex, AGENTS.md, cost control and safe automation.

Writing about AI coding agents in practice: Claude Code, Codex, AGENTS.md, cost control and safe automation.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
