LLM Context Windows: How They Work And Why Prompts Cost More
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: LLM Context Windows: How They Work And Why Prompts Cost More on ThorstenMeyerAI.com

Before you orderOffer from Amazon

Get the little things that make your day delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

TL;DR

A November 22 explainer from ThorstenMeyerAI.com examines how LLM context windows hold prompts, chat history, documents and generated answers, and why larger windows can increase processing costs and time. It reports that leading models list windows near one million tokens, but capacity alone does not establish how reliably a model uses information across a long prompt.

ThorstenMeyerAI.com published an explainer on November 22 detailing how large language model context windows work and why feeding a model more text can raise processing costs without guaranteeing that it will use every detail well. The report says that leading models listed by Anthropic, OpenAI and Google offered windows around one million tokens as of that date, a major increase from GPT-3’s 2,048-token window in 2020.

A context window is the text a model can reference while generating a response. It can include system instructions, a user’s prompt, earlier chat turns, attached documents and the answer itself. If those items exceed the available capacity, the full conversation cannot fit in the window at once; the source describes the limit but does not specify how every product handles overflow.

The explainer says full self-attention compares tokens with one another, making its work grow roughly with the square of the sequence length. Under that scaling rule, doubling the text means about four times the attention work, with constant factors omitted. Some architectures use sliding-window attention, restricting which neighboring tokens each token can attend to; the source says that approach grows in step with sequence length.

During generation, a model also uses a key-value (KV) cache to retain calculations for earlier tokens rather than repeat them for each new token. The cache grows as tokens are added. The article says providers charge for tokens and may apply higher rates above specified thresholds, while caching repeated prompts can reduce charges. Exact prices and thresholds depend on each provider and model and are not included in the supplied material.

At a glance
reportWhen: Published November 22, 2026; model capa…
The developmentThorstenMeyerAI.com published an explainer on November 22, 2026, describing how context-window size affects LLM processing, performance and prompt costs.

Why Longer Prompts Can Cost More

For people using AI to review contracts, research files or long chat histories, a large advertised window can make it possible to submit more material at once. But capacity is not the same as reliable retrieval: the explainer cites a study in which GPT-3.5-Turbo’s accuracy varied depending on where the relevant document appeared in the prompt.

Long prompts can also affect both latency and token-based charges. The material says each submitted token contributes to processing costs and that the KV cache expands with the conversation. This means users may need to weigh convenience against the price and time of sending large amounts of text, particularly when much of it is repeated or unrelated to the question.

The practical implication is not that long context is useless, but that a million-token limit should not be treated as a promise that every passage will receive equal attention. The source’s account points to prompt organization, model behavior and vendor pricing as separate factors in whether a large document task works well.

Products Worth Considering

Garmin Forerunner 265 GPS Running Smartwatch, 46 mm, Black/Powder Gray

Garmin Forerunner 265 GPS Running Smartwatch, 46 mm, Black/Powder Gray

Oral-B iO7 Rechargeable Electric Toothbrush, Deep Clean + Protect, White

Oral-B iO7 Rechargeable Electric Toothbrush, Deep Clean + Protect, White

As an affiliate, we earn on qualifying purchases.

From 2,048 Tokens to One Million

The explainer traces context capacity from GPT-3’s 2,048 tokens in 2020 through later systems, including Longformer at 4,096 tokens and Mistral 7B at 8,192 tokens, to models it says listed roughly one million tokens in 2026. It names Claude Opus 5.5 and Sonnet 5.5, OpenAI’s GPT-6.2 Astra and Sol, and Google’s Gemini 4 Carbon and Neon. These figures are attributed to vendor pages and papers checked by the source on November 22, 2026; they are not independently verified here.

The source distinguishes training from use. In training, text is divided into fixed-length sequences and the model learns to predict the next token at each position. The 2020 GPT-3 paper describes training on full sequences of 2,048 tokens, combining shorter documents or splitting longer ones. In a chatbot, the context window instead acts as working memory for the current exchange.

Token counts do not map exactly to word counts. A tokenizer divides text into tokens, which can be words or parts of words. The source notes that Anthropic’s pricing documentation says its newer tokenizer produces approximately 30% more tokens for the same text than its previous tokenizer. The effect of a document on a bill can therefore depend on the model’s tokenizer as well as its length in pages.

“During training we always train on sequences of the full nctx = 2048 token context window, packing multiple documents into a single sequence when documents are shorter than 2048.”

— Brown et al., in the 2020 GPT-3 paper, as quoted by ThorstenMeyerAI.com

Capacity Does Not Guarantee Recall

The supplied material does not establish that every model named has the same usable input capacity, pricing structure or performance across all tasks. The listed capacities are presented as vendor or paper figures checked on November 22, 2026, rather than as results from a common independent test.

The explainer cites a “Lost in the Middle” study reporting that GPT-3.5-Turbo answered correctly 75.8% of the time when a key document came first, versus 53.8% when it appeared in the middle and 56.1% with no documents. The supplied excerpt does not give the study’s full methodology, sample size or task details, so those figures should not be read as a universal benchmark for current models.

It is also unclear from the material how different providers manage prompts that exceed a window, what exact prices or long-prompt surcharges apply, and how much caching changes an individual user’s bill. The source notes that caching can cut charges but gives no specific rate or calculation.

Check Model Limits and Pricing

The source frames its article as part two of a seven-part explainer series on how AI works. It says a later installment will cover how the full training pipeline fits together, but the supplied material gives no publication date for that part.

For users working with long documents, the immediate next step is to check the selected model’s current input limit, tokenizer and pricing rules before sending a large prompt. Where a task depends on a detail buried in a lengthy file, readers should also verify the answer against the cited passage rather than assuming that a large context window guarantees accurate recall.

Key Questions

What does an LLM context window include?

It includes the text available to the model while it generates a response: instructions, the prompt, conversation history, supplied documents and the answer, according to the Anthropic definition quoted in the source.

Why can a longer prompt cost more?

Providers commonly charge by token, and a longer prompt uses more tokens. The source also says full attention work grows roughly with the square of sequence length, while the KV cache grows as tokens are added. Actual charges vary by provider, model and pricing rules.

Does a one-million-token window mean a model can reliably use all the text?

No such guarantee is established by the source. It cites research showing that GPT-3.5-Turbo’s results differed according to where relevant information appeared in a document, but the excerpt does not provide enough methodological detail to generalize those results to all models.

What is a KV cache?

A KV cache stores calculations for earlier tokens so the model does not have to redo the same work for every new token. The source describes it as growing as more tokens are added.

How many tokens are in a page of text?

There is no fixed number in the supplied material. Token counts depend on the text and the model’s tokenizer; the source notes that one newer tokenizer produces approximately 30% more tokens for the same text than its predecessor.

Source: ThorstenMeyerAI.com

You May Also Like

Your Coding Agent Is an Attack Surface: The Claude Code Security Reckoning

Recent vulnerabilities in Claude Code reveal critical attack surfaces, risking token theft and code execution, with some issues still unpatched.

Could AI Kill Us All? Expert Calls For A Ban

A leading expert warns that advanced AI could pose an existential threat and advocates for a global ban, amid rising public and media concern.

What Would Jensen Huang’s Exit Mean For AI?

Nvidia says its board accepted Jensen Huang’s resignation, with Colette Kress named interim CEO. The reasons and wider AI effects remain uncertain.

The Generative AI Debate: What European Game Unions Want

A manifesto published by European game union members urges workers and studios to avoid generative AI, citing employment, labor and data concerns.