Learn AI Math

Model Depth

What is Model Depth?

In one sentence: Model depth is how many layers, or Transformer blocks, a model has stacked on top of each other.

A deeper model can build more steps of understanding, one layer on top of another. But deeper models are slower, because each layer must finish before the next starts, and they can be harder to train.

What does Model Depth look like?

Llama 3 8B has 32 layers, while bigger models can have 80 or more.

Why does Model Depth matter?

Depth is one of the two main ways to make a model bigger, along with width.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.