Skip to main content
Keep cloud spending under control without opening the dashboard. Your AI agent can check balances, break down usage, identify waste, and terminate idle resources.

”How much have I spent this week and what’s my balance?”

The agent checks billing:
  1. billing_balance: returns current credit balance
  2. billing_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:
  1. list_instances: gets all running instances
  2. ssh_execute: checks nvidia-smi on each running instance
  3. billing_usage: calculates cost per instance
Checked 4 running instances: dev-box and test-bench have 0% GPU utilization. Both are still billing while idle. Want me to terminate both?
After you confirm:
  1. delete_instance: terminates dev-box
  2. delete_instance: terminates test-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:
  1. billing_balance: checks current balance
  2. billing_usage: gets daily burn rate from the last 30 days
  3. list_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:
  1. Add credits from the dashboard (I can work out the exact top-up at today’s rate)
  2. Switch inference to an A100, which has a lower hourly rate

Tools used in this workflow