SUMRIFY

Blog

How Are AI Chips Made? Why Elon Musk Wants His Own Factory

December 4, 2026 · 10:57 video · 10 min read

How are AI chips made? From a grain of sand to a finished AI chip, step by step, and why Elon Musk's companies want to build their own giant chip factory in Texas. Every AI chip starts as sand. We take one apart and build it again: pure silicon, a crystal pulled from fire, wafers, the cleanest room on Earth, a machine that shoots melted tin to make light, a hundred layers, testing, cutting and packaging. TeraFab is a plan, not a factory yet: its first phase would reportedly cost about $16.8 billion. Otto wants a million chips by Friday. Lin makes chips for a living.

Watch on YouTube ↗

The Chip He Can't Buy ▶ 00:00

This chip started as sand. So why would the richest man alive build his own chip factory, instead of just buying more chips? Is the problem money? No. His companies have the money. Let's take this chip apart and build it again, from the very first grain.

A chip like this one goes through hundreds of steps, for about three months. Robots, self driving cars and big AI models need millions of them. So Elon Musk's companies plan to build their own giant chip factory in Texas, called TeraFab. But how hard can it be to cook sand?

The first phase alone would reportedly cost about $16.8 billion. One investor, Ron Baron, said the whole thing could cost one trillion dollars. That is a one, followed by 12 zeros, for one factory.

Meet our team. Otto runs a robot company, and he wants a million chips by Friday. Lin makes chips for a living. She smiles, and she starts with a handful of sand.

It Starts With Sand ▶ 00:49

Every chip starts here. Sand. Not beach sand exactly, but a very pure kind of quartz sand. Inside it there is silicon, the same stuff in glass. Silicon is special: it can let electricity pass, or stop it. That on and off is all a computer needs.

But sand is dirty. Iron, salt, tiny bits of everything. So first, the sand is melted in a huge furnace with carbon, at around 2,000 degrees. Out comes rough silicon, about 98% pure.

And not just any quartz. Some of the purest quartz used for this work comes from a small town in North Carolina, called Spruce Pine. A quiet place in the mountains, feeding some of the most advanced machines on the planet.

Ninety eight percent sounds great. For a chip, it is garbage. So the silicon is cleaned again and again, with chemicals and heat, until it reaches nine nines. Ninety nine point nine nine nine nine nine nine nine percent pure. One wrong atom in a billion.

How do you clean silicon that much? One way turns it into a gas, then lets it slowly settle back onto hot rods, like frost on a window. The dirt stays behind in the gas. What grows on the rods are thick grey bars of almost perfect silicon.

Otto asks why so clean. Lin says one speck of dust on a chip is like a boulder on a highway. Otto says he has driven on highways like that. Lin says the chips did not like it either.

A Crystal Pulled From Fire ▶ 02:02

Now the pure silicon is melted again, in a crucible that spins slowly. A tiny seed crystal touches the surface. Then, very slowly, it is pulled up. The liquid silicon follows it and freezes, atom by atom, in a perfect pattern.

This trick has a funny story. A Polish scientist, Jan Czochralski, found it by accident in 1916. He dipped his pen into melted tin instead of his ink pot, pulled it out, and a thin metal thread came with it. Bad day for his notes, great day for computers.

After a day or two, out comes a single giant crystal. It looks like a shiny grey sausage, about two meters long. Every atom inside is lined up in the same direction, like soldiers on parade.

Then a diamond saw slices it into thin round plates called wafers. Each wafer is about 30 centimeters wide, and thinner than a credit card. The wafers are polished until they shine like a mirror. Flatter than anything you have ever touched.

Otto picks one up and sees his face in it. He says it is the most expensive mirror he has ever owned. Lin takes it back. It is not his yet. And it is not a chip yet either.

Why round? Because the crystal grows round. And why so big? Because one wafer will become hundreds of chips at once. The bigger the plate, the more chips per batch. It helps us a lot.

A single scratch now would ruin everything. So from here on, the wafers never travel naked. They ride in sealed plastic boxes, and they are only opened inside machines. The next room they visit is the strangest room in the factory.

The Cleanest Room on Earth ▶ 03:26

Now the wafers go into the heart of the factory: the clean room. It is cleaner than a hospital operating room, by a lot. The air is filtered from the ceiling all the time, and pushed down to the floor, again and again.

People are the dirtiest thing inside. Our skin, our hair, our breath. So workers wear a full white suit, with a hood, a mask, gloves and boots. Everyone looks like a snowman going to work. Otto tries one on. It does not fit his tie.

Even the light is special. Many clean rooms glow yellow, because normal light would spoil the chemicals on the wafers. And robots carry the wafers in sealed boxes on rails in the ceiling, so no hand touches them.

Water gets the same treatment. Wafers are rinsed again and again with ultra pure water, so clean that it is not even good to drink. It has nothing left in it, not even the minerals that make water taste like water.

A factory like TeraFab would need clean rooms the size of many football fields. Clean air, pure water, and a lot of electricity, all day and all night. And still, the hardest machine has not even arrived yet.

Otto asks if he can bring his dog. Lin says the dog would need a suit too, with four boots. Otto pictures it. He decides the dog can stay home and guard the money.

Printing With Light ▶ 04:33

Here is the big idea. A chip is drawn on the wafer with light. First, the wafer gets a thin coat of a special liquid that changes when light hits it. Then light shines through a pattern, a bit like a stencil.

Where the light touches, the coating changes. Wash it, and the pattern stays on the wafer. That pattern becomes tiny roads for electricity. Billions of tiny switches, called transistors, on one chip.

A transistor is just a gate for electricity. Open, a one. Closed, a zero. Put billions of them together, and you can add numbers, play a video, or run an AI model that answers your questions. Every app you use is gates opening and closing.

But there is a catch. The roads are so small that normal light is too fat to draw them. It is like trying to sign your name with a paint roller. You need a thinner pen. A much thinner pen.

The stencil is called a mask. The light goes through the mask, and then through lenses that shrink the picture, like a movie projector working backwards. A big drawing on the mask becomes a tiny drawing on the wafer.

So the newest chips use extreme ultraviolet light, with a wavelength of 13.5 nanometers. A human hair is thousands of times wider. That light is the thinnest pen we have. And only one company in the world sells the machine that makes it: ASML, in the Netherlands.

A Machine That Shoots Tin ▶ 05:43

How do you make that light? It sounds almost silly. A machine drops tiny drops of melted tin, and fires a powerful laser at each one. Tens of thousands of times every second. Each hit makes the tin glow with that special light.

Then the light bounces on the smoothest mirrors ever made. Air would swallow this light, so the whole path is inside a vacuum. If one of those mirrors were the size of Germany, its biggest bump would be smaller than a finger.

One of these machines is as big as a bus. It is shipped in pieces, in dozens of crates and planes, and takes months to put together. Factories line up to buy them, and only a small number are built each year.

So the waiting list matters more than the bank account. A new factory has to order its light machines years ahead, and hope its place in the line holds.

Why can't others just copy it? Because it took decades and hundreds of suppliers. The laser comes from one company, the mirrors from another, both in Germany, and thousands of other parts from all over the world. One machine, built by half the planet.

And there is a newer version coming, even bigger, to draw even smaller lines. Chip makers around the world are in a race to get those first. Whoever has the light machines decides who can make the best chips.

Otto says, fine, he will buy 10. Lin shows him the waiting list. Otto puts his phone down slowly. This is the real reason money is not enough. It is free, and there is more coming.

A Hundred Layers ▶ 07:02

One picture of light is not a chip. It is one layer. After each light step, machines etch away the lines, add new materials, and polish the wafer flat again. Then the next layer goes on top.

How many layers? For a big AI chip, up to about a hundred. Each one has to sit exactly on top of the one below. Miss by a tiny bit, and the roads do not connect. It is like stacking a hundred stencils without moving a single line.

And the result is mind blowing. The biggest AI chips carry more than a hundred billion transistors. That is more than 10 switches for every person on Earth, on a square you could hide under a postage stamp.

Each layer has its own job. The lowest ones hold the switches themselves. The higher ones are wires, like the floors of a parking garage, connecting billions of switches to each other. The top layers carry power and signals to the outside world.

That is why a wafer spends about three months inside the factory. It goes through hundreds of steps and travels many kilometers on those ceiling rails. Light, etch, add, polish, check. Again and again.

Otto asks if they can skip a few layers to go faster. Lin says sure, if he wants a chip that does nothing. Otto thinks about it. For a second, he looks tempted.

From Wafer to Chip ▶ 08:09

At the end, the wafer is covered with hundreds of small squares. Each square is a chip. Before cutting, a machine touches every one with tiny needles, and tests it. Good ones get a pass. Bad ones get marked.

Why test before cutting? Because testing a whole wafer at once is fast, like checking a full tray of cookies before you take them off. Packaging a bad chip would waste money and time. So the bad squares are thrown away early.

Yes, some chips are bad. A single speck of dust in the wrong place can kill one. The share of good chips on a wafer is called the yield. A new factory often starts with a low yield, and it can take months to make it high.

Then a thin saw cuts the wafer into separate chips. Each one is glued into a package, with tiny wires or bumps to the outside world. For AI chips, very fast memory is often placed right next to it, so data does not have to travel far.

And these chips get hot. A big AI chip can use around 700 watts, about as much as a microwave oven. So each one sits under a big metal cooler, and data centers need huge amounts of power and cooling.

That finished square is what Musk's cars, robots and data centers are waiting for. One chip, after sand, fire, light and a hundred layers. Now you see why you cannot just buy more of them at the store.

Can He Build It? ▶ 09:18

So can TeraFab work? Musk's companies already buy chips from others. Tesla reportedly signed a deal with Samsung worth $16.5 billion over eight years. Samsung is already building Tesla chips in a factory in Texas.

The plan for TeraFab is huge: about one terawatt of computing power every year. The site in Grimes County, Texas, was chosen next to an old power plant and a lake, with land, water and power lines already there.

And this is not their first chip. Tesla has designed its own car chips for years, but other factories printed them. Designing a chip and building the factory that makes it are two very different jobs. One is drawing a house. The other is building the whole city where it stands.

But the hard parts are the ones you have just seen. Pure silicon, clean rooms, a long line for the light machines, and months to get the yield right. Rockets taught Musk's team to move fast. Chips punish every mistake for months.

Will it work? Nobody knows yet. Big chip makers took decades to learn this, and some of them still struggle. Musk's companies plan to start step by step, with a first phase, and grow from there. We will see if the sand cooperates.

Otto finally understands. He does not need a million chips by Friday. He needs a factory, 10 years of patience, and a very good friend at ASML. Lin hands him a white suit. This time, she found one in his size.

Every AI answer, every self driving car, starts as a grain of sand pushed through fire and light.

Every new topic, summed up for you.

Watch on YouTube Subscribe to the channel