Learn AI Math

Long Context

What is Long Context?

In one sentence: Long context means a model can handle very large inputs, often hundreds of thousands or millions of tokens.

Long-context models can read whole books, long contracts or big codebases in one go. But longer inputs cost more, take longer, and may suffer from context rot.

What does Long Context look like?

A model with a 1-million-token context can take in several thick novels at once.

Why does Long Context matter?

Long context opens up new uses, like analyzing an entire project at once.

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.