Context window sizes by model
The context window is how much text a model can read and write in one request. This table lists the window and maximum output for the current Claude, GPT, Gemini, DeepSeek and Grok models from each provider's own model page, and is available as a CSV. Measure your own text in the token counter; the rest of the topic is in tokens and context windows.
By the Chelure Enterprises Editorial Team. Last reviewed . How we check our sources.
Context window and maximum output
| Provider | Model | Context window (tokens) | Max output (tokens) |
|---|---|---|---|
| Anthropic | Claude Fable 5.2 | 1M | 128K |
| Anthropic | Claude Opus 5.5 | 1M | 128K |
| Anthropic | Claude Sonnet 5.5 | 1M | 128K |
| Anthropic | Claude Haiku 5.5 | 1M | 128K |
| Anthropic | Claude Fable 5.1 | 1M | 128K |
| Anthropic | Claude Fable 5 | 1M | 128K |
| Anthropic | Claude Opus 5 | 1M | 128K |
| Anthropic | Claude Opus 4.8 | 1M | 128K |
| Anthropic | Claude Opus 4.7 | 1M | 128K |
| Anthropic | Claude Opus 4.6 | 1M | 128K |
| Anthropic | Claude Opus 4.5 | 200K | 64K |
| Anthropic | Claude Sonnet 5 | 1M | 128K |
| Anthropic | Claude Sonnet 4.6 | 1M | 128K |
| Anthropic | Claude Sonnet 4.5 | 200K | 64K |
| Anthropic | Claude Haiku 4.5 | 200K | 64K |
| OpenAI | GPT-6 Astra | 1.05M | 128K |
| OpenAI | GPT-6.1 Sol | 1.05M | 128K |
| OpenAI | GPT-6.1 Terra | 1.05M | 128K |
| OpenAI | GPT-6 Luna | 1.05M | 128K |
| Gemini 4 Carbon | 1M | 65K / 1M | |
| Gemini 4 Argon | 1M | 65K / 1M | |
| Gemini 4 Hydrogen | 1M | 65K / 1M | |
| DeepSeek | DeepSeek V4.1 Flash | 1M | up to 384K |
| DeepSeek | DeepSeek V4 Pro | 1M | up to 384K |
| xAI | grok-4.7 | 500K | not shown |
| xAI | grok-4.6 | 500K | not shown |
| xAI | grok-4.5 | 500K | not shown |
| xAI | grok-4.3 | 1M | not shown |
| xAI | grok-4.20 (reasoning and non-reasoning) | 1M | not shown |
| xAI | grok-4.20 multi-agent | 1M | not shown |
| xAI | grok-build-0.1 | 256K | not shown |
Download as CSV (with the source URL for each row). Checked November 13, 2026. Mistral's models overview page did not state context windows for Large 4, Small 4 or Ministral, so they are not listed; add them when the provider publishes the figure.
How many words fit?
| Tokens | Approx. words (OpenAI rule of thumb, 0.75 per token) | Approx. words (Claude, current tokenizer) |
|---|---|---|
| 200,000 | 150,000 | about 150,000 (Anthropic) |
| 1,000,000 | 750,000 | about 555,000 (Anthropic) |
Anthropic states that 200K tokens is roughly 150K words, and 1M tokens roughly 555K words on its current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750K words in 1M tokens. For other text use the tokens to words converter or paste it into the counter, because code, tables and non-English text use more tokens per word.
What a bigger window does and does not do
A larger window lets you include more material in a single request, but you pay for every input token on every request, so a 500K-token prompt sent repeatedly is expensive unless it is cached (see prompt caching). Some prices also step up for long prompts; the model pages note where. Use the cost calculator to price a long prompt before you send it.
Frequently asked questions
What is a context window?
The context window is the maximum number of tokens a model can take into account at once: your prompt, any documents or conversation history you include, and the model's reply together. Anything beyond it must be cut, summarised or retrieved separately.
Which models have the largest context window?
Among the models listed here, the current Claude models, GPT-6 (1.05M), Gemini 4, DeepSeek V4 and grok-4.3 list 1M tokens or more. Older Claude models (Opus 4.5, Sonnet 4.5, Haiku 4.5) list 200K.
How many words fit in 1M tokens?
Anthropic states that 1M tokens is roughly 555,000 words or 2.5M characters on its current tokenizer, and that earlier Claude models fit about 750,000 words. For OpenAI-style tokenizers the usual rule is about 0.75 words per token. Code and non-English text fit fewer words.
Is the context window the same as max output?
No. Max output is the most the model can generate in one response (for example 128K tokens for the Claude 5 family and GPT-6). Input and output both count towards the context window.
Does a bigger context window cost more?
Some providers charge more for very long prompts. For example Gemini 3.1 Pro bills prompts over 200K tokens at a higher rate and Claude Haiku 5.5 bills prompts over 100K tokens at a higher rate. Check the provider's pricing before sending long prompts.
Sources
- Anthropic: models overview (context window, max output, words per token)
- OpenAI: models (GPT-6 family)
- Google: Gemini models
- DeepSeek: models, limits and pricing
- xAI: models
Primary sources opened on November 13, 2026. Prices come from our verified price table (see the methodology).