CH·02CLI reference
gpu functions get
Show one function's settings, machines and 24 hour cost
Show one function's settings, machines and 24 hour cost
Synopsis
Shows a function's settings (GPU, timeout, idle timeout, max concurrency, Python version, pip requirements), how many machines it has in each state, and its cost over the last 24 hours.
Two costs are shown. Machine cost is what you are billed: the time the function's machines existed, idle period included. Run cost is the part of that time spent running calls. The settings are those of the function's current version.
gpu functions get <function> [flags]
Examples
# By name
gpu functions get embed
# By id, as printed by `gpu functions list`
gpu functions get 3f9c1c2a-5b6d-4a71-9c3e-2f8a1d0b7e45
Options
-h, --help help for get
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 functions - Inspect and manage your functions (Python functions that run on a GPU.ai GPU)