Claude Code budget checker reads local logs and warns before agents burn through limits
getnable · reddit · 2026-07-23
A developer built uvx nable ai-budget, a local tool that reads Claude Code session logs and shows how much usage an agent has burned through before it runs out.
- Works locally, without uploading logs.
- Supports both flat-rate plans and metered API keys.
- Shows tokens used in the current window, month-to-date usage, burn rate, and a warning before limits hit.
- Ships as an MCP server so the agent can check its own budget before starting a large task.
- The next step is nable guard install, a preflight layer for Terraform, kube, and cloud CLI commands that only proposes actions and never auto-executes.
It is free, open source, and aimed at making Claude Code agents less expensive and less surprising to use.
More from coding & agent
- General agents burn ~140M tokens/month on LinkedIn outreach; scripts do it 60x cheaper — ChrisHarpon2 · 2026-10-26
- NLI alone rejects 5/6 new agent memories; a 0.45 similarity gate fixes it all — Alternative_Pin9598 · 2026-10-26
- LangChain ships Managed Deep Agents 0.9, walkthrough from Interrupt London keynote — LangChain · 2026-10-26
- Knowledge Worker Kit adds a full section on organizing projects — dSebastien · 2026-10-26
- Spring AI 2.1.0-RC1 adds tool-call confirmation, pausing agent loops before real-data access — therealdanvega · 2026-10-26
- METR red-teams OpenAI's agent monitoring, finds bypasses and gaps — thione · 2026-10-26