← Back to article

Equation 8 · The Hidden Infrastructure Bill Behind Every RAG Answer

What does this equation mean?

CLC(Q)=Q⋅pin⋅EC_{\mathrm{LC}}(Q) = Q \cdot p_{\mathrm{in}} \cdot E

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

Inputs and operationsQ × p_in × E
Result or conditionC_LC(Q)
How to read the two sides of this formula. Follow the article passage for the meaning of each quantity.

This equation states an equality: the expressions on both sides have the same value under the article’s assumptions. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

CLCC_{\mathrm{LC}}

Symbol C_LC

CLC_LC is part of the quantity the equation computes from the expression on the right.

Understand this part →

QQ

Symbol Q

monthly query volume, and pstorep_{\mathrm{store}} , prup_{\mathrm{ru}}.

Understand this part →

pinp_{\mathrm{in}}

Symbol p_in

the applicable — possibly long-context-tiered — input price.

Understand this part →

EE

Symbol E

the number of extra context tokens each call would need to carry in place of what retrieval would otherwise have selected.

Understand this part →

=

=

The expressions on both sides represent the same quantity under the stated assumptions.

Understand this part →

See an illustrated explanation →
multiplication

multiplication

Multiply the quantities on either side.

Understand this part →

subscript

subscript

The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.

Understand this part →

How to interpret it

Read it with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

where S is index size in gigabytes, r(S) is Pinecone’s documented read units per query as a function of that size, Q is monthly query volume, and pstorep_{\mathrm{store}} , prup_{\mathrm{ru}} , and prerankp_{\mathrm{rerank}} are the published per-unit rates given earlier. Set against it, the cost of skipping retrieval and instead inlining a fixed block of extra context on every single call is CLC(Q)=Q⋅pin⋅EC_{\mathrm{LC}}(Q) = Q \cdot p_{\mathrm{in}} \cdot E. where E is the number of extra context tokens each call would need to carry in place of what retrieval would otherwise have selected, and pinp_{\mathrm{in}} is the applicable — possibly long-context-tiered — input price.

Read the equation in its article →

Sources cited in the article section

These citations give research context. Read each source to check which claims it supports.

Return to The Hidden Infrastructure Bill Behind Every RAG Answer

See this formula across 1 published context →

Browse the mathematical compendium →