Related:
⬡ API & SDK/2026-09-08Intermediate
Writing 25 as your session budget caps it at twenty-five cents
Managed Agents session budgets are expressed in minor units as a string. Here is how I mixed up the unit, hit budget_reached in minutes, and what raising versus clearing a budget actually does.
⬡ API & SDK/2026-05-02Intermediate
Designing a Claude API Monthly Budget That Doesn't Blow Up — Cost Management for Solo Developers
When you embed Claude API into a side-project app, the first thing you hit is the end-of-month invoice. Here are the budgeting math, logging, caps, and retry rules I use to keep costs predictable, including the places where I tripped.
⟐ Claude Code/2026-06-26Intermediate
We Collected Plenty of Claude Code Usage Data — Then Budgeting Still Didn't Work. Field Notes on Cost Attribution and Idle Seats
The Claude Code Analytics API gives you data, but data alone doesn't run a budget. Here are field notes on turning raw usage logs into cost attribution, idle-seat detection, and alerts that don't cry wolf — with working code and the thresholds we actually use.