Skip to content

Home / Explainers

plain english

GPU vs TPU: What Is the Difference?

A GPU is a general-purpose chip, originally made for graphics, that is now the standard for AI work; Nvidia makes most of them. A TPU is a chip designed by Google specifically for AI math. Both do the same kind of calculation, but GPUs are sold widely while TPUs are mostly used through Google Cloud.

GPUs (graphics processing units) are good at doing many simple calculations at once, which is exactly what AI needs. Nvidia's GPUs and its software tools became the default for training and running models.

TPUs (tensor processing units) are Google's custom AI chips. Because they are built for one job, they can be efficient for large workloads, and Google uses them for its own Gemini models. Other companies can rent them in Google Cloud.

Amazon (Trainium) and others also build custom AI chips. The trend is that the biggest AI labs want more than one chip supplier, to lower costs and avoid shortages.

Quick answers

Is a TPU faster than a GPU?

It depends on the task. Each is faster at some workloads; the right comparison is performance per dollar for a specific model.

Can I buy a TPU?

Mostly no. TPUs are rented through Google Cloud rather than sold as regular products.

Why does everyone use Nvidia GPUs?

Nvidia has fast chips and a mature software ecosystem, so most AI code already runs well on them.

In the news

More explainers