Create a cluster
Follow these steps to create your first GPU cluster:1. Access the cluster console
- Log into api.together.ai
- Select GPU Clusters in the top navigation menu
- Select Create Cluster
2. Choose capacity type
Select the billing mode that fits your needs:- Reserved: Pay upfront to reserve capacity for 1-90 days with discounted pricing.
- On-demand: Pay hourly with no commitment. Terminate anytime.
3. Configure your cluster
Cluster size- Select the number and type of GPUs (for example,
8xH100). - Available options: H100, H200, and B200.
- Enter a descriptive name.
- Kubernetes: For containerized workloads and Kubernetes-native tools.
- Slurm: For HPC-style batch scheduling and traditional workflows.
- Defaults to Any region. Together assigns the region with the most available capacity for your selected GPU type when you create the cluster.
- Select a specific datacenter region instead if you need the cluster in a particular location.
- Changing the GPU type resets the region to Any region and clears any selected shared volume, because volumes are region-specific.
- Choose reservation length: 1-90 days.
- Create and name your persistent storage volume.
- Minimum size: 1 TiB.
- Can be resized later as needed.
- Select NVIDIA driver version.
- Select CUDA version.
4. Create and verify
- Select Proceed to create your cluster.
- Monitor the cluster status in the UI as it provisions.
- Wait for status to transition to Ready.
Connect to the cluster
For Kubernetes clusters
-
Install kubectl
- macOS installation guide.
- Or use your preferred method for your OS.
-
Download kubeconfig
Use the Together CLI to download the cluster’s credentials to your local
~/.kube/config. Find your cluster ID withtg beta clusters list:
- Verify connectivity
- Start using your cluster
For Slurm clusters
-
Choose an SSH access method
- On clusters with OIDC enabled, select OIDC or Key-based in SSH access method on the cluster details page.
- OIDC: Install the Together CLI (
uv tool install "together[cli]", requires CLI 2.20+ and Python 3.10+) and choose a login name when prompted. No SSH key is required. - Key-based: Add your SSH key at api.together.ai/settings/ssh-key before cluster creation.
-
Connect via SSH
- Copy the head node command from the cluster sidebar with Copy head node SSH command.
- Paste and run the command in your terminal to reach the Slurm login node.
- Verify Slurm
-
Start submitting jobs
- Learn about Slurm commands.
- Submit batch jobs with
sbatch. - Run interactive jobs with
srun.
-
Optional: Download kubeconfig
Slurm clusters run on Kubernetes, so if you need
kubectlaccess to the underlying cluster API, any project member can download the kubeconfig from the cluster details page or with the Together CLI:
Common first tasks
Upload data
For small datasets:Run a test job
Kubernetes example:Troubleshooting
Can’t see my nodes
- Check cluster status in the UI (should be Ready).
- Re-download the latest credentials with
tg beta clusters get-credentials <CLUSTER_ID>.
SSH connection refused
- Verify your SSH key was added before cluster creation.
- Check the connection command in the cluster UI.
- Ensure you’re using the correct hostname.
Capacity unavailable
- Use the Notify Me option to get alerts when capacity is available.
- Try a different region.
- Contact [email protected] for custom requirements.
Next steps
Manage clusters
Deploy workloads, manage storage, and scale a running cluster.
Capacity types
Compare reserved and on-demand capacity and how each is billed.
API and CLI
Create and manage clusters from the API or Together CLI.
GPU cluster pricing
View current reserved and on-demand GPU cluster rates.