Set Up Cost Budgets
Set budgets
Section titled “Set budgets”Global monthly budget
Section titled “Global monthly budget”swm costs budget set 200 --scope global --period monthlyPer-provider weekly budget
Section titled “Per-provider weekly budget”swm costs budget set 50 --scope provider:runpod --period weeklyPer-pod budget
Section titled “Per-pod budget”swm costs budget set 20 --scope pod:abc123 --period totalMonitor spending
Section titled “Monitor spending”swm costs budget show # progress bars for all budgetsswm costs live # real-time active pod costsswm costs summary --period monthReconcile with provider charges
Section titled “Reconcile with provider charges”swm costs reconcile -p runpodCompares your local tracking against the actual RunPod or Vast.ai billing API.
Combine with lifecycle guard
Section titled “Combine with lifecycle guard”For automatic cost control, pair budgets with the lifecycle guard:
swm guard defaults --mode auto-down --idle-timeout 30This ensures idle pods are terminated automatically, keeping spending within budget.