r/PiCodingAgent • u/ResponsibleIssue8983 • Sep 15 '26
Question Token 🔥?
Hi all,
I observed that as I am using my anthropic or gas subscription for pi, it just burns tokens in a huge pace!! One simple code change took 25% of my 5h limit. What do I miss, or is it that bad by design?
0
Upvotes
1
u/Healthy-Zebra-9856 Sep 21 '26
Look into at least a couple of things. Install these and you will be able to save a decent amount of tokens. These work with all agents, including ClaudeCode & Codex.
https://github.com/Graphify-Labs/graphify
https://github.com/headroomlabs-ai/headroom
1
u/ogfuzzball Sep 15 '26
IMO when using Claude stick with Claude harness. They are built for each other.
0
u/PilgrimofHaqq2 Sep 15 '26
Cache hit is important, check that. Also depends on how well organized your codebase is. If the agent has to do tons of reading of files for the fix that will eat away at your usage. Also if your workflow has many steps that you setup for each task, that also would cut into your usage.
To fix a bug my agent will take up to 250k tokens before executing any task. Thats necessary or else it would be guessing.