Skip to main content
Set autoscaling in the launch wizard or later on the model Configuration tab. The dashboard talks about workers. Older docs said instances — same idea: one loaded replica of the model.

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

  1. Load is measured per worker.
  2. Above the scale-up threshold (and after cooldown), a new worker starts, up to maximum.
  3. When load falls, extra workers can stop.
  4. 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.