Learn AI Math

Causal Language Model

What is Causal Language Model?

In one sentence: A causal language model predicts the next word using only the words that came before it, never the ones after.

"Causal" means the past can affect the future, but not the other way around. The model is blocked from peeking ahead, like reading a story without skipping to the end. This makes it natural for writing text from left to right.

What does Causal Language Model look like?

GPT, Claude and Llama are causal language models.

Why does Causal Language Model matter?

Causal models are the standard choice for chatbots and text generation.

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.