CH·02CLI reference

gpu endpoints update

Change an endpoint's autoscaling settings

Change an endpoint's autoscaling settings

Synopsis

Changes how the endpoint scales. Only the flags you pass change. The autoscaler applies the change within seconds: a higher --min-replicas starts machines, and a lower --max-replicas drains the extra ones. A new --max-price applies to machines started after the change.

gpu endpoints update ID_OR_NAME [flags]

Examples

  gpu endpoints update qwen-small --max-replicas 4 --target-concurrency 8
  gpu endpoints update qwen-small --min-replicas 1   # keep one machine warm
  gpu endpoints update qwen-small --no-max-price

Options

  -h, --help                     help for update
      --idle-timeout int         Seconds traffic must stay lower before machines are removed (at least 60) (default 300)
      --max-price float          Highest hourly price per machine, in USD
      --max-replicas int         Most machines under load (at most 4) (default 1)
      --min-replicas int         Machines kept warm even with no requests
      --no-max-price             Remove the hourly price cap
      --target-concurrency int   Requests in flight per machine before another starts (default 16)

Options inherited from parent commands

      --api-base string   API base URL (override with GPUAI_API_BASE env) (default "https://api.gpu.ai/v1")
      --debug             Enable debug logging to stderr
  -o, --output string     Output format: table|json (default table on TTY, json otherwise)

SEE ALSO

  • gpu endpoints - Serve an open model as an OpenAI-compatible endpoint

← The gpu CLI