The window says 1M, so how much can you actually use? Advertised, effective and deployable length
Put a 300-page product manual into a window advertised as 1M and the model does "receive" every token. Then you ask for a parameter from the middle of the document and it returns a number from a different section, or simply gets it wrong.
The model did read the input. The problem is that the window ceiling and the length you can use reliably are two different numbers. This article answers one question: beyond the advertised window, what actually determines your usable length, and how do you measure it?
The one-paragraph answer
The advertised window sets how many tokens fit, determined by the positional-encoding scheme and the training length. The effective window sets at what length and at which positions accuracy holds, determined by position distribution, task type and prompt structure. The deployable length is squeezed again by KV cache memory and concurrency. Take the minimum of the three — that is the length you can promise.
Three lengths, not one
Advertised window: the maximum input tokens stated in official docs. On the November 2026 OpenAI model pages, GPT-6.2 Sol and Astra both list a 1.05M context window and 128K max output, with Sol priced at $2 / $10 per million input / output tokens. That number is an API validation limit, not a quality guarantee.
Effective window: the length at which accuracy holds on your task. Move the same piece of evidence to a different position and utilization can shift by 20 percentage points — numbers below.
Deployable length: appears only when you self-host. max_model_len is a declaration; whether it runs at the concurrency you want depends on how much VRAM is left for the KV cache.
Evidence 1: same evidence, different position, 20 points of gap
The experiments in Lost in the Middle (TACL 2023) are clean: multi-document QA on NaturalQuestions with 10 / 20 / 30 documents, exactly one of which contains the answer and the rest are distractors. The only variable is whether the answer document sits first, in the middle, or last.
For GPT-3.5-Turbo (0613, 4K window):
| Answer document position | 20 documents | 30 documents |
|---|---|---|
| First (index 0) | 75.8% | 73.4% |
| Middle (index 9) | 53.8% | 50.5% |
| Last | 63.2% | 63.7% |
Closed-book (no documents at all) for the same model is 56.1%. In other words, when the answer lands in the middle, stuffing 20 documents in does worse than giving none. The paper's own phrasing: degradation of over 20% in the worst case.
One more comparison worth remembering: the variant extended from 4K to 16K had a position–accuracy curve that almost overlapped the 4K version at 10 and 20 documents. A larger window does not by itself make a model better at using context.
The retrieval side tells the same story: in open-domain QA over Wikipedia, going from 20 to 50 retrieved documents improved GPT-3.5-Turbo by roughly 1.5% and Claude-1.3 by roughly 1%. The reading end saturates first; adding more recall after that is spinning wheels.
Evidence 2: extrapolation is bought with training
RoPE-style models degrade when extrapolated straight past their training length — that is the starting point of YaRN (ICLR 2024). What YaRN achieves: extending LLaMA-family models to a 128K effective length with 10× fewer tokens and 2.5× fewer training steps than prior methods.
The engineering implication: a figure like 1.05M is the result of dedicated extension training. Which positions and which lengths that training covered decides whether it stays stable at the long tail. API docs publish the ceiling; they do not publish "at 1M, with the evidence in the middle, on multi-hop tasks, accuracy drops to X".
The third constraint: VRAM and concurrency
When you self-host, VRAM squeezes the length again. The vLLM V1 stable docs (November 2026) state that KV cache is sized from the memory actually free after warmup; gpu_memory_utilization defaults to 1.0 on CUDA / ROCm (with expandable KV cache) and 0.92 on other backends. When KV space runs short, requests are preempted and recomputed, and the docs explicitly warn this hurts end-to-end latency. Chunked prefill is on by default, and max_num_batched_tokens trades TTFT against inter-token latency (ITL) — for throughput, set it to 8192 or above; if you disable chunked prefill, that value must exceed max_model_len, or startup may fail outright.
So "we support 1M" and "we run 1M by default with 20 concurrent requests stable" are two different claims. The latter has to be computed from VRAM.
Three steps to measure your own effective length
- Position sweep: same question, same evidence, placed at the beginning, middle and end, at least 30 cases per position. See where accuracy starts to fall.
- Length ladder: 8K / 32K / 128K / the model ceiling, at least 50 cases per level, temperature and max_tokens fixed, only the length changes.
- Task split: single-hop extraction, multi-hop reasoning and cross-document comparison measured separately. Empirically single-hop degrades last and multi-hop first; mixing them blurs the conclusion.
Report "position + length + task + sample size + model version + date". A report that only says "supports 1M" counts as untested in review.
Three calls for the application side
- Retrieve before assembling for long-document QA. Stuffing the whole document is the most expensive and least reliable approach in the middle. Put evidence at the edges and repeat the question before and after the document — the gain is limited on multi-document QA, but on key-value retrieval tasks a query-aware structure can lift a worst-case 45.6% to near perfect. Treat it as cheap insurance, not a universal fix.
- Budget input and output separately. A 1.05M input window says nothing about output length; the 128K output ceiling is a hard limit for long reports and long code, so reserve budget for it explicitly.
- Size self-hosted capacity by concurrency. On one card, a single 128K request may be fine while eight concurrent 128K requests are not. Compute the concurrency ceiling from KV cache memory first, then write the SLA.
The previous article, Why long context is expensive, audited the compute and memory bill. This one audits the quality bill: at the same length, the model does not use every position equally well.