Skip to content

Show HN: CLI to budget Claude Code session costs

github.com/jher7
2 pointsherrjdiscuss
On HN

I code on Claude's pay as you go API and started budgeting my token usage with my own CLI wrapper.

Basically I set a budget for a task that I'm working on in my project:

Task: "Fix mobile responsiveness" Budget: $3.00

and the budget updates after each prompt:

Task: "Fix mobile responsiveness" Budget: $2.34 / $3.00 78%

It helps keep an eye on my spending when working on projects.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.