Skip to content

What is a TPU?

A TPU (tensor processing unit) is a chip Google designed specifically to speed up machine learning. It's built for the huge matrix math that neural networks run on.

Updated September 24, 2026

A TPU, or tensor processing unit, is a chip Google designed to make machine learning faster. Where a general-purpose processor tries to be good at everything, a TPU is built for one kind of work: the large matrix calculations at the heart of neural networks.

How it works

Training and running an AI model mostly means multiplying big grids of numbers together, over and over. TPUs are application-specific chips (ASICs) built around that job:

  • A matrix unit: each TPU core has a matrix multiply unit arranged as a 128×128 grid (a "systolic array") that streams numbers through and multiplies them in parallel.
  • Fast on-chip memory: high-bandwidth memory (HBM) sits right next to the compute, so larger models and batches fit without slowing down.

TPU vs. CPU vs. GPU

  • CPUs are flexible and good for quick prototyping or models with lots of custom operations.
  • GPUs are strong general-purpose accelerators and handle custom operations well.
  • TPUs are at their best on long, large-scale training and serving jobs dominated by matrix math.

How people use them

You don't buy a TPU off the shelf. Google offers them in its cloud, through services such as Compute Engine and Google Kubernetes Engine. Google has released several generations, including v2, v3, v4, v5e, v5p, v6e and the newer Ironwood (TPU7x). A recent generation, Trillium, is also the chip Google is testing in orbit with Project Suncatcher.

Quick questions

Who makes TPUs?

Google designs them. They are custom chips (ASICs) built for machine learning workloads.

Can I buy a TPU?

TPUs are offered through Google Cloud, for example via Compute Engine and Google Kubernetes Engine, rather than sold as standalone cards.

Is a TPU better than a GPU?

It depends on the job. Google says TPUs shine on workloads dominated by matrix math, while GPUs can be the better choice when a model relies on custom operations.

Sources: Google Cloud: Introduction to Cloud TPU