Optimize AI agent spending with per-step model selection, run caps, and detailed cost reporting for Claude Code.
Lake Meter helps developers manage costs and token consumption in Claude Code through per-step model recommendations, execution safeguards, and detailed financial receipts. Operating entirely locally with zero telemetry, it integrates directly via Claude Code hooks, MCP, and statusline extensions. During plan mode, Lake Meter estimates step complexity to recommend the most cost-effective model tier, while an interactive spending cap pauses execution before tool calls if budget thresholds are exceeded. It provides precise post-run receipts comparing measured usage to original estimates, offering developers fine-grained control and visibility over local agentic workflows.