← All parts of this equation

Equation 1 · Part 10 · Building on Frontier Model APIs: Effort, Context, Caching, and Failure Handling

=

creq=cin (tfresh+α tcached)+creason treason+cout tout,c_{\mathrm{req}} = c_{\mathrm{in}}\,(t_{\mathrm{fresh}} + \alpha\, t_{\mathrm{cached}}) + c_{\mathrm{reason}}\, t_{\mathrm{reason}} + c_{\mathrm{out}}\, t_{\mathrm{out}},
=

What this part means

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

Its job in the formula

The equals sign connects the complete expression on the left with the complete expression on the right. Both sides must have compatible units.

The passage around this formula

Write the per-request cost as three separate terms rather than one blended figure: creq=cin (tfresh+α tcached)+creason treason+cout toutc_{\mathrm{req}} = c_{\mathrm{in}}\,(t_{\mathrm{fresh}} + \alpha\, t_{\mathrm{cached}}) + c_{\mathrm{reason}}\, t_{\mathrm{reason}} + c_{\mathrm{out}}\, t_{\mathrm{out}}. where α\alpha is the discount applied to cached prefix tokens. Three things become obvious the moment it is written this way.

Read this part in the article →

Learn the underlying idea

An equals sign says that the expression on its left and the expression on its right have the same value under the stated definitions and assumptions.

Open the illustrated equality: what the equals sign claims guide →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.