AI Hypercomputer has several consumption options for acquiring compute
resources. These options address needs such as workload duration, fault
tolerance, and infrastructure model. Learn about these options and choose the
best one for your use case.

## Overview of consumption options

If you want AI-powered assistance to compare consumption options for your
workload and budget, then run the following prompt in Compute Advisor:

```
Act as an AI infrastructure architect. Help me compare and select an AI Hypercomputer consumption option based on my project's quotas, active reservations, committed use discounts (CUDs), and available regions.

Provide the following:

1. Project capacity and discount check: Inspect my project's standard and preemptible GPU quotas, active reservations, and CUDs across regions to identify which consumption options have available quota or active reservations compared to those that require a quota increase or reservation.

2. Consumption option comparison: Compare current and available consumption options and their specific characteristics—including capacity assurance, placement density, runtime limits, billing model, and pricing discounts—based on my project and the machine series of my VMs.

3. Workload recommendations: Recommend the optimal consumption option for clustered GPUs and general GPUs based on training, fine-tuning, or inference requirements.

Format the comparison as a Markdown table, provide a ready-to-use gcloud CLI command to reserve or provision capacity, and end with 2-3 questions about my workload duration, fault tolerance, and budget to refine the plan.
```

To compare consumption options across key characteristics, use the following
table:

| Consumption option | Provisioning model | Best for | Capacity assurance | Lifespan | Preemptible | Quota | Discounts | Allocation model |
|---|---|---|---|---|---|---|---|---|
| Flex-start | Flex-start | Short-duration workloads up to seven days that can wait for capacity. | Best-effort | Up to seven days | No | Preemptible quota | Discounted (up to 53%) on supported series | Dense for MIG resize requests and bulk mode; best-effort for standalone VMs. |
| Spot VMs | Spot | Fault-tolerant, short-duration general GPU workloads. | Best-effort | Preemptible | Yes | Preemptible quota | Deeply discounted (up to 91%) | Standard |
| Standard reservations | Standard | Critical general GPU workloads that require a very high level of assurance for capacity. | Very high | Unlimited | No | On-demand quota | Discounted rates with committed use discounts (CUDs) | Standard |
| Future reservations for capacity blocks | Reservation-bound | Large-scale, long-running training on clustered GPU. | Very high | Unlimited within the reservation period. | No | Quota is increased before delivery | Discounted (up to 53%) with CUDs | Dense |
| Future reservations in calendar mode | Reservation-bound | clustered GPU workloads up to 90 days that require reserved capacity. | Very high | Up to 90 days | No | No quota consumed | Discounted (up to 53%) | Dense |
| On-demand VMs | Standard | General GPU workloads with no specific duration. | Best-effort | Unlimited | No | On-demand quota | None (pay-as-you-go) | Standard |

The consumption option that you use to deploy your infrastructure depends on
whether you use General GPU or
Clustered GPU.

- **General GPU** : designed for small-scale
  inference, development, and smaller-scale training workloads. This type of
  GPU offers operational flexibility through asynchronous maintenance. To
  view the available options, see [Consumption options for
  general GPU](https://docs.cloud.google.com/ai-hypercomputer/docs/consumption-models#general-gpus).

- **Clustered GPU** : designed for large-scale,
  tightly coupled training workloads and large-scale inference, RL, and
  reasoning model workloads that require high capacity assurance and dense
  resource allocation to minimize network latency. To view the available
  options, see [Consumption options for
  clustered GPU](https://docs.cloud.google.com/ai-hypercomputer/docs/consumption-models#clustered-gpus).

## Consumption options for general GPUs

Use the following consumption options to acquire capacity for
general GPU.

### Use Flex-start

To run short-duration workloads that require densely allocated resources, you can request compute
resources for up to seven days by using Flex-start. Whenever resources are available,
Compute Engine creates your requested number of VMs. You can stop standalone
Flex-start VMs, but you can't stop Flex-start VMs that a managed instance
group (MIG) creates through resize requests. Flex-start VMs exist until you
delete them, or until Compute Engine deletes the VMs at the end of their run duration.

#### Ideal workloads

- Small model pre-training
- Model fine-tuning
- High performance computing (HPC) simulation
- Batch inference

#### Key characteristics

- **Provisioning model**: Flex-start.
- **All-or-nothing allocation for MIGs**: create a resize request in a MIG so that Compute Engine provisions all requested VMs together when capacity becomes available. This approach helps you avoid unnecessary charges for partial capacity until all requested VMs are available.
- **Broad hardware support**: request any general GPU machine type.
- **Latency optimization**: apply a compact placement policy to standalone VMs to minimize network latency.
- **Cost efficiency** : receive a discount of up to 53% on vCPUs, memory, GPUs, and Local SSD disks for A4, A3, A2, and G4 machine series. Standard on-demand rates apply to other supported series. For more information, see [Flex-start pricing](https://docs.cloud.google.com/compute/docs/instances/about-flex-start-vms.md.txt#pricing).

### Use Spot

To run fault-tolerant workloads, you can obtain compute resources based on
real-time availability at a discounted price. However, Compute Engine
can preempt VMs at any time to reclaim capacity. Before you create VMs, you
can [view the
availability of Spot VMs](https://docs.cloud.google.com/compute/docs/instances/view-vm-availability) and
[view the
preemption rate and pricing for Spot VMs](https://docs.cloud.google.com/compute/docs/instances/view-spot-preemption-price) across regions and
zones.

#### Ideal workloads

- Batch processing and data analytics
- High performance computing (HPC) and media encoding

#### Key characteristics

- **Provisioning model**: Spot.
- **Broad hardware support**: request any general GPU machine type.
- **Latency optimization**: apply a compact placement policy to standalone VMs to minimize network latency.
- **Cost efficiency**: receive a discount of up to 91% on vCPUs, memory, GPUs, and Local SSD disks.

### Use on-demand

> [!CAUTION]
> **Caution:** To help increase your chances of obtaining high-demand resources such as GPUs, use Flex-start, Spot, or reservations instead. Use unreserved on-demand capacity only if your workload can tolerate delays or if you can't use other consumption options.

To run workloads with no specific duration, you can request compute resources
based on real-time availability. VMs run until you stop or delete them.

#### Ideal workloads

- Inference and model serving
- Prototyping and experimentation

#### Key characteristics

- **Provisioning model**: Standard.
- **Unscheduled requests**: request VMs as needed without advance reservations or long-term commitments. Resource allocation depends on real-time availability of hardware.
- **Standard pricing**: pay for resources at standard on-demand rates without long-term commitments.
- **Broad hardware support**: use with any supported GPU machine series in the general GPU path.

### Use standard reservations

To run critical general GPU workloads that require a very high
level of assurance for capacity, you can use standard reservations.

#### Ideal workloads

- Critical production workloads
- Workloads requiring assured capacity

#### Key characteristics

- **Provisioning model**: Standard.
- **Capacity assurance**: provides very high assurance that resources are available.
- **Pricing**: standard rates apply, but you can attach CUDs for savings.

## Consumption options for clustered GPU

Use the following consumption options to acquire capacity for clustered GPU.

### Use future reservations for capacity blocks

To run long-running, large-scale distributed workloads that require densely allocated resources,
you can request densely allocated compute resources for a future date and time. You have exclusive
access to your reserved resources for that period of time, and you can use the resources to create
VMs or clusters. At the end of the reservation period, Compute Engine performs the
following actions:

- Compute Engine deletes the reservation and any associated empty storage pool.
- Based on the [termination action](https://docs.cloud.google.com/compute/docs/instances/limit-vm-runtime.md.txt#limit-runtime-new-vm) that you specify for the VMs, Compute Engine stops or deletes any VMs that use the reservation.

#### Ideal workloads

- Pre-training foundation models
- Inference for foundation models across multiple hosts

#### Key characteristics

- **Provisioning model**: Reservation-bound.
- **Premium machine support**: reserve A5X, A4X Max, A4X, A4, A3 Ultra, A3 Mega, or A3 High (8 GPUs) machine types.
- **Hyperdisk reservations**: you can reserve a Hyperdisk Storage Pool or Hyperdisk Exapool together with compute capacity to help ensure that your workloads have sufficient storage resources. Google co-locates Hyperdisk pools with your compute nodes to optimize storage performance.
- **Commitment requirements**: attach a resource-based commitment for reservations of one year or longer to receive discounts on compute resources and Hyperdisk pools.
- **Dynamic modifications**: enable hardware emergency maintenance notifications for Vertex AI jobs usage after the period starts.

### Use future reservations in calendar mode

To run short-running distributed workloads that require densely allocated resources, you can
request compute resources for up to 90 days. You have exclusive access to your reserved resources
for that time, and you can use the resources to create VMs or clusters. At the end of the
reservation period, Compute Engine does the following:

- Compute Engine deletes the reservation.
- Based on the [termination action](https://docs.cloud.google.com/compute/docs/instances/limit-vm-runtime.md.txt#limit-runtime-new-vm) that you specify for the VMs, Compute Engine stops or deletes any VMs that use the reservation.

#### Ideal workloads

- Pre-training and fine-tuning
- Large-scale simulations and inference

#### Key characteristics

- **Provisioning model**: Reservation-bound.
- **Machine series support**: reserve A4, A3 Ultra, A3 Mega, or A3 High (8 GPUs) machine types.
- **Scalability limits**: reserve up to 80 VMs for a maximum of 90 days.
- **Optimized provisioning**: use a reservation-bound model to increase your chances of obtaining GPUs.

### Use Flex-start

Use Flex-start for clustered managed instance group (MIG) resize requests when you need
densely allocated resources for up to seven days.

#### Ideal workloads

Flex-start VMs are ideal for running workloads that can start at any time, such as the following:

- Small model pre-training
- Model fine-tuning
- High performance computing (HPC) simulation
- Batch inference

#### Key characteristics

- **Provisioning model**: Flex-start.
- **Resource allocation**: create a resize request in a MIG so that Compute Engine provisions all requested VMs together in a dense placement. This approach helps you avoid unnecessary charges for partial capacity until all requested VMs are available.
- **Cost efficiency**: receive a discount of up to 53% on vCPUs, memory, GPUs, and any attached Local SSD disks for A4, A3, A2, and G4 machine series. Standard on-demand rates apply to other supported machine series.

### Use Spot

To run fault-tolerant workloads that require dense allocation, you can use
Spot VMs at a discounted price. However, Compute Engine
can preempt VMs at any time to reclaim capacity. Before you create VMs, you
can [view the
availability of Spot VMs](https://docs.cloud.google.com/compute/docs/instances/view-vm-availability) and
[view the
preemption rate and pricing for Spot VMs](https://docs.cloud.google.com/compute/docs/instances/view-spot-preemption-price) across regions and
zones.

#### Ideal workloads

- Fault-tolerant distributed training
- Batch processing

#### Key characteristics

- **Provisioning model**: Spot.
- **Preemption**: Compute Engine can preempt instances at any time.
- **Cost efficiency**: receive a discount of up to 91% on vCPUs, memory, GPUs, and any attached Local SSD disks.

## What's next

- To review the process and choices to make when you start a cluster, see [Plan and create your AI
  infrastructure](https://docs.cloud.google.com/ai-hypercomputer/docs/process-overview).
- To create and use reservations, see [Create and use
  reservations](https://docs.cloud.google.com/compute/docs/instances/reservations-overview).
- To learn more about Spot VMs, see [Learn more about Spot
  VMs](https://docs.cloud.google.com/compute/docs/instances/spot).
- To create an on-demand VM instance, see [Create an on-demand VM
  instance](https://docs.cloud.google.com/compute/docs/instances/create-start-instance).
- To design and optimize your AI infrastructure with AI-powered assistance, see [Design AI infrastructure with
  Compute Advisor](https://docs.cloud.google.com/ai-hypercomputer/docs/design-with-gemini).