Pricing

Charges for Cloud TPU usage are based on the pricing model below. 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).

TPU pricing

The following table shows the pricing per region for Cloud TPU usage.

US

Cloud TPU $6.50 USD per TPU per hour.
Preemptible TPU $1.95 USD per TPU per hour.

Europe

Cloud TPU $7.15 USD per TPU per hour.
Preemptible TPU $2.15 USD per TPU per hour.

Asia Pacific

Cloud TPU $7.54 USD per TPU per hour.
Preemptible TPU $2.26 USD per TPU per hour.

Notes:

  • A preemptible TPU is one that Cloud TPU may 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.
  • 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.

TensorFlow Research Cloud (TFRC) program

If you're enrolled in the TFRC program you are granted access to Cloud TPU 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 $6.50 1 10 $65.00
$65.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 charge for the preemptible TPU is $1.95 USD per hour, as opposed to $6.50 for a normal TPU.

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.95 1 10 $19.50
$20.45

What's next

Was this page helpful? Let us know how we did:

Send feedback about...