Claude Code Budgeting Tools
Use tokentrim to trim Claude Code output, read file ranges, and spool long output to disk. Install as a plugin or clone the repo.
How it works for a single Claude Code session
- Install the plugin or clone the repo.
- Run your Claude Code script.
- The toolkit trims the tool output and reads only the needed file ranges.
- If the output is long, it is spooled to disk instead of staying in memory.
- After the run, the replay command shows your savings and token usage.
What you get / what it costs
- All hooks, 3 strength profiles, replay, dashboard, daily budget guard, cold‑cache alert – free.
- Pro lifetime: $49 (first 500 buyers).
- Pro monthly: $9/month.
- Pro adds a hosted dashboard, Monday digest, weekly budget alert at 80%, Slack totals, and support for up to 3 machines.
- Nothing leaves your machine by default.
FAQ
How much can I save? On 135 real conversations, history re‑read was cut by 75%, limits lasted 4.0x longer, and billed cost fell roughly 55‑70%. Shrinking tool output alone saved 6.9%.
Do I need a special OS? Python 3.9 or newer is required. Tested on macOS and Linux.
Can I use it on multiple machines? Yes, Pro lets you use it on up to 3 machines.
Next Step
Visit the Get started page to install or clone tokentrim and begin trimming.
Updated 2026-11-01