Pricing

Charges for Cloud TPU usage are based on the pricing model below for preemptible and non-preemptible (on-demand) TPU use. A bill is sent out at the end of each billing cycle, listing usage and charges for that billing cycle.

Prices on this page are listed in US dollars (USD).

Single Cloud TPU v2 and v3 device pricing

The following table shows the pricing per region to use a single Cloud TPU v2 or v3 device:

US EUROPE ASIA
TPU Version On-demand price Preemptible price
Cloud TPU v2
Cloud TPU v3
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Notes:

  • A preemptible TPU is one that Cloud TPU can terminate (preempt) at any time if Cloud TPU requires access to the resources for another task. The charges for a preemptible TPU are much lower than those for a normal TPU.
  • TPUs are charged in one-second increments.
  • You are not charged for TPUs if they are preempted in the first minute after you create them.
  • If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
  • All use is subject to the Cloud TPU quota policy.

Cloud TPU v2 and v3 Pod (Beta) pricing

Pod pricing is based on the number of cores used in the Pod slice. For example, a v2-128 Pod is an 8x8 slice with 128 cores.

Cloud TPU v2 and v3 Pods allow you to first evaluate Pods with your own ML workloads and then reserve capacity for 1 or 3 year terms at a deeply discounted rate.

Evaluation: For v2 Pod evaluation capacity, you pay $0.75 per TPU-core-hour. For v3-32 Pod evaluation capacity, you pay $1.00 per TPU-core-hour.

Contact us to request evaluation capacity.

Commitment: For v2 Pod commitment capacity, you pay $0.47/core/hr for 1-year and $0.34/core/hr for 3 year. For v3 Pod commitment capacity, you pay $0.63 for 1-year and $0.43 for 3-year. In order to make a commitment, simply purchase a 1 or 3 year committed use discount and start using your Cloud TPU Pod today.

Upon purchase, you will be billed a monthly fee for the duration of the term you selected, whether or not you use the services. See the billing topic for details on the billing cycle.

US EUROPE ASIA
TPU Pod v2 Configuration Evaluation Price / hour 1-year Commitment Price 3-year Commitment Price
v2-32 Cloud TPU v2 Pod (Beta)
v2-128 Cloud TPU v2 Pod (Beta)
v2-256 Cloud TPU v2 Pod (Beta)
v2-512 Cloud TPU v2 Pod (Beta)
TPU Pod v3 Configuration Evaluation Price / hour 1-year Commitment Price 3-year Commitment Price
v3-32 Cloud TPU v3 Pod (Beta)
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

To request a Cloud TPU Pod configuration or a quote for larger Cloud TPU v3 Pod slices, contact a sales representative.

TensorFlow Research Cloud (TFRC) program

If you're enrolled in the TFRC program you are granted access to Cloud TPU v2 and v3 for a limited period of time free of charge. You are not charged for Cloud TPU as long as your TPUs are running in zone us-central1-f.

Virtual machine pricing

In order to connect to a TPU, you must provision a virtual machine (VM), which is billed separately. For details on pricing for VM instances, see Compute Engine pricing.

Pricing calculator

To estimate the cost of using Cloud TPU with Compute Engine VM instances, see the Compute Engine pricing calculator.

Pricing example

The following example explains how to calculate the total cost of a training job that uses TPU resources and Compute Engine instances in the US region.

A machine learning researcher provisions a virtual machine by creating a Compute Engine instance, and they select the n1-standard-2 machine type. They also create a TPU resource, and they accrue 10 hours of usage on both the Compute Engine instance and the TPU resource. In order to calculate the total cost of a training job, the machine learning researcher must add together:

  • the total cost of all Compute Engine instances
  • the total cost of all Cloud TPU resources
Resource Price per machine per hour in USD Number of machines Number of hours billed Total cost of each resource Total cost of training job
Compute Engine
n1-standard-2 instance
$0.095 1 10 $0.95
Cloud TPU resource $4.50 1 10 $45.00
$45.95

Pricing example using a preemptible TPU

The following example uses the same resources and time period as above, except that the researcher decides to use a preemptible TPU to save costs. The US charge for the preemptible TPU v2 is $1.35 USD per hour, as opposed to $4.50 for a normal TPU v2 .

Resource Price per machine per hour in USD Number of machines Number of hours billed Total cost of each resource Total cost of training job
Compute Engine
n1-standard-2 instance
$0.095 1 10 $0.95
Preemptible TPU $1.35 1 10 $13.50
$14.45

What's next

Oliko tästä sivusta apua? Kerro mielipiteesi

Palautteen aihe:

Tämä sivu
Cloud TPU