← Mathematical compendium

Published equation contexts

CRAG(Q)=pstore⋅S  +  Q⋅(pru⋅r(S)+prerank)C_{\mathrm{RAG}}(Q) = p_{\mathrm{store}} \cdot S \;+\; Q \cdot \left( p_{\mathrm{ru}} \cdot r(S) + p_{\mathrm{rerank}} \right)

Why this formula appears here

What the convergence does support is a real, worked comparison. Write the retrieval pipeline’s monthly cost, using the terms established above, as a fixed storage component plus a per-query component that itself has two parts: CRAG(Q)=pstore⋅S  +  Q⋅(pru⋅r(S)+prerank)C_{\mathrm{RAG}}(Q) = p_{\mathrm{store}} \cdot S \;+\; Q \cdot \left( p_{\mathrm{ru}} \cdot r(S) + p_{\mathrm{rerank}} \right). 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

Read the full article-specific guide →

Read the representative guide

CRAGC_{\mathrm{RAG}}

Symbol C_RAG

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

Read this term in its guide →
pstorep_{\mathrm{store}}

Symbol p_store

psp_store is one of the signed contributions combined to compute the quantity on the left.

Read this term in its guide →
prup_{\mathrm{ru}}

Symbol p_ru

prp_ru is one of the signed contributions combined to compute the quantity on the left.

Read this term in its guide →

How to interpret it

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

Research cited beside this formula

Published contexts (1)

A symbol can carry a different meaning in another article. Each occurrence keeps its own guide and term definitions.

CRAG(Q)=pstore⋅S  +  Q⋅(pru⋅r(S)+prerank)C_{\mathrm{RAG}}(Q) = p_{\mathrm{store}} \cdot S \;+\; Q \cdot \left( p_{\mathrm{ru}} \cdot r(S) + p_{\mathrm{rerank}} \right)

Equation 1 · AI Agents & Systems

The Hidden Infrastructure Bill Behind Every RAG Answer

This equation states an equality: the expressions on both sides have the same value under the article’s assumptions.

What the convergence does support is a real, worked comparison. Write the retrieval pipeline’s monthly cost, using the terms established above, as a fixed storage component plus a per-query component that itself has two parts: CRAG(Q)=pstore⋅S  +  Q⋅(pru⋅r(S)+prerank)C_{\mathrm{RAG}}(Q) = p_{\mathrm{store}} \cdot S \;+\; Q \cdot \left( p_{\mathrm{ru}} \cdot r(S) + p_{\mathrm{rerank}} \right). 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

Meanings in this article

Equation guide → · Article →