Google TPU v4
A mature training-oriented TPU with 32 GiB per chip. Existing XLA jobs can be a better starting point than porting a CUDA-only workload.
HBM
Published peak, not measured application throughput
Small slices do not necessarily have the wrap-around links of a full torus. The topology, not just chip count, determines which communication plan makes sense.
When this is a sensible choice
Start here if…
Use v4 when an established JAX/XLA workload and available quota make it practical. Count physical chips separately from TensorCores: a v4-8 allocation does not mean eight 32 GiB chips.
Choose another configuration if…
For a new serving stack, compare current TPU slices and GPU recipes first. Compilation and unsupported operators can dominate the porting cost.
Specifications with their boundaries attached
- Architecture
- TPU v4
- Memory
- 32 GiB HBM
- Memory bandwidth
- 1.2 TB/s per accelerator
- Peak compute
- 275 TFLOPS BF16 per chip
- Scale-up interconnect
- ICI; use the selected slice topology
- Host attachment
- Managed TPU host; 3D torus
- Power
- Google reports measured 90 / 170 / 192 W min / mean / max; not a TDP rating
- Partitioning
- Slice/chiplet allocation; not NVIDIA MIG
- Catalogue status
- Documented product
Compute figures are theoretical peaks at the stated precision. Dense and structured-sparse rates must not be mixed. Bandwidth labelled bidirectional combines both directions. See the source documents.
Three bandwidths, three different jobs
ICI; use the selected slice topology
DCN between slices
Where it appears in provider documentation
| Provider / machine | Network scope | What changes the decision |
|---|---|---|
Google Cloud TPU v4 ↗ | ICI within a slice; DCN between slices | Select a documented slice shape and supported region. Chip, chiplet, TensorCore, host and VM counts are not interchangeable. |
Model fit and software support
These publisher or serving-engine documents mention this hardware family. They have not been reproduced on our machines.
No model-specific recipe in our reviewed set certifies this exact hardware. The memory calculator can narrow candidates, but it cannot establish software support. Read the model register.
What is the memory floor?
Start with total parameters, then add the memory the workload needs. This arithmetic does not certify a serving configuration. All output sizes below are decimal GB.
Override device capacity with the memory exposed by your allocation, particularly for cloud B300 and partitioned devices. The starting 32 GB budget and 15% reserve are editable teaching assumptions. They are not measurements for the selected model. Mixed-precision tensors, quantization scales, vision encoders and draft models can increase the weight payload.
Raw weights only
320B × 8 bits ÷ 8
Budget per device
34.36 GB × (1 − 15%)
Arithmetic lower bound
round up ((weights + 32) ÷ budget)
This assumes perfectly balanced sharding. A result of three does not prove that a three-device parallel layout is supported. Check layer/expert divisibility, actual allocatable memory, precision kernels and the fabric before renting.
320B is the model card’s total; 18B active is not its storage size. The vLLM recipe reports about 306 GiB for the native FP8 checkpoint. Hopper requires BF16 KV for this model; the documented ROCm path targets gfx950, not every Instinct GPU. Read the model source ↗
For full training, also budget gradients, optimizer states, activations and communication buffers. The inference weight estimate above is insufficient.
Tokens per second, TTFT and TPOT are not certified for this hardware in our reference. Use the benchmark checklist to compare an exact model, software revision and workload.
Nearby memory capacities, different tradeoffs
These are comparison candidates selected by memory capacity, not performance rankings or drop-in replacements.
Google TPU v6e (Trillium)
Trillium doubles v5e’s nominal memory to 32 GB and increases BF16 compute. It retains a 256-chip, 2D pod design.
Google TPU v5e
The smaller-memory TPU branch for economical training and serving. Eight chips provide eight 16 GB budgets, not one shared 128 GB allocation.
Google TPU v5p
A large-pod training TPU with 95 GiB per chip, much more memory than v5e. The suffix identifies a different design, not a larger v5e VM.
Sources and review scope
Manufacturer and cloud documentation checked 2026-09-12. We reviewed specifications and the stated product boundaries; we did not run training or serving benchmarks on this device. Cloud memory and availability can differ by configuration.
- Google TPU v4 architecture ↗ · checked 2026-09-12
Cite this reference
AI Infra Interviews. Google TPU v4: specifications and workload fit. Reviewed . https://aiinfrainterviews.com/hardware/tpu-v4
Include your access date when citing a changing specification. Link to the specification section for hardware figures or the explanation for a sizing or workload decision.
Research method and limits
We compile manufacturer specifications, cloud documentation, model cards and serving recipes. The reference preserves source units and distinguishes individual devices from nodes and racks. Conflicting figures and unknown fields remain labelled.
Our contribution is the comparison, unit reconciliation, worked arithmetic and workload explanation. Published peaks are vendor specifications. Calculator results are estimates under the displayed assumptions. Neither is a measurement from our own accelerator lab.
For a manufacturer’s specification, consult the original source documents. Cite our page when using its analysis, and retain primary-source attribution for underlying figures. This curated reference does not establish market share, live availability or a universal performance ranking.
Found a discrepancy? Send a correction with the page URL, exact variant, disputed figure and supporting primary document.
