← Back to article

Equation 5 · AI Inference Economics in Practice: An Advanced Technical Guide

What does this equation mean?

R∗=w−r1−rR^{*} = \frac{w - r}{1 - r}

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.

Start withw - r
Divide by1 - r
This relates toR^*
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

R∗R^{*}

Symbol R^*

R∗R^* is part of the quantity the equation computes from the expression on the right.

Understand this part →

ww

Symbol w

w occurs above the fraction bar. The numerator is divided by the entire denominator below it.

Understand this part →

rr

Symbol r

r 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 →
fraction

fraction

Divide the expression above the line by the one below it.

Understand this part →

See an illustrated explanation →
subtraction

subtraction

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

Understand this part →

superscript

superscript

A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.

Understand this part →

See an illustrated explanation →
w−rw - r

Numerator: w - r

The complete quantity above the fraction bar.

Understand this part →

1−r1 - r

Denominator: 1 - r

The complete quantity below the fraction bar; it must be nonzero for this division.

Understand this part →

How to interpret it

With a fixed numerator, increasing a nonzero denominator reduces the fraction. Read it with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

That convergence on roughly one tenth of base input for a cache read — independently verified today across all three platforms [ 2 , 6 , 10 ] — supports a design rule. Let w be the write-price multiplier for the chosen retention window and r ≈\approx 0.1 the read-price multiplier. For a prefix served identically R times within that window — the first serving is the write, the remaining R-1 are reads — caching beats never caching once R∗=w−r1−rR^{*} = \frac{w - r}{1 - r}. is exceeded. At Anthropic’s five-minute rate, w = 1.25 and R∗R^{*} ≈\approx 1.28 : the prefix pays for itself starting with the first read after the write, matching the break-even Anthropic’s pricing page states for that duration [ 6 ] . At the…
Read the full surrounding passage
That convergence on roughly one tenth of base input for a cache read — independently verified today across all three platforms [ 2 , 6 , 10 ] — supports a design rule. Let w be the write-price multiplier for the chosen retention window and r ≈\approx 0.1 the read-price multiplier. For a prefix served identically R times within that window — the first serving is the write, the remaining R-1 are reads — caching beats never caching once R∗=w−r1−rR^{*} = \frac{w - r}{1 - r}. is exceeded. At Anthropic’s five-minute rate, w = 1.25 and R∗R^{*} ≈\approx 1.28 : the prefix pays for itself starting with the first read after the write, matching the break-even Anthropic’s pricing page states for that duration [ 6 ] . At the one-hour rate, w = 2 and R∗R^{*} ≈\approx 2.11 , matching the stated two-read break-even for that window [ 6 ] . The formula’s use is computing the same threshold for a w and r that are not round numbers, and deciding, before writing code, whether a prefix’s expected reuse clears the bar for the TTL about to be selected.

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 AI Inference Economics in Practice: An Advanced Technical Guide

See this formula across 1 published context →

Browse the mathematical compendium →