How the math works
One hour has 3,600 seconds. Multiply the rate per second by 3,600 to get the rate per hour. Do this for each rate on the price list, for example the CPU rate and the memory rate.
Why idle time costs money
An agent often waits, for example for a model to answer. Per-second billing counts those seconds, the same as busy seconds. Active CPU billing does not count CPU seconds spent waiting. A shorter idle timeout stops an unused sandbox sooner, so it runs fewer seconds.
Minimum charges
Some clouds set a minimum charge per instance, so a short run can cost more than its seconds. Amazon EC2 bills Linux instances per second, with a minimum of 60 seconds for each instance. Check the minimum on each provider's pricing page.
What to check
- The unit on the price list: per second, per minute, or per hour.
- Whether CPU and memory have separate rates.
- The minimum charge for each run.
- Whether the rate still applies while the sandbox is idle.