Documentation Index
Fetch the complete documentation index at: https://docs.together.ai/llms.txt
Use this file to discover all available pages before exploring further.
GPU clusters are a beta feature. Behavior, flags, and supported hardware can change. Reach out to your Together AI contact or contact sales with feedback.
Create a cluster
Parameters
| Flag | Description |
|---|---|
--name [string] | Name for the cluster. |
--num-gpus [integer] | Number of GPUs to allocate in the cluster. |
--region [string] | Region to create the cluster in. Valid regions can be found with tg beta clusters list-regions. |
--billing-type [ON_DEMAND|RESERVED] | Cluster reservation approach.
|
--nvidia-driver-version [string] | NVIDIA driver version. Valid versions can be found with tg beta clusters list-regions. |
--cuda-version [string] | CUDA version. Valid versions can be found with tg beta clusters list-regions. |
--duration-days [number] | Only used with RESERVED billing. Specifies how many days the cluster is reserved for. |
--gpu-type [string] | GPU type to use for the cluster. One of H100_SXM, H200_SXM, RTX_6000_PCI, L40_PCIE, B200_SXM, H100_SXM_INF. Available types vary by region; see tg beta clusters list-regions. |
--cluster-type [KUBERNETES|SLURM] | Cluster workload manager or orchestrator. |
--volume [string] | Storage volume ID to attach to the cluster. List existing volumes with tg beta clusters storage list. |
Run
tg beta clusters create with no flags to launch an interactive prompt that walks through the required fields. Pass --non-interactive (or --json) to skip prompts in CI.Update a cluster
Parameters
| Flag | Description |
|---|---|
--num-gpus [integer] | Number of GPUs to allocate in the cluster. |
--cluster-type [KUBERNETES|SLURM] | Cluster workload manager or orchestrator. |
Retrieve a cluster
Delete a cluster
List clusters
List regions
Get configuration information per region for creating a GPU cluster.Example output
Get cluster credentials
Download the cluster’s configuration and credentials to your local.kube/config file to manage Kubernetes resources.
Parameters
| Flag | Description |
|---|---|
--file [Path|-] | Override the path to write the kubeconfig to. Pass - to print the config to stdout instead of writing to a file. Default: ~/.kube/config. |
--context-name [string] | Name of the context to add to the kubeconfig. Defaults to the cluster name. |
--overwrite-existing | If there is a conflict with the existing kubeconfig, overwrite it instead of raising an error. |
--set-default-context | Change the current context for kubectl to the new context. |
Create cluster storage
Parameters
| Flag | Description |
|---|---|
--region [string] | Region to create the storage volume in. required |
--size-tib [integer] | Size of the storage volume in TiB. required |
--volume-name [string] | Name for the storage volume. required |