CPU, GPU, TPU, NPU Explained: Choosing the Right AI Hardware | Muskan

Muskan breaks down the four main AI chip types using one lens: AI is mostly parallel matrix math. Each chip is a different trade between general flexibility and specialized speed, so the right choice comes from matching the chip to the job.

2:40 video3 min readWatch on YouTube

CPU, GPU, TPU, NPU: the video calls it alphabet soup, but says one simple idea sits underneath it. AI does mostly one kind of math, and these chips are different bets on how to do that math fast. Muskan offers a lens that makes all four make sense, and ends on a warning against treating the list as a ranking.

Start with the workload

Normal computing is a few complex steps done in order, which is what a CPU is great at. AI is different. It is billions of tiny multiply-and-add operations, the same simple math over and over. To be fast at that, the video says you do not want one clever core; you want to do enormous amounts of it at once. The summary line is that AI is parallel matrix math.

The four chips

Against that workload, the four chips line up like this:

  • A CPU has a few powerful cores and runs everything.
  • A GPU has thousands of simpler cores built for parallel math, and it is the workhorse of AI.
  • A TPU is a custom chip built specifically for tensor math.
  • An NPU is a small, low-power chip that runs AI right on your device.

A spectrum from general to specialized

Placed in a line, the chips form a spectrum from general to specialized. The CPU does anything. The GPU is faster at AI but less flexible. The TPU and NPU are faster still, but they only do a narrow job. The rule the video gives: the more specialized the chip, the more AI speed you get, and the less it can do anything else.

Example: unlocking your phone with your face

Face unlock is a small AI job that has to be instant, private, and work with no signal. So it does not go to a giant GPU in the cloud. It runs on the NPU inside the phone, in milliseconds. Small job, on device, low power: that is the NPU's whole reason to exist.

The leaderboard trap

The video warns that this is not a ranking, and newer does not mean better. A TPU cannot run your operating system. An NPU will not train a big model. A CPU still runs the whole show and hands the heavy math off. It is a division of labor, not a leaderboard, and you match the chip to the job.

Key takeaways

  • AI is mostly parallel matrix math: billions of simple multiply-and-add steps.
  • A CPU has a few powerful cores and handles general work.
  • A GPU has thousands of simpler cores and is the workhorse of AI.
  • A TPU is custom-built for tensor math.
  • An NPU is a small, low-power chip for AI on the device itself.
  • More specialization means more AI speed but less flexibility.
  • Face unlock runs on the NPU because it must be instant, private, and work offline.
  • The chips are a division of labor, not a leaderboard.

Try it yourself

Look at the device you are using right now and ask whether it has an NPU or another AI chip. Then list which of its AI features run on the device and which call the cloud, and ask why each one lives where it does. The video describes that question as the whole lesson applied to your own hardware.

Chapters

  1. 0:00Introduction: The AI Compute Spectrum (CPU, GPU, TPU, NPU) - Workload Breakdown: Why AI Needs Parallel Matrix Math
  2. 0:50The 4 Chips Explained: CPU, GPU, TPU, & NPU
  3. 1:25On-Device AI in Action: Why Face Unlock Uses an NPU
  4. 1:50The Leaderboard Trap: Matching the Chip to the Workload
Full transcript(auto-generated, with timestamps)

Introduction: The AI Compute Spectrum (CPU, GPU, TPU, NPU) - Workload Breakdown: Why AI Needs Parallel Matrix Math

[0:00]Hey, I'm Muskin. CPU, GPU, TPU, NPU, it's alphabet soup. But there's a simple idea underneath. AI does mostly one kind of math, and these chips are just different bets on how to do it fast. Let me give you a lens that makes all four make sense. Start with the workload. Normal computing is a few complex steps done in order. That's what a CPU is great at. But AI is different. It's billions of tiny multiply and adds, the same simple math over and over. To be fast, you don't want one clever core, you want to do enormous amounts of it at once. That's the whole story. AI is parallel matrix math. So here are the four. A CPU has a few powerful cores and runs everything. A GPU has thousands of simpler cores built for parallel math. It's the workhorse of AI.

The 4 Chips Explained: CPU, GPU, TPU, & NPU

[0:51]A TPU is a custom chip built specifically for tensor math. And an NPU is a small, low-power one that runs AI right on your device. Line them up and you get a spectrum from general to specialized. The CPU does anything. The GPU is faster at AI, but less flexible. The TPU and NPU are faster still, but they only do a narrow job. The rule: the more specialized the chip, the more AI speed you get, and the less it can do anything else. Watch the lens pick a chip. You unlock your phone with your face. That's a small AI job that has to

On-Device AI in Action: Why Face Unlock Uses an NPU

[1:27]Be instant, private, and work with no signal. So it doesn't go to a giant GPU in the cloud. It runs on the NPU, right there in your phone, in milliseconds. Small job, on device, low power, that's the NPU's whole reason to exist. Now the trap. This is not a ranking. Newer doesn't mean better. A TPU can't run your operating system. An NPU won't

The Leaderboard Trap: Matching the Chip to the Workload

[1:51]Train a big model. And a CPU still runs the whole show and hands the heavy math off. It's a division of labor, not a leaderboard. You match the chip to the job. So, the lens AI is parallel matrix math, and each chip is a different trade between general and specialized. CPU runs everything. GPU is the AI workhorse. TPU and NPU go all in on speed. Match the chip to the job. Your turn. Look at the device you're on right now. Does it have an NPU or an AI chip? Then ask which AI features run on the device, and which ones call the cloud, and why would each one live where it does? That question is this whole video applied to your own hardware. AI is four chips. Match the chip to the job. Humanitarian's AI.

More from Humanitarians AI Fellows

Humanitarians AI Lyrical Literacy Project