Claude Fable 5$22.000/MClaude Opus 5$11.000/MClaude Opus 4.8$11.000/MClaude Opus 4.7$11.000/MClaude Opus 4.6$11.000/MClaude Opus 4.5$33.000/MClaude Sonnet 3.7$6.600/MClaude Opus 3$33.000/MClaude 2.1$12.800/MClaude 2$12.800/MGPT-5.6 Sol$12.500/MGPT-5.6 Terra$5.000/MGPT-5.5$12.500/MGPT-5.2$5.425/MGPT-5.2-Codex$5.425/MGPT-5$3.875/MGPT-4.5$97.500/MGPT-4 Turbo Preview$16.000/MGPT-4$39.000/MGPT-4-32k$78.000/Mo3$19.000/Mo3-mini$2.090/Mo4-mini$2.090/Mo1$28.500/Mo1-mini$5.700/Mo1-preview$28.500/MGemini 3.5 Pro$5.000/MGemini 3.1 Pro$5.000/MGemini 3 Pro$5.000/MGemini 2.5 Pro$3.875/MClaude Fable 5$22.000/MClaude Opus 5$11.000/MClaude Opus 4.8$11.000/MClaude Opus 4.7$11.000/MClaude Opus 4.6$11.000/MClaude Opus 4.5$33.000/MClaude Sonnet 3.7$6.600/MClaude Opus 3$33.000/MClaude 2.1$12.800/MClaude 2$12.800/MGPT-5.6 Sol$12.500/MGPT-5.6 Terra$5.000/MGPT-5.5$12.500/MGPT-5.2$5.425/MGPT-5.2-Codex$5.425/MGPT-5$3.875/MGPT-4.5$97.500/MGPT-4 Turbo Preview$16.000/MGPT-4$39.000/MGPT-4-32k$78.000/Mo3$19.000/Mo3-mini$2.090/Mo4-mini$2.090/Mo1$28.500/Mo1-mini$5.700/Mo1-preview$28.500/MGemini 3.5 Pro$5.000/MGemini 3.1 Pro$5.000/MGemini 3 Pro$5.000/MGemini 2.5 Pro$3.875/M

How Context Windows Affect Cost

AI pricing guide · updated 2026-08-07

Context windows get discussed as a capability and priced as a consumable. A model advertising a million tokens does not charge you a million tokens; it charges for what you actually send. Understanding that distinction, and the surcharge some providers apply beyond a threshold, is what stops a long-context design becoming an expensive one.

The window is a ceiling, not a price

The context window caps how many tokens one request may contain: your prompt, retrieved documents, conversation history and the model's own output all draw on the same allowance. Exceeding it forces you to truncate, summarise or split the work.

Billing is per token sent, so a model with a million-token window costs the same as one with 128,000 for an identical short request. Capacity you do not use is free.

What filling it actually costs

Multiply the tokens you send by the input rate. Filling a 200,000-token window on a model charging $1.00 per million input tokens costs about $0.20 for that single request, before any output.

Do that on every request and the arithmetic turns quickly: at 10,000 requests a day, that same 200,000-token prompt is roughly $2,000 a day. This is the shape of bill that surprises teams who treated the window as a free convenience.

Long-context tiers charge more per token

Several providers apply a second, higher rate above a threshold, commonly around 272,000 tokens. On the GPT-5.6 tiers, the long-context rate is double the standard input price and one and a half times the output price. A request that spills past the boundary therefore costs more per token, not just more tokens.

That makes the threshold a design constraint worth knowing before you build. A system that habitually sends 300,000 tokens is on a different price sheet from one that sends 250,000.

How much window you actually need

Of the 271 text models we track, 38 offer a million tokens or more and another 32 sit between 200,000 and a million. The largest cluster, 100 models, offers between 100,000 and 200,000 tokens, which is ample for most production work.

Retrieval usually beats a large window on both cost and accuracy: fetching the handful of relevant passages sends far fewer tokens, and models can lose track of detail buried in very long context. Very large windows earn their place on whole-codebase reasoning and long document analysis, where chunking breaks the thread.

Where a long prompt is unavoidable and its opening portion repeats, prompt caching cuts the dominant cost to about a tenth. That combination, a long stable prefix plus caching, is what makes long-context systems affordable.

Frequently asked questions

Does a bigger context window cost more?

Not by itself. You pay for tokens sent, not for the size of the window, so an unused allowance is free. Two things do cost more: actually filling the window, and crossing into a provider's long-context tier, where several charge a higher rate per token beyond a threshold of around 272,000 tokens.

How much does it cost to fill a 1M-token context window?

Multiply a million by the model's input rate, then check whether a long-context surcharge applies. At $1.00 per million input tokens the base cost is about $1.00 per request, though on providers that double the rate past a threshold the real figure is higher. Repeated on every request, this is usually the largest single line in a long-context system.

Do I need a 1M-token context window?

Rarely. Most production systems retrieve the few passages that matter, which is cheaper and often more accurate, since models can lose detail buried in very long context. Large windows genuinely help for whole-codebase reasoning and long document analysis where chunking loses the thread.

See it in the data

Related guides

Terms used in this guide

Published by Tokenando. Last updated 2026-08-07. Figures in this guide are computed from our own pricing index and dated where they can move; see the methodology and corrections policy.