← Back to article

Equation 1 · The Economics, Energy, and Physical Limits of Claude Code and Agentic Development Tools

What does this equation mean?

Ci=0.1 pin ci−1  +  1.25 pin Δi  +  pout oi,ci=ci−1+Δi.C_i = 0.1\,p_{\mathrm{in}}\,c_{i-1} \;+\; 1.25\,p_{\mathrm{in}}\,\Delta_i \;+\; p_{\mathrm{out}}\,o_i, \qquad c_i = c_{i-1} + \Delta_i.

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.

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

CiC_i

Symbol C_i

the billed cost of that turn.

Understand this part →

pinp_{\mathrm{in}}

Symbol p_in

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

Understand this part →

ci−1c_{i-1}

Symbol c_i-1

cic_i-1 is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

Δi\Delta_i

Symbol Delta_i

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

Understand this part →

poutp_{\mathrm{out}}

Symbol p_out

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

Understand this part →

oio_i

Symbol o_i

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

Understand this part →

cic_i

Symbol c_i

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

Understand this part →

=

=

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

Understand this part →

See an illustrated explanation →
addition

addition

Add the term after the plus sign to the term or group before it.

Understand this part →

subtraction

subtraction

Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.

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

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 Ci=0.1 pin ci−1  +  1.25 pin Δi  +  pout oi,ci=ci−1+ΔiC_i = 0.1\,p_{\mathrm{in}}\,c_{i-1} \;+\; 1.25\,p_{\mathrm{in}}\,\Delta_i \;+\; p_{\mathrm{out}}\,o_i, \qquad c_i = c_{i-1} + \Delta_i. Summed across an N-turn session, the accumulated-context term is a triangular sum that grows in proportion to the square of…
Read the full surrounding passage
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 Ci=0.1 pin ci−1  +  1.25 pin Δi  +  pout oi,ci=ci−1+ΔiC_i = 0.1\,p_{\mathrm{in}}\,c_{i-1} \;+\; 1.25\,p_{\mathrm{in}}\,\Delta_i \;+\; p_{\mathrm{out}}\,o_i, \qquad c_i = c_{i-1} + \Delta_i. Summed across an N-turn session, the accumulated-context term is a triangular sum that grows in proportion to the square of the turn count whenever new context arrives at a roughly steady rate, even though every token in it is billed at a ninety percent discount. Doubling the length of a session does not double its context-carrying cost; holding the per-turn addition fixed, it roughly quadruples it. This is an accounting identity that follows mechanically from the documented multipliers, not a measured benchmark, and it matches what Anthropic’s own guidance says qualitatively about why usage climbs in a long session: the full conversation is resent with every request, and each tool call adds another such request carrying that batch of results, so a one-line question in a session left open all day still draws usage for the whole conversation behind it [ 3 ] . The discount makes long sessions affordable turn to turn; it does not make them cheap in aggregate, because the thing being discounted is itself growing.

Read the equation in its article →

Sources cited in the surrounding passage

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

Return to The Economics, Energy, and Physical Limits of Claude Code and Agentic Development Tools

See this formula across 1 published context →

Browse the mathematical compendium →