Skip to content

Set Up Cost Budgets

Terminal window
swm costs budget set 200 --scope global --period monthly
Terminal window
swm costs budget set 50 --scope provider:runpod --period weekly
Terminal window
swm costs budget set 20 --scope pod:abc123 --period total
Terminal window
swm costs budget show # progress bars for all budgets
swm costs live # real-time active pod costs
swm costs summary --period month
Terminal window
swm costs reconcile -p runpod

Compares your local tracking against the actual RunPod or Vast.ai billing API.

For automatic cost control, pair budgets with the lifecycle guard:

Terminal window
swm guard defaults --mode auto-down --idle-timeout 30

This ensures idle pods are terminated automatically, keeping spending within budget.