Context Window Explained (ChatGPT, Claude, Gemini and More)

Every AI chatbot has a limit on how much it can take in at once, which explains why long chats drift and big documents get cut off. This guide explains how the ChatGPT context window works, compares the context windows of the most popular large language models (LLMs) right now and clears up the most common misconceptions.

Try LLM Studio
Context Window Explained (ChatGPT, Claude, Gemini and More)

Context Window Explained (ChatGPT, Claude, Gemini and More)

Every AI chatbot has a limit on how much it can take in at once, which explains why long chats drift and big documents get cut off. This guide explains how the ChatGPT context window works, compares the context windows of the most popular large language models (LLMs) right now and clears up the most common misconceptions.

What is a context window?

A context window is the maximum amount of text, measured in tokens, that a language model can consider at one time. Think of it as the model's working memory. Everything it can see while writing a reply has to fit inside, including:

  • The system prompt. Hidden instructions that set the assistant's behavior, often 500 to 2,000 tokens.
  • Chat history. Every earlier message from you and from the model.
  • Your message and attachments. Pasted text, documents and code.
  • Retrieved and tool content. Search results, documents pulled in by retrieval and tool outputs.
  • Reasoning tokens. In many reasoning models, the thinking counts too. Gemini 4 Argon, for example, draws input, thinking and output from one shared window.
  • The reply. Output tokens count, and so do line breaks and special characters.

When a conversation or document grows past the window, the model cuts the oldest content or summarizes it. That's why a long chat can seem to forget your first instructions.

Tokens: how context windows are measured

A token is the unit a model reads and writes. It can be a whole word, part of a word, a single character or a piece of punctuation. In English, one token is roughly four characters or three-quarters of a word, so 1,000 tokens is about 750 words.

The exact ratio depends on the tokenizer, and some languages cost far more. An October 2024 study cited by IBM found that a Telugu sentence used more than seven times as many tokens as its English equivalent, even though it had fewer characters.

Context windows are quoted in thousands (K) and millions (M) of tokens. The table below shows what common sizes hold in English, at about 300 words per page, using models from OpenAI (GPT, short for generative pre-trained transformer) and Anthropic (Claude) as examples.

WindowApprox. wordsApprox. pagesExamples
8K6,00020GPT-4 at launch
128K96,000320GPT-4o
200K150,000500Claude Haiku 4.5
1M750,0002,500Claude Opus 5.5, Gemini 4 Argon

How a context window works

Most modern models are transformers, and they rely on self-attention. For each token, the model calculates how relevant every other token in the window is, and it uses those weights to decide what to write next. The context window is the maximum number of tokens attention can cover at once. Position encodings tell the model where each token sits, and methods such as rotary position embedding (RoPE) help it work with tokens far apart.

Length comes at a price. Attention compute grows quadratically, so doubling the input roughly quadruples the work. The model also keeps a cache of key and value data for every earlier token so it doesn't recompute them, and that cache takes graphics processing unit (GPU) memory in proportion to the length. Each new token attends to everything before it, so replies get slower as the context grows.

Better attention methods, caching and more efficient hardware offset these costs, which is why windows grew from thousands of tokens to millions.

At the limit, one of three things happens. An application programming interface (API) returns an error, a chat tool silently drops the oldest messages or it summarizes them. Context length also applies beyond text, since any transformer has a limit, including image models, where the context is pixels.

ChatGPT context window by plan

The ChatGPT context window depends on your plan and on whether the model answers instantly or thinks first. These are the figures from OpenAI's plan table as of October 2026.

PlanInstant modelsReasoning modelsDefault chat model
Free27KVariesGPT-6 Luna
Go54K256KGPT-6 Luna
Plus54K256KGPT-6 Sol
Pro128K400KGPT-6 Sol

The API is a different story. GPT-6 Astra, GPT-6.1 Sol, GPT-6 Sol and GPT-6 Luna each have a 1,050,000-token window and a 128,000-token output limit there, far more than ChatGPT exposes, and filling it costs more.

Context windows of the most popular LLMs right now

This table shows each model's maximum window and output limit from its provider's documentation. A product can set lower limits, as ChatGPT's plan table above shows.

ModelContext windowMax output
GPT-6 Astra1,050,000128,000
GPT-6.1 Sol1,050,000128,000
GPT-6 Sol1,050,000128,000
GPT-6 Luna1,050,000128,000
Claude Fable 5.11,000,000128,000
Claude Opus 5.51,000,000128,000
Claude Sonnet 5.51,000,000128,000
Gemini 4 Argon1,048,5761,048,576
DeepSeek V4.1 Flash1,000,000384,000
Qwen 3.7 Max1,000,00065,536
Grok 4.7500,000450,000
Perplexity Sonar128,0004,100

Limits of long context windows

A big window doesn't guarantee good results.

  • Lost in the middle. A 2023 study found that models use information best at the start and end of a long input, and performance drops when the key detail sits in the middle.
  • Advertised versus effective. Tests such as needle-in-a-haystack, RULER and LongBench measure how well models find and use information in long inputs. Independent testing generally shows usable context falling below the advertised number.
  • Cost and speed. Longer inputs cost more compute and slow responses, and some providers charge higher rates above a length threshold.
  • Security. Anthropic research showed that longer contexts give attackers more room for "many-shot" jailbreaking.
  • Silent failure. Tools rarely announce that something was dropped. The model keeps answering confidently with partial information.

Common misconceptions about context windows

"A bigger window means the model remembers everything." A window sets how much can be read, and it says nothing about how well the model uses it. Details buried in the middle of a long prompt are easier to miss.

"The context window is the model's memory across chats." It isn't. The window resets with each new conversation. ChatGPT's memory and custom instructions save notes and feed them into the new chat's context.

"A token is a word." A token is closer to three-quarters of a word in English, and other languages may use far more tokens for the same meaning.

"The window only counts what I type." The system prompt, chat history, files, tool results, reasoning tokens and the reply all count.

"Context window and max output are the same thing." They're separate limits. GPT-4o has a 128,000-token window with a 16,384-token reply cap, and Claude Opus 5.5 has 1 million with 128,000.

"ChatGPT uses the model's full window." In the app, your plan sets the limit. Go and Plus get 54K for instant answers, while the API model has 1.05 million.

"If it fits, it's used correctly." A fact that's technically inside the window can still be ignored.

"A bigger window means a smarter model." Window size measures capacity. It says nothing about reasoning quality, so a model with a smaller window can still beat a larger one on hard problems.

"The model will warn me when the window is full." Often it won't. Many tools trim or summarize quietly, so the first sign is a reply that misses something you said earlier.

"Context is the same as training data." Training data shapes the model's weights before you ever use it. Context is the temporary input you give it in one session.

How to work within a context window

To use any LLM's context window effectively, consider these tips:

  • Put critical instructions first and key facts last. Models handle the start and end of a long input best.
  • Start a new chat when you change topics. Old messages keep using space and can distract.
  • Summarize long chats. Ask for a short summary of decisions so far, then paste it into a fresh chat.
  • Send only what's needed. One relevant section often beats a whole document.
  • Choose reasoning when you need more room in ChatGPT. On Go and Plus, reasoning models have a 256K window against 54K for instant ones.
  • Budget for the reply. Long answers draw from the same window as your prompt.
  • Count tokens before you paste. A tokenizer tool, such as the Tokenizer Playground on Hugging Face, shows how many tokens a text uses in different models.
ApproachUse it whenTrade-off
Long contextThe model must compare details across a whole document or codebaseHigher cost and slower replies
Retrieval-augmented generation (RAG)You're searching a large knowledge base for specific factsThe model sees only the retrieved pieces
Rolling summariesA long chat needs continuity, not every messageSome detail is lost in each summary

Use all LLMs on SYNTX.AI

As you can see, most leading LLMs have roughly the same context windows, so this isn’t the primary distinction. If you’re unsure which tool to pick for your task, you can try them all on SYNTX.AI.

We carry GPT-6 Astra, Claude Opus 5.5 and Fable 5.2, Gemini 4 Argon, DeepSeek V4.1 Flash, Qwen 3.7 Max in the same interface. Sign up, get your welcome tokens, and test any text model of your choice.

And if you’re into creative work, SYNTX.AI also offers 100+ AI tools for image, video and audio generation under the same subscription.

FAQ

What is the context window of ChatGPT Go?

ChatGPT Go has a 54K-token window for instant models, about 40 pages, and 256K tokens for reasoning models, according to OpenAI's plan table as of October 2026. Free has 27K and Plus has the same 54K and 256K as Go.

What does a 200k context window mean?

It means the model can handle up to 200,000 tokens at once, roughly 150,000 words or 500 pages. That budget covers your prompt, the chat history, files and the reply together. It was the standard for Claude models before 1 million tokens arrived, and Claude Haiku 4.5 still has it.

Which ChatGPT has the largest context window?

In the ChatGPT app, the Pro plan with reasoning models has the largest window at 400K tokens. In the API, the GPT-6 family, including GPT-6 Astra, offers 1,050,000 tokens.

What is the maximum context window for an LLM?

The largest advertised window is 10 million tokens, from Meta's open-weight Llama 4 Scout, though hosting providers often cap it lower and recall drops at extreme lengths. Magic.dev claimed 100 million in a 2024 research model that isn't generally available. Among hosted flagship models, the practical ceiling is about 1 million tokens, with a few such as xAI's Grok 4 Fast advertising 2 million.

Discover more

Meet Claude Fable 5.2: Features and Benchmarks

Meet Claude Fable 5.2: Features and Benchmarks

What Is Inpainting? AI Image Editing Explained

What Is Inpainting? AI Image Editing Explained

What Is Multimodal AI? Technical Deep-Dive and Examples

What Is Multimodal AI? Technical Deep-Dive and Examples