Claude Opus 4.8 and Claude Sonnet 4.6 both ship a 1 million token context window in 2026, while Claude Haiku 4.5 runs 200,000 tokens. Max output is 32,000 tokens for Opus 4.8 and 8,192 tokens for Sonnet 4.6 and Haiku 4.5. One million tokens is roughly 750,000 words, enough to hold a 1,500-page book, an entire mid-sized codebase, or a year of chat history in a single prompt. Opus and Sonnet include the full 1M window at standard API pricing with no long-context surcharge.
This guide explains what the Claude context window means, how many tokens each current model accepts, what "max output" caps your responses at, and what practically fits inside 1M tokens. Figures are verified against Anthropic's documentation and cross-checked with our token counter tool. The context window is the single most important spec for long-document and agentic work, so it is worth understanding before you paste a repository or a book into Claude.
What a Context Window Is and What It Does Not Do
A context window is the maximum number of tokens a model can consider at once, counting both your input and the model's output. When a conversation exceeds that limit, the oldest tokens fall out of the window and Claude effectively forgets them. A 1 million token window means Claude can hold about 750,000 words of combined prompt and response in working memory at one time.
What a context window does not do is give the model permanent memory. It resets between conversations, and once tokens scroll out they are gone unless you saved them. That is why searching and exporting past conversations matters: Claude's window is large, but it is still a window. Per Anthropic's documentation, tokens include words, sub-words, punctuation, and whitespace, so token counts run higher than word counts, roughly 0.8 tokens per word for Claude.
Claude Token Limits Comparison Table (2026)
The table below lists the context window, max output, and API pricing for every current Claude model, verified for 2026. Pricing is per 1 million tokens via the Anthropic API and is separate from consumer Claude subscriptions.
Model
Context Window
Max Output
API Price (Input / Output per 1M)
Best For
Claude Opus 4.8
1,000,000 tokens
32,000 tokens
$5.00 / $25.00
Agents, hardest coding, deep reasoning
Claude Sonnet 4.6
1,000,000 tokens
8,192 tokens
$3.00 / $15.00
Balanced daily coding and writing
Claude Haiku 4.5
200,000 tokens
8,192 tokens
$0.80 / $4.00
Fast, cheap, high-volume tasks
Two things stand out. Opus 4.8 and Sonnet 4.6 share the same 1M context window, so the choice between them is about reasoning quality, max output, and cost, not input capacity. Opus 4.8's higher max output (32K vs 8,192) matters for very long generated documents. Haiku 4.5's 200K window is smaller but still holds roughly 150,000 words, which covers most single-document tasks.
What Fits Inside 1 Million Tokens
One million tokens is approximately 750,000 words, which covers almost any single document you would realistically paste into a chat. As a rule of thumb for Claude, 1,000 words is about 800 tokens, so the arithmetic is roughly words times 0.8.
Concretely, 1M tokens holds any one of these: a 1,500-page technical manual, an entire medium-sized software repository, a full novel plus its outline and worldbuilding notes, or dozens of research papers at once. That is why long-context work, such as reasoning across a whole codebase or synthesizing a large research corpus, is practical on Opus 4.8 and Sonnet 4.6. The practical constraint is usually cost and latency, not the window size.
Running long Claude sessions and losing track of what you asked last week? AI Toolbox (formerly Claude Toolbox) adds full-text search, message bookmarks, and a context window meter to Claude so nothing scrolls out of reach. Trusted by 35,000+ users with a 4.5/5 Chrome Web Store rating. Install AI Toolbox free ->
Max Output vs Context Window: The Difference
The context window is the total token budget for input plus output; the max output is a separate, smaller cap on how long a single response can be. Claude Opus 4.8 accepts 1M tokens of input but generates up to 32,000 tokens in one reply. Sonnet 4.6 and Haiku 4.5 cap at 8,192 output tokens.
This distinction matters for generation-heavy tasks. If you ask Claude to produce a very long document, a full codebase, or an exhaustive report, the max output ceiling, not the context window, limits the reply length. Opus 4.8's larger 32K output is the reason to reach for it on long structured generation. For inputs, the 1M window is almost never the bottleneck for a single document.
1M Context at Standard Pricing: Why It Matters
Both Opus 4.8 and Sonnet 4.6 include the full 1 million token context window at standard API pricing, with no long-context surcharge. Previous generations capped near 200K, and some charged extra for the top of the window. The current lineup removes both constraints.
What this changes: you stop engineering around context limits, with fewer retrieval pipelines and chunking strategies, and you can ask questions that span an entire corpus in a single pass. At $3 input on Sonnet 4.6, a full 1M-context prompt costs $3 in input tokens plus output, which is inexpensive for the capability. Haiku 4.5's 200K window is still more than most tasks need; the gap only matters at the extremes of full-codebase or full-novel work.
Why Claude Forgets and How to Keep Your History
Claude forgets earlier parts of a long conversation when the total tokens exceed the context window, and it forgets everything between separate conversations because the window resets. The model has no persistent memory of past chats beyond what you paste back in or store in a Project.
To keep important conversations reachable, you need to search and export them. Claude's native tools are limited: title search on all plans, conversational RAG search on paid plans, and export only as a full-account dump with a 24-hour link. AI Toolbox adds full-text search across every synced message with an exact-match toggle, message-level bookmarks with scroll-to and highlight, per-conversation TXT and JSON export, and a live context window meter. It works on the free Claude plan. See ai-toolbox.co/claude-toolbox.
Limitations and What Native Claude Handles Well
Claude's 1M context window is genuinely generous, and for most single-document tasks you will never hit it. Native Claude handles pasting a long document, reasoning over a large codebase, or holding a Project's knowledge base without any extension. If your workflow is one long input at a time, native Claude is enough.
The limitation is across conversations, not within them. Once a chat ends or the window fills, native Claude gives you no fast way to find an exact phrase or export a single clean conversation. Token counts are also estimates that vary with language and formatting, so treat the 0.8 tokens-per-word ratio as a guide. For exact counts, use Anthropic's tokenizer.
Frequently Asked Questions
What is Claude's context window in 2026?
Claude Opus 4.8 and Claude Sonnet 4.6 have a 1 million token context window, and Claude Haiku 4.5 has 200,000 tokens. One million tokens is roughly 750,000 words of combined input and output, large enough to hold a 1,500-page book, an entire codebase, or a full novel in a single prompt. Opus and Sonnet include 1M at standard pricing.
How many words is 1 million tokens for Claude?
One million tokens is approximately 750,000 words for Claude, using a ratio of about 0.8 tokens per word. The exact count varies with word length, punctuation, and special characters. As a quick estimate, 1,000 words is around 800 tokens. Use a token counter for precise figures before pasting large inputs.
What is the maximum output length for Claude?
Claude Opus 4.8 generates up to 32,000 tokens per response, while Sonnet 4.6 and Haiku 4.5 cap at 8,192 tokens. Max output is separate from the context window and limits how long a single reply can be, not how much you can input. For very long outputs, use Opus 4.8 or request the content in sections.
Do all Claude models have the same context window?
No. Claude Opus 4.8 and Sonnet 4.6 share a 1 million token context window, but Haiku 4.5 runs 200,000 tokens. Opus and Sonnet also differ on max output and price. Haiku's 200K window still holds about 150,000 words, which is enough for most single-document tasks.
Why does Claude forget earlier messages?
Claude forgets earlier messages when a conversation exceeds its context window; the oldest tokens drop out of working memory. It also resets between separate conversations. To preserve important chats, search and export them with AI Toolbox before they scroll out of the window, or store key material in a Claude Project.
How do I reduce token usage in Claude?
Be concise in prompts, avoid repeating context, and break long tasks into separate conversations. Paste only the sections you need rather than entire documents when possible, and use a cheaper model like Haiku 4.5 for high-volume steps. AI Toolbox's Prompt Library lets you save optimized, reusable prompts so you spend fewer tokens re-explaining context.
Bottom Line
In 2026, Claude Opus 4.8 and Sonnet 4.6 ship a 1 million token context window (roughly 750,000 words) at standard pricing, while Haiku 4.5 runs 200K. Max output is 32,000 tokens for Opus and 8,192 for Sonnet and Haiku. The window is large, but it is still a window: it resets between chats and drops old tokens when full. AI Toolbox adds search, bookmarks, export, and a context window meter so your Claude history stays reachable, free to start, $9.99/month, or $99 lifetime. From the makers of AI Toolbox (formerly ChatGPT Toolbox) (35,000+ users, 4.5/5 rating).
A Full Stack Developer with 7+ years of experience building AI productivity tools. Leads product development and frontend architecture for AI Toolbox, the Chrome extension suite (ChatGPT, Gemini, and Claude modules) that helps users search, organize, and export their AI conversations.