This document provides an overview of how to obtain capacity and quota for each
consumption option in Cluster Director.

Cluster Director supports several
[consumption options](https://docs.cloud.google.com/cluster-director/docs/choose-consumption-option.md.txt#comparison)
to help you get and use compute resources. When you understand the quota,
reservation, and billing requirements for each option, you can plan capacity and
avoid provisioning delays when you create clusters.

## How to obtain capacity

> [!NOTE]
> **Note:** Support for G4, H4D, and TPU VMs in Cluster Director is in [Preview](https://cloud.google.com/products#product-launch-stages). To obtain TPU7x VMs with any consumption option except On-demand, you must contact your account team or the sales team to request access.

The following table describes how you can obtain capacity for each consumption
option:

| Consumption option | Process for obtaining capacity | Pricing implications |
|---|---|---|
| Future reservations for capacity blocks | To get future reservation resources, the process is as follows: 1. To [reserve capacity](https://docs.cloud.google.com/cluster-director/docs/reserve-capacity.md.txt), contact your account team. You can request compute instances and, optionally, a Google Cloud Hyperdisk pool. 2. Google increases your quota, and then provisions your requested resources at your specified start date and for your specified duration. 3. When you create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt), select the **Use reservation** consumption option and then specify your reservation. Cluster Director creates the cluster from your reserved capacity. | You pay for the entire reservation period, whether you use the reserved resources or not. For more information, see the pricing for [reservations](https://docs.cloud.google.com/compute/docs/instances/reservations-overview.md.txt#reservation-billing) and [Hyperdisk pools](https://docs.cloud.google.com/compute/disks-image-pricing#storage_pools). |
| Future reservations in calendar mode | To get future reservation resources, the process is as follows: 1. Search for available capacity and reserve resources. For instructions, see [Create future reservation requests in calendar mode](https://docs.cloud.google.com/compute/docs/instances/create-future-reservations-calendar-mode.md.txt). 2. For GPU or TPU instances, you don't need to request quota. For H4D instances, verify that you have sufficient [CPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#cpu_quota). 3. When you create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt), select the **Use reservation** consumption option and then specify your reservation. Cluster Director creates the cluster from your reserved capacity. | You pay for the entire reservation period, whether you use the reserved resources or not. For more information, see [Dynamic Workload Scheduler pricing](https://cloud.google.com/products/dws/pricing). |
| Future reservations | Future reservations are available only for A3 Mega, G4, H4D, and N2 machine types. To get future reservation resources, the process is as follows: 1. Request standard [CPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#cpu_quota) or [GPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#gpu_quota) for the machine type that you want to use. 2. Create a specifically targeted future reservation request for A3 Mega, G4, H4D, or N2 VMs. For G4 VMs, include 4 Local SSD disks per GPU that use the NVMe disk interface. If you want to submit a future reservation request for A3 Mega, G4, or H4D VMs, then first contact your account team or the sales team to discuss your request. For instructions, see [Create future reservation requests for a single project](https://docs.cloud.google.com/compute/docs/instances/create-single-project-future-reservations.md.txt) or [Create shared future reservation requests](https://docs.cloud.google.com/compute/docs/instances/create-shared-future-reservations.md.txt). 3. After the reservation reaches its start time, create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt). Select the **Use reservation** consumption option and specify your auto-created reservation. Cluster Director creates the cluster from your reserved capacity. > [!CAUTION] > **Caution:** You must have sufficient quota for your requested resources *both* when you submit your reservation request and when the approved request reaches its start time. If you lack quota, then Google Cloud might decline your request or provision only part of your requested resources at the start time. | You pay standard rates for the entire reservation period, whether you use the reserved resources or not. You can attach [committed use discounts (CUDs)](https://docs.cloud.google.com/compute/docs/instances/signing-up-committed-use-discounts.md.txt) for savings. For more information, see [reservation billing](https://docs.cloud.google.com/compute/docs/instances/reservations-overview.md.txt#reservation-billing). |
| On-demand reservations | On-demand reservations are available only for A3 Mega, G4, H4D, and N2 machine types. To get on-demand reservation resources, the process is as follows: 1. Request standard [CPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#cpu_quota) or [GPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#gpu_quota) for the machine type that you want to use. 2. Create a specifically targeted on-demand reservation for A3 Mega, G4, H4D, or N2 VMs by using the Google Cloud console, gcloud CLI, or Compute Engine API. For G4 VMs, include 4 Local SSD disks per GPU that use the NVMe disk interface. When you create a single-project reservation that isn't attached to a commitment, you can optionally specify a [compact placement policy](https://docs.cloud.google.com/compute/docs/instances/placement-policies-overview.md.txt#about-compact-policies). For instructions, see [Create a reservation for a single project](https://docs.cloud.google.com/compute/docs/instances/reservations-single-project.md.txt) or [Create a shared reservation](https://docs.cloud.google.com/compute/docs/instances/reservations-shared.md.txt). 3. When you create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt), select the **Use reservation** consumption option and then specify your reservation. Cluster Director creates the cluster from your reserved capacity. | You pay standard rates for the entire reservation period, whether you use the reserved resources or not. You can attach [CUDs](https://docs.cloud.google.com/compute/docs/instances/signing-up-committed-use-discounts.md.txt) for savings. For more information, see [reservation billing](https://docs.cloud.google.com/compute/docs/instances/reservations-overview.md.txt#reservation-billing). |
| Flex-start | For this consumption option, *no reservation is required*. To get Flex-start resources, the process is as follows: 1. Request preemptible [CPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#cpu_quota), [GPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#gpu_quota), or [TPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#tpu_quota) for the machine type that you want to use. 2. When you create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt), select the **Use Flex-start** consumption option. When your requested capacity becomes available, Cluster Director provisions your cluster. You obtain resources for up to seven days. | You're charged when the resources are in use. Resources that you provision by using Flex-start receive discounts through [Dynamic Workload Scheduler pricing](https://cloud.google.com/products/dws/pricing). |
| Spot | For this consumption option, *no reservation is required*. To get Spot resources, the process is as follows: 1. Request preemptible [CPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#cpu_quota), [GPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#gpu_quota), or [TPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#tpu_quota) for the machine type that you want to use. 2. For GPU or CPU instances, [view resource availability in the region or zone where you want to create compute instances](https://docs.cloud.google.com/compute/docs/instances/view-vm-availability.md.txt). 3. When you create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt), select the **Use spot** consumption option. Cluster Director provisions your cluster, but Compute Engine can preempt the Spot VMs in your cluster at any time. | You're charged when the resources are in use. Spot VMs receive discounts through [Spot VMs pricing](https://docs.cloud.google.com/compute/docs/instances/spot.md.txt#pricing). |
| On-demand | For this consumption option, *no reservation is required*. To get on-demand resources, the process is as follows: 1. If you don't have enough [CPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#cpu_quota), [GPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#gpu_quota), or [TPU quota](https://docs.cloud.google.com/compute/resource-usage.md.txt#tpu_quota) for the resources that you plan to provision, then [request a quota adjustment](https://docs.cloud.google.com/docs/quotas/view-manage.md.txt#requesting_higher_quota). 2. When you create a cluster [from a template](https://docs.cloud.google.com/cluster-director/docs/create/cluster-from-template.md.txt) or [as a custom cluster](https://docs.cloud.google.com/cluster-director/docs/create/custom-cluster.md.txt), select the **Use on-demand** consumption option. Cluster Director provisions your cluster based on the real-time availability of hardware. > [!CAUTION] > **Caution:** Unreserved on-demand capacity for GPU and TPU VMs is limited. To increase your chances of obtaining these VMs, use Flex-start, Spot, future reservations in calendar mode, or future reservations for capacity blocks instead. Use On-demand only if your workload can tolerate delays or if you can't use other consumption options. | You're charged when the resources are in use. For more information, see [VM instance pricing](https://cloud.google.com/compute/vm-instance-pricing) and [Cloud TPU pricing](https://cloud.google.com/tpu/pricing). |