← Back to article

Equation 1 · The Unit Economics of a Token

What does this equation mean?

c=pinn+pcww+pcrr+pout(y+z)c = p_{\mathrm{in}} n + p_{\mathrm{cw}} w + p_{\mathrm{cr}} r + p_{\mathrm{out}} \left( y + z \right)

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 operationsp_in n + p_cw w + p_cr r + p_out ( y + z )
Result or conditionc
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

cc

Symbol c

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

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 →

nn

Symbol n

the five counts in that order and each p is the corresponding published rate.

Understand this part →

pcwp_{\mathrm{cw}}

Symbol p_cw

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

Understand this part →

ww

Symbol w

the five counts in that order and each p is the corresponding published rate.

Understand this part →

pcrp_{\mathrm{cr}}

Symbol p_cr

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

Understand this part →

rr

Symbol r

the five counts in that order and each p is the corresponding published rate.

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 →

yy

Symbol y

the five counts in that order and each p is the corresponding published rate.

Understand this part →

zz

Symbol z

the five counts in that order and each p is the corresponding published rate.

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 →

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

Instrument each request to record five quantities: new input tokens, cache-write tokens, cache-read tokens, visible output tokens, and reasoning tokens. The cost of a single request is then c=pinn+pcww+pcrr+pout(y+z)c = p_{\mathrm{in}} n + p_{\mathrm{cw}} w + p_{\mathrm{cr}} r + p_{\mathrm{out}} \left( y + z \right). where n , w , r , y and z are the five counts in that order and each p is the corresponding published rate. The important feature is the last term: visible output and reasoning share one price, and the reasoning count is the only one of the five you cannot recover by inspecting what came back.

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 Unit Economics of a Token

See this formula across 1 published context →

Browse the mathematical compendium →