COST // AI INFRASTRUCTURE ECONOMICS

Context Carrying Cost

What it costs to re-send the same context on every request — the number that decides RAG versus long context, not whether the content fits the window.

Context carrying cost is the recurring price of holding content in a model's context window: tokens in the prompt × price per input token × requests. It is a carrying cost rather than a one-off because the context is re-sent and re-billed on every single request, whether or not the model needed it that turn.

Teams usually ask the wrong question first. Fifty pages of prose is roughly 33,250 tokens, comfortably inside a 128,000-token window — so it fits, and the discussion tends to stop there. But carrying those 33,250 tokens on 1,000 requests a day at three dollars per million input tokens costs about 3,000 dollars a month. Fitting is a capability question with a yes-or-no answer; carrying is an economic question whose answer is a monthly line item.

That is why context carrying cost, not window size, is the honest input to the RAG-versus-long-context decision. Retrieval adds engineering complexity and a relevance failure mode; long context adds a recurring bill that scales with traffic. Prompt caching changes the arithmetic but does not remove it, since the discount applies only to the cached share of input. The comparison is only meaningful once both options are priced at your actual request volume.

Frequently asked questions

What is context carrying cost?

The recurring cost of re-sending the same context on every request: prompt tokens multiplied by the input token price and by request volume. Unlike a one-time indexing cost, it is billed again on each call.

Is RAG cheaper than a long context window?

It depends on request volume, not on whether the content fits. Carrying 33,250 tokens on 1,000 requests a day at three dollars per million input tokens costs roughly 3,000 dollars a month; below some volume that is cheaper than building retrieval, above it retrieval wins.

How many tokens is a page of text?

Roughly 665 tokens per page of prose, so fifty pages is about 33,250 tokens — around 26% of a 128,000-token context window. The calculator at piszczek.pl/tools/context-window converts pages, words, characters or lines of code and prices the result.

Source analyses

READ THE FULL ARGUMENT
Context Window calculator — tokens, fit and carrying cost
READ THE FULL ARGUMENT
AI Token Cost calculator — price across models
READ THE FULL ARGUMENT
How Much Does AI Actually Cost? The field guide

Related terms

GLOSSARY
Agent-hour
GLOSSARY
Verification cost
GLOSSARY
Joule Wars
Michał Piszczek
Michał Piszczek
CEO / CTO / FOUNDER

Term defined and maintained by Michał Piszczek — CTO of Archdesk, author of the Joule Wars and Proof-Adjusted Autonomy frameworks. Quote freely with attribution to piszczek.pl/glossary (CC BY 4.0).