Published equation contexts
Why this formula appears here
Two structural consequences follow directly from that documented pricing, and they are analysis, not disclosure, since Anthropic states the multipliers but does not publish this derivation. Model a session as a sequence of turns. At turn i, the agent resends the accumulated transcript, c sub i-minus-one, as a cache read; adds a batch of new tokens, delta sub i, as a cache write, from a tool result or a newly opened file; and produces o sub i output tokens. Writing p-in and p-out for the base input and output prices, the billed cost of that turn is . Summed across an N-turn session, the accumulated-context term is a triangular sum that grows in proportion to the square of…
Read the representative guide
Symbol p_in
n is one of the signed contributions combined to compute the quantity on the left.
Read this term in its guide →Symbol c_i-1
-1 is one of the signed contributions combined to compute the quantity on the left.
Read this term in its guide →Symbol Delta_i
Delt is one of the signed contributions combined to compute the quantity on the left.
Read this term in its guide →Symbol p_out
ut is one of the signed contributions combined to compute the quantity on the left.
Read this term in its guide →Symbol o_i
is one of the signed contributions combined to compute the quantity on the left.
Read this term in its guide →Symbol c_i
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.
Equation 1 · AI Agents & Systems
The Economics, Energy, and Physical Limits of Claude Code and Agentic Development Tools
This equation states an equality: the expressions on both sides have the same value under the article’s assumptions.
Two structural consequences follow directly from that documented pricing, and they are analysis, not disclosure, since Anthropic states the multipliers but does not publish this derivation. Model a session as a sequence of turns. At turn i, the agent resends the accumulated transcript, c sub i-minus-one, as a cache read; adds a batch of new tokens, delta sub i, as a cache write, from a tool result or a newly opened file; and produces o sub i output tokens. Writing p-in and p-out for the base input and output prices, the billed cost of that turn is . Summed across an N-turn session, the accumulated-context term is a triangular sum that grows in proportion to the square of…