”How much have I spent this week and what’s my balance?”
The agent checks billing:billing_balance: returns current credit balancebilling_usage: returns spending breakdown for the last 7 days
Current balance: $487.30 Last 7 days, by resource:Your H100 inference server is most of your spend. It’s been running 24/7. Want a projection of how long your balance lasts at this rate?
”Find anything that’s running but not being used and shut it down.”
The agent cross-references instance status with GPU utilization:list_instances: gets all running instancesssh_execute: checksnvidia-smion each running instancebilling_usage: calculates cost per instance
Checked 4 running instances:After you confirm:dev-box and test-bench have 0% GPU utilization. Both are still billing while idle. Want me to terminate both?
delete_instance: terminatesdev-boxdelete_instance: terminatestest-bench
Terminated dev-box and test-bench. Both have stopped billing.
”Give me a monthly projection. Can I afford to run an H100 for the rest of the month?”
The agent calculates:billing_balance: checks current balancebilling_usage: gets daily burn rate from the last 30 dayslist_instances: gets current active instances and their per-hour cost
Balance: $487.30 Current burn rate: inference-prod (H100) plus training-v3 (A100), at their live hourly rates At that combined rate, you have about 5 days of runway. If you shut down the A100 after training completes (~6 more hours), the H100 alone stretches that to about 8 days. Running the H100 for the remaining 12 days of the month needs more than your current balance. Options:
- Add credits from the dashboard (I can work out the exact top-up at today’s rate)
- Switch inference to an A100, which has a lower hourly rate