Step-by-step answer
Core 60–90 min5 stepsBuild a serving cost calculator
A pure-Python calculator that prices one open-weight workload four ways (serverless, serverless plus batch, scale-to-zero GPUs and dedicated GPUs) from an hour-by-hour weekly traffic profile and a measured throughput curve. Utilisation is never an input; it falls out of sizing GPUs for the peak hour.
Back to the exercise