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
- BELL: Open-Source Stack Combines Browserbase, Eve, iMessage and Stripe Link for Personal Agents — jeff_weinstein · 2026-10-27
- Legora runs 2,000 parallel agent evals on Modal Sandboxes for legal AI — blelbach · 2026-10-27
- Two engineers rebuilt a FedEx supplier's billing core in 3.5 months vs an estimated 7-8 — alex_verem · 2026-10-27
- GPT-6.1 Terra scores 48 on AA Coding Agent Index at one-third the cost of GPT-5.6 Terra — ArtificialAnlys · 2026-10-27
- Shift-1 router cuts coding agent spend up to 55% while keeping SWE-bench accuracy — ypatil125 · 2026-10-27
- Non-coder vibe-codes a Godot JRPG with Claude Code in two weeks, music and art synced — ADHDavid · 2026-10-27