← back to the archiveCover illustration for “TPU: Google's custom chip for AI workloads”
TERMday 178·today·Published ·by Andy Padia

TPU: Google's custom chip for AI workloads

In short: A TPU (Tensor Processing Unit) is Google's custom chip for neural-network maths, rented through Google Cloud as an alternative to GPUs for large models.

A TPU (Tensor Processing Unit) is a custom, application-specific chip designed by Google to accelerate the matrix maths at the heart of neural networks. The 2017 paper on the first TPU says it had been deployed in datacentres since 2015. Google also rents TPUs through Google Cloud, where they compete with GPUs for training and running large models.

TPU in plain words

A GPU is a powerful general-purpose workshop that happens to be great at AI. A TPU is a factory line built for one product: the multiplications neural networks need.

How it works

TPUs are built around large matrix-multiply units and are connected in groups, so many chips can work on one model. Google's Cloud TPU documentation, read in November 2026, calls those groups slices and says code written in JAX, TensorFlow or PyTorch must be compiled by the XLA compiler to run on them.

The hardware has moved through several generations. Google's April 2025 announcement of Ironwood, the seventh, says it scales to 9,216 chips per pod and that Gemini 2.5 runs on TPUs.

Example

As an illustration, a team serving an open-weights model on Google Cloud compares cost per million tokens on a TPU slice against a GPU instance at the same latency target, then chooses based on that number rather than on chip specifications.

Where you'll meet it

  • Google Cloud's TPU offerings
  • Capacity deals such as Anthropic's October 2025 plan to use up to one million TPUs
  • JAX-based research and training code
  • Infrastructure reviews that compare accelerators

What it changes for you

For most application developers, TPUs are invisible behind model APIs. For infrastructure and procurement teams, they are a second source of accelerators, which affects pricing, availability and lock-in. For teams training or self-hosting at scale, the deciding factors are software support for your stack and cost per task, not peak specifications.

TPU vs GPU

GPUs are general-purpose parallel processors with a broad software ecosystem. TPUs are specialised for neural-network maths and are available through Google Cloud. Google's own guidance is that TPUs suit models dominated by matrix computations and long training runs, while GPUs suit models with many custom operations that must partly run on CPUs.

Common mistake

My view: choosing hardware from benchmark headlines. Real cost depends on your model, batch sizes, software maturity and engineering time to port. Run your workload on both before committing.

Inference · Inference server · Cost per task · On-device AI

From the archive: Google Cloud's 82% is not a cloud-only signal

Run your own workload on both kinds of chip before you commit to either.

#field-guide#infrastructure#hardware#inference#google

Sources

  1. docs.cloud.google.com/tpu/docs/intro-to-tpu
  2. arxiv.org/abs/1704.04760
  3. blog.google/innovation-and-ai/infrastructure-and-cloud/google-cloud/ironwood-tpu-age-of-inference
  4. anthropic.com/news/expanding-our-use-of-google-cloud-tpus-and-services
← older drop
DPO: tuning a model directly on preferred answers

related drops

explore all 566 drops →
← back to the archiveday 178