1. Home
  2. Dwarkesh Podcast

May 22

Why the first custom chip costs $30M

Reiner Pope

80 min → 2:04

Overview

Reiner Pope explains the hardware architecture driving modern artificial intelligence, from basic logic gates and chip design trade-offs in speed, data movement, and cost to massive GPU and TPU clusters.

3 things to know

The Fundamental Unit of AI Chips (MAC)

At the lowest hardware level, AI workloads rely on the "multiply-accumulate" (MAC) operation.

More

Matrix multiplication is fundamentally a massive series of MAC operations, driving the design of modern AI accelerators.

▶ Watch at 0:46

The Dominant Cost of Data Movement

Managing and minimizing this data movement is the primary bottleneck in modern compute architectures.

More

Moving data around a chip (from register files to logic units) costs significantly more in terms of hardware area and power than the actual computation.

▶ Watch at 21:09

Systolic Arrays

Specialized hardware structures that pass data through a grid of processing elements in a rhythmic fashion.

More

They solve the data movement bottleneck by reusing data locally as much as possible, maximizing computation relative to communication overhead.

▶ Watch at 26:44

Also in this episode

GPU vs. TPU Architecture

GPUs are built with many smaller, flexible cores allowing for fine-grained parallelism.

More

TPUs utilize coarser structures dominated by massive monolithic systolic arrays, making them incredibly efficient for dense matrix multiplication but less flexible than GPUs.

▶ Watch at 29:48

Precision Differences in Math Operations

AI chips frequently use lower precision for multiplication (e.g., 4-bit) and higher precision for accumulation (e.g., 8-bit).

More

This is because multiplication area scales quadratically, making low precision highly efficient, but accumulation requires higher precision to prevent rapid compounding of rounding errors.

▶ Watch at 2:39

FPGAs vs. ASICs and Lookup Tables (LUTs)

Field-Programmable Gate Arrays (FPGAs) use programmable Lookup Tables (LUTs) and multiplexers to emulate hardware, offering a flexible, reprogrammable alternative for algorithms that change frequently.

More

Application-Specific Integrated Circuits (ASICs) are highly efficient but require massive upfront investments (tens of millions of dollars).

▶ Watch at 58:43

CPU Architecture and Non-Determinism

General-purpose CPUs rely on memory caches and branch predictors for speed, which introduces non-deterministic latency based on the system's ambient state.

More

Specialized hardware often trades these features for "scratchpad" memory managed explicitly by software to ensure perfectly predictable timing.

▶ Watch at 1:15:10

Pipelining and Clock Cycles

Pipelining breaks complex operations down into smaller stages that execute simultaneously, allowing for faster clock speeds and higher throughput.

More

Hardware operations are synchronized by a global clock signal, limited by the longest path in a circuit.

▶ Watch at 37:36

Quotes

“All of this work... just moving the data from the register file to the logic unit is many, many times more expensive than the logic unit itself.”

▶ Watch at 21:09

“The main function that AI chips want to compute is multiplication of matrices and really inside that is the fundamental primitive is multiply accumulate of just pairs of numbers.”

▶ Watch at 0:46

“The tradeoff is that the first FPGA costs you $10,000 whereas the first ASIC you make costs you $30 million.”

▶ Watch at 1:00:35

10 more quotes

“The precision will almost always be higher in the accumulation step than in the multiplication step... you're multiplying low precision numbers but then when you accumulate, errors accumulate quickly.”

▶ Watch at 2:39

“This quadratic scaling with bit width... is the single reason why low precision arithmetic has worked so well for neural nets.”

▶ Watch at 15:53

“The idea of a systolic array is to sort of go two levels of loop up and bake this entire loop out here into hardware... maybe the taxes we pay on the input and output are much smaller.”

▶ Watch at 26:44

“The key trick is that this matrix can be stored locally to the systolic array.”

▶ Watch at 29:48

“Plus is not really atomic. It took a whole lot of work to do a summation. And so like you can take the early parts of that work and then stick a register in the middle and then take the late parts of that work.”

▶ Watch at 37:36

“FPGAs and ASICs use largely the same conceptual model, which is that I have a series of gates built from ANDs or XORs... connected together with a fixed clock cycle.”

▶ Watch at 58:43

“When I program my FPGA, I can say that I'm going to take all of these components and I'm going to superimpose on top of this a particular wiring...”

▶ Watch at 1:05:00

“The presence of a cache is absolutely necessary for a CPU to run at reasonable speed, but whether or not you get a cache hit is dependent on the sort of ambient environment of the CPU.”

▶ Watch at 1:13:35

“Instead of the hardware saying 'I'm going to read memory and then decide whether or not it comes from cache,' you can actually bake this decision into software... this style is generically known as scratchpad.”

▶ Watch at 1:15:10

“The GPU has a lot of tiny, tiny TPUs tiled across the whole chip... whereas the sort of TPU design constrains you to having small units of everything.”

▶ Watch at 1:26:08

Full summary

Episode Overview

  • Explores the fundamental hardware architecture driving modern artificial intelligence, from basic logic gates to massive GPU and TPU clusters.
  • Breaks down the critical trade-offs engineers face when designing chips, specifically balancing computation speed, data movement, and manufacturing costs.
  • Details the evolution of specialized hardware like FPGAs, ASICs, and systolic arrays, explaining why certain architectures dominate specific workloads.
  • Provides essential knowledge for engineers, hardware buyers, and AI practitioners looking to understand the physical realities and constraints shaping AI performance and economics.

Key Concepts

  • The Fundamental Unit of AI Chips (MAC): At the lowest hardware level, AI workloads rely on the "multiply-accumulate" (MAC) operation. Matrix multiplication is fundamentally a massive series of MAC operations, driving the design of modern AI accelerators.
  • Precision Differences in Math Operations: AI chips frequently use lower precision for multiplication (e.g., 4-bit) and higher precision for accumulation (e.g., 8-bit). This is because multiplication area scales quadratically, making low precision highly efficient, but accumulation requires higher precision to prevent rapid compounding of rounding errors.
  • The Dominant Cost of Data Movement: Moving data around a chip (from register files to logic units) costs significantly more in terms of hardware area and power than the actual computation. Managing and minimizing this data movement is the primary bottleneck in modern compute architectures.
  • Systolic Arrays: Specialized hardware structures that pass data through a grid of processing elements in a rhythmic fashion. They solve the data movement bottleneck by reusing data locally as much as possible, maximizing computation relative to communication overhead.
  • Pipelining and Clock Cycles: Hardware operations are synchronized by a global clock signal, limited by the longest path in a circuit. Pipelining breaks complex operations down into smaller stages that execute simultaneously, allowing for faster clock speeds and higher throughput.
  • FPGAs vs. ASICs and Lookup Tables (LUTs): Application-Specific Integrated Circuits (ASICs) are highly efficient but require massive upfront investments (tens of millions of dollars). Field-Programmable Gate Arrays (FPGAs) use programmable Lookup Tables (LUTs) and multiplexers to emulate hardware, offering a flexible, reprogrammable alternative for algorithms that change frequently.
  • CPU Architecture and Non-Determinism: General-purpose CPUs rely on memory caches and branch predictors for speed, which introduces non-deterministic latency based on the system's ambient state. Specialized hardware often trades these features for "scratchpad" memory managed explicitly by software to ensure perfectly predictable timing.
  • GPU vs. TPU Architecture: GPUs are built with many smaller, flexible cores allowing for fine-grained parallelism. TPUs utilize coarser structures dominated by massive monolithic systolic arrays, making them incredibly efficient for dense matrix multiplication but less flexible than GPUs.

Quotes

  • At 0:00:46 - "The main function that AI chips want to compute is multiplication of matrices and really inside that is the fundamental primitive is multiply accumulate of just pairs of numbers." - Highlights the core operation driving all AI hardware design.
  • At 0:02:39 - "The precision will almost always be higher in the accumulation step than in the multiplication step... you're multiplying low precision numbers but then when you accumulate, errors accumulate quickly." - Explains the architectural choice to balance performance and accuracy.
  • At 0:15:53 - "This quadratic scaling with bit width... is the single reason why low precision arithmetic has worked so well for neural nets." - Directly connects hardware scaling laws to the trend of lower precision in AI models.
  • At 0:21:09 - "All of this work... just moving the data from the register file to the logic unit is many, many times more expensive than the logic unit itself." - Illustrates the primary physical bottleneck in modern compute architectures.
  • At 0:26:44 - "The idea of a systolic array is to sort of go two levels of loop up and bake this entire loop out here into hardware... maybe the taxes we pay on the input and output are much smaller." - Explains how systolic arrays maximize compute while minimizing communication.
  • At 0:29:48 - "The key trick is that this matrix can be stored locally to the systolic array." - Explains the localized data storage mechanism that makes systolic arrays so efficient.
  • At 0:37:36 - "Plus is not really atomic. It took a whole lot of work to do a summation. And so like you can take the early parts of that work and then stick a register in the middle and then take the late parts of that work." - Explains the concept of pipelining to increase hardware clock speeds.
  • At 0:58:43 - "FPGAs and ASICs use largely the same conceptual model, which is that I have a series of gates built from ANDs or XORs... connected together with a fixed clock cycle." - Explains the foundational similarity between programmable and fixed hardware.
  • At 1:00:35 - "The tradeoff is that the first FPGA costs you $10,000 whereas the first ASIC you make costs you $30 million." - Highlights the core business calculus driving hardware fabrication decisions.
  • At 1:05:00 - "When I program my FPGA, I can say that I'm going to take all of these components and I'm going to superimpose on top of this a particular wiring..." - Describes the physical nature of programming reconfigurable hardware.
  • At 1:13:35 - "The presence of a cache is absolutely necessary for a CPU to run at reasonable speed, but whether or not you get a cache hit is dependent on the sort of ambient environment of the CPU." - Explains the root cause of latency non-determinism in standard processors.
  • At 1:15:10 - "Instead of the hardware saying 'I'm going to read memory and then decide whether or not it comes from cache,' you can actually bake this decision into software... this style is generically known as scratchpad." - Contrasts deterministic accelerator memory with standard CPU caching.
  • At 1:26:08 - "The GPU has a lot of tiny, tiny TPUs tiled across the whole chip... whereas the sort of TPU design constrains you to having small units of everything." - Illustrates the fundamental architectural divergence between the two dominant AI accelerators.

Takeaways

  • Optimize for Total Cost of Ownership (TCO) when evaluating compute clusters by factoring in fault detection, uptime, and node replacement speed, rather than just the raw hourly sticker price.
  • Adopt lower precision data formats (like FP4 or FP8) wherever algorithmically possible in AI workloads to exploit the quadratic reduction in hardware multiplier area and increase throughput.
  • Prioritize data locality when writing high-performance code to minimize data movement, as routing data consumes significantly more hardware power and time than the math itself.
  • Utilize FPGAs for environments that require hardware-level execution speeds but undergo frequent algorithm updates, such as high-frequency trading.
  • Reserve ASIC development for stable, highly scaled applications where the massive efficiency gains can amortize the multimillion-dollar upfront fabrication costs.
  • Break down complex logic operations into smaller stages (pipelining) when designing hardware to increase overall clock speeds and maximize system throughput.
  • Rely on explicit software-managed "scratchpad" memory rather than hardware caches when developing systems that require perfectly deterministic execution timing.
  • Choose GPUs for workloads requiring fine-grained parallelism and flexibility, but pivot to TPUs when processing massive, dense matrix operations that can leverage monolithic systolic arrays.

Watch the full episode 1 hr 20 min

Read along with the audio summary

Moving data just a tiny distance inside a computer chip is many, many times more expensive than actually doing the math on that data. This episode, which came out on May 22, 2026, explores the fundamental hardware architecture driving modern artificial intelligence, from basic logic gates to massive processor clusters. By the end, you will understand the physical constraints and trade-offs that shape AI performance and economics.

Every massive AI workload comes down to one tiny math step. Beneath all the complexity of artificial intelligence, the main function AI chips want to compute is the multiplication of matrices. Inside that process, the fundamental building block is the multiply accumulate operation, or MAC, which simply multiplies and adds pairs of numbers.

Cutting a number's detail in half makes the chip dramatically smaller, with one catch. When chips perform these MAC operations, the physical area needed for multiplication scales quadratically with the number of bits used. Because of this scaling law, chips frequently use lower precision, like four bit numbers, for multiplication, and higher precision, like eight bit numbers, for accumulation, where rounding errors otherwise compound quickly.

Doing the math is cheap, but moving the numbers is a massive bottleneck. Routing data from a chip's register files to its logic units costs significantly more in hardware area and power than the computation itself. When you write high performance code, prioritize data locality to minimize data movement.

To solve this data movement bottleneck, engineers use a specialized structure that passes data like a rhythmic assembly line. Called a systolic array, this hardware grid passes data through processing elements in a rhythmic fashion, storing matrices locally and reusing data as much as possible. By baking the entire processing loop into hardware and keeping data local, the communication taxes on the input and output become much smaller.

Breaking one math step into smaller pieces makes the whole chip run faster. Hardware operations are synchronized by a global clock signal, which is limited by the longest path in a circuit. Even basic addition is not truly atomic, so engineers use pipelining to break complex operations into early and late stages with a register stuck in the middle.

Choosing the wrong type of custom chip can cost you thirty million dollars before you even start. Application Specific Integrated Circuits, or ASICs, and Field Programmable Gate Arrays, or FPGAs, both connect logic gates with a fixed clock cycle, and the first FPGA costs ten thousand dollars while the first ASIC costs thirty million. Utilize FPGAs for environments that undergo frequent algorithm updates like high frequency trading, and reserve ASIC development for stable, scaled applications that can amortize the multimillion dollar upfront fabrication costs.

The features that make a standard processor fast also make its timing impossible to predict. General purpose central processing units, or CPUs, rely on branch predictors and memory caches to run at reasonable speeds, but getting a cache hit depends on the ambient environment of the system. That introduces unpredictable latency, so specialized hardware often trades hardware caches for scratchpad memory, where the decision of what to read is baked explicitly into software.

The two dominant AI chips take completely opposite paths to parallel computing. GPUs are built with many smaller, flexible cores tiled across the whole chip for fine grained parallelism. TPUs use coarser structures dominated by massive, monolithic systolic arrays.

Understanding AI hardware means looking past raw math speed to the physical realities of data movement, precision, and chip architecture. When you evaluate compute clusters, optimize for total cost of ownership by factoring in fault detection, uptime, and node replacement speed, rather than just the raw hourly sticker price.

More from Dwarkesh Podcast

Related Episodes