promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Cloud, GPUs, Kubernetes, and cost — step 7 of 7

Checkpoint

One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.

Run the monthly cost review as code. Print the total, then every line item sorted by cost descending as f"${cost:>5} {util:>4.0%} utilized {name}" — appending " <- LEAK" when utilization is under 20%. Close with the halving lever for the biggest line item: f"halving lever for '{name}': {lever}" from the LEVERS dict. Biggest item, utilization, one change that halves it — the three questions, mechanized.

full-screen editor opens — close anytime to keep reading.