← Back to article

Equation 7 · The Real Economics of Shipping a Model to a Device

What does this equation mean?

Qdistill∗=Cdistillcteacher−cstudent.Q^{*}_{\mathrm{distill}} = \frac{C_{\mathrm{distill}}}{c_{\mathrm{teacher}} - c_{\mathrm{student}}}.

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 withC_distill
Divide byc_teacher - c_student
This relates toQ^*_distill
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

Qdistill∗Q^{*}_{\mathrm{distill}}

Symbol Q^*_distill

the break-even query volume.

Understand this part →

CdistillC_{\mathrm{distill}}

Symbol C_distill

the one-time training cost.

Understand this part →

cteacherc_{\mathrm{teacher}}

Symbol c_teacher

the marginal cost per query of serving each model, wherever that serving happens.

Understand this part →

cstudentc_{\mathrm{student}}

Symbol c_student

csc_student occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.

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 →

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 →

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 →
cteacher−cstudentc_{\mathrm{teacher}} - c_{\mathrm{student}}

Denominator: c_teacher - c_student

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

Here CdistillC_{\mathrm{distill}} is the one-time training cost, Q is the number of queries served over the deployment’s life, and cstudentc_{\mathrm{student}} and cteacherc_{\mathrm{teacher}} are the marginal cost per query of serving each model, wherever that serving happens. The break-even query volume is Qdistill∗=Cdistillcteacher−cstudentQ^{*}_{\mathrm{distill}} = \frac{C_{\mathrm{distill}}}{c_{\mathrm{teacher}} - c_{\mathrm{student}}}. As a worked illustration only, not a claim about any real company’s ledger: take Alpaca’s disclosed $600 and assume, as an order-of-magnitude figure consistent with how frontier and compact API tiers are typically priced relative to each other, that a teacher-class model costs $0.002 per query to serve and a well-distilled student costs $0.0002 — a tenfold gap. Then Qdistill∗Q^{*}_{\mathrm{distill}}…
Read the full surrounding passage
Here CdistillC_{\mathrm{distill}} is the one-time training cost, Q is the number of queries served over the deployment’s life, and cstudentc_{\mathrm{student}} and cteacherc_{\mathrm{teacher}} are the marginal cost per query of serving each model, wherever that serving happens. The break-even query volume is Qdistill∗=Cdistillcteacher−cstudentQ^{*}_{\mathrm{distill}} = \frac{C_{\mathrm{distill}}}{c_{\mathrm{teacher}} - c_{\mathrm{student}}}. As a worked illustration only, not a claim about any real company’s ledger: take Alpaca’s disclosed $600 and assume, as an order-of-magnitude figure consistent with how frontier and compact API tiers are typically priced relative to each other, that a teacher-class model costs $0.002 per query to serve and a well-distilled student costs $0.0002 — a tenfold gap. Then Qdistill∗Q^{*}_{\mathrm{distill}} = 600 / 0.0018 ≈\approx 333{,}000 queries. Any production feature serving that many requests clears the investment in days, sometimes hours. This is the arithmetic reason distillation has become the default route to a deployable small model rather than a research curiosity: the pipeline cost is a rounding error against even modest cloud query volumes. Schwartz and colleagues’ “Green AI” argument — that the field should routinely report the “financial cost or ‘price tag’” of developing and running a model as a first-class evaluation criterion, not just its accuracy [ 7 ] — is worth restating here precisely because the headline distillation figures that circulate publicly are, by design, the cheapest line item in this whole accounting. Six hundred dollars is a true and verifiable number. It is also not the number that determines whether shipping the result to a device saves anyone money.

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 Real Economics of Shipping a Model to a Device

See this formula across 1 published context →

Browse the mathematical compendium →