Parameters
Managed defaults are often min 0, max 2, timeout 300s, scale-up 50, cooldown 30s. Custom images often use a smaller max and a longer cooldown.
Behavior
- Load is measured per worker.
- Above the scale-up threshold (and after cooldown), a new worker starts, up to maximum.
- When load falls, extra workers can stop.
- If minimum is 0 and the last worker is idle past instance timeout, the model Sleeps. The next API call loads it again.
Tuning
Related: Optimizing costs, Core concepts.