What a 1,000,000-Token Context Window Actually Buys You
Both frontier labs now ship million-token context. Here is how the number is measured, what it costs, where it stops helping, and why the tokenizer change matters more than the headline.
If you have read a model card in the last year, you have read “1 million tokens” more times than you have read any other specification. Both OpenAI and Anthropic now ship models with million-token context windows. Anthropic’s Claude Fable 5.2 and Mythos 5.2 have a 1M token context window that is both the default and the maximum. OpenAI’s GPT-6.2 Astra and Sol offer 1,050,000 tokens.
The number is real. It is also the least informative part of the specification, and understanding why requires separating four things that get collapsed into one word: capacity, cost, speed, and attention.
Capacity: how the number is measured
Anthropic’s documentation is unusually precise about what a token is, and the answer has changed recently. The Claude Platform docs state that 1M tokens is roughly 555,000 words or 2.5M Unicode characters on the current tokenizer, which was introduced with Claude Opus 4.7, and that models before it fit about 750,000 words in 1M tokens. They also note that 200,000 tokens is roughly 150,000 words.
The tokenizer change matters more than it first appears. Anthropic states that Claude 4.7 and later models use a newer tokenizer that produces approximately 30% more tokens for the same text. So the same 1M context window holds roughly 25% fewer words than it did a year earlier.
This is the normal direction of travel — tokenizers get more efficient over time, so a fixed context window buys more text. The fact that it moved the other way here, at least for Anthropic, is a signal that something about coverage or capability was prioritised over token density. Whatever the reasoning, the practical effect is that “1M tokens” does not mean “the same amount of text as 1M tokens used to mean.”
The other measurement detail worth knowing is the split between input and output. A million-token context window does not mean you can generate a million tokens. GPT-6.2 Astra caps maximum input at 922,000 tokens and maximum output at 128,000. Anthropic’s models cap output at 128,000 on the synchronous Messages API, with up to 300,000 output tokens available on the Message Batches API for a specific list of models under a beta header.
Cost: long context is priced differently
A context window is a physical constraint on serving infrastructure. Read the billing pages and you can see labs pricing the constraint explicitly.
OpenAI applies a long-context surcharge above 272,000 input tokens. For GPT-6.2 Astra, input and cached-input rates double and output costs are multiplied by 1.5 for the full request — so $16 input, $0.80 cached input, and $60 output, against standard rates of $8, $0.40, and $40.
Anthropic does the opposite. Its documentation states that Claude 4.6 and later models (excluding Claude Haiku 5.5) and Claude Mythos Preview include the full 1M token context window at standard pricing, and that a 900,000-token request is billed at the same per-token rate as a 9,000-token request.
Those two policies produce very different invoices for the same workload. A 500,000-token request with a 10,000-token response costs roughly 2.4 times more at OpenAI’s standard rates than Anthropic’s, and considerably more once the multiplier is applied.
The practical takeaway is that “which lab has the better long-context pricing” is a real question with a real answer, and the answer is not the one most pricing tables suggest when you only look at the headline per-million-token figure.
Speed: prefill and decode are different problems
Sending a million tokens and generating a thousand tokens are not comparable operations. The first is prefill — the server reading your prompt and building the internal state for the next token. The second is decode — generating tokens one at a time, where each token depends on all the previous ones.
Prefill is largely parallelisable and scales well with the hardware. Decode is inherently serial and is where time-to-first-token and tokens-per-second live. A large context makes prefill slower but barely touches decode throughput.
This is why “time to first token” degrades with context size while “tokens per second once generating” does not. It is also why the 272,000-token threshold on OpenAI’s side and the 1M flat rate on Anthropic’s are different kinds of decision: one prices a serving-cost threshold, the other declines to.
If you are building something interactive, what matters is that first token. If you are building a batch pipeline, what matters is total tokens per dollar.
Attention: where the number stops helping
Here is the part that the marketing number hides.
A context window says how much a model can hold. It does not say how uniformly it uses what it holds. Retrieval-augmented generation exists because model attention is not a database lookup — it is a soft weighting across positions, and its effectiveness is uneven.
The widely reported “lost in the middle” effect is the canonical example: with long inputs, models tend to attend most reliably to material at the beginning and the end of the context, and less reliably to material buried in the middle. Even in a million-token window, the position of a fact inside your prompt affects how reliably it is retrieved.
That is the deep reason context windows and retrieval are not competitors. They solve different problems:
- Retrieval selects a small, high-precision set of relevant material and puts it where attention is strongest.
- A long context holds material that must stay present because it is needed continuously — a codebase, a contract, a transcript, a simulation state.
The mistake is using a 1M window as a substitute for good retrieval, and then being surprised that the model missed a fact that was technically present.
There is a second limit: context is not memory. Everything in the window is re-attended to on every generated token. There is no accumulation of understanding across the window the way there is in a human reading a document. A model that has “read” a 500,000-token codebase can still fail to notice that a function signature changed in the middle of it.
The rules of thumb that actually survive
If the material is needed on every request, put it in the context. System prompts, tool definitions, and standing instructions should be cached, not retrieved. Cached input runs at $0.40 per million on GPT-6.2 Astra and $0.20 per million on Claude Fable 5.2 — one twentieth and one fortieth of the base input rate respectively.
If the material is needed occasionally, retrieve it. Pulling ten relevant chunks into a 20,000-token context beats pasting 500,000 tokens and hoping.
Measure the bill, not the window. A million-token window that costs 2.4 times more per token can lose to a 200,000-token window that costs half as much, on the same workload.
Watch the tokenizer. The number of tokens your text produces changed materially with Claude Opus 4.7. Re-measure rather than assuming.
Split the output budget from the input budget. 128,000 output tokens sounds enormous until you realise it is a separate limit that has to be requested, scheduled, and paid for at the output rate.
Why this is a 2026 story
The numbers changed fast. Anthropic’s Opus 4.7 arrived in April 2026 with a 1M context window at $5/$25 per million tokens. Opus 5.5 launched in September 2026 with the same 1M window at $4/$20. Fable 5.2 in November brought the same window to $8/$40 with a 0.025× cache read rate. On OpenAI’s side, GPT-6.2 Astra landed at $8/$40 with a 1,050,000-token window and an output cap of 128,000.
Within about seven months, both labs converged on the same frontier price, the same context length, and the same output limit — while cutting the price of everything below the frontier tier.
That convergence is the real story. A million-token context window is no longer a differentiator. It is table stakes, and the differentiation has moved to what happens inside the window: cache hit rates, retrieval quality, and whether the model can hold a coherent thread across a long-running task.
For more on the economics, see prompt caching and context window economics.
Sources
- Claude Platform docs — Claude Fable 5.2 overview (context, tokenizer, and output limits)
- Claude Platform docs — Pricing (cache multipliers, long-context pricing, fast mode)
- Claude Platform docs — Claude Mythos 5.2 overview
- OpenAI developer docs — GPT-6.2 Astra (context window, token limits, pricing tiers)
- OpenAI developer docs — Pricing (long-context and Ultrafast tiers)