← Back to article

Equation 4 · Actually Building with the Grok API

What does this equation mean?

piL,poLp_i^{L}, p_o^{L}

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 mathematical expression combines the displayed quantities; its precise role follows from the surrounding article text. 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

piLp_i^{L}

Symbol p_i^L

the low-tier prices.

Understand this part →

poLp_o^{L}

Symbol p_o^L

poLp_o^L is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

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 →

How to interpret it

Read this expression with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

The pricing structure has a feature worth building a mental model around before it costs you money in production: it is not a marginal rate that blends smoothly as a request grows, it is a cliff. Every model’s documented price list carries two tiers — one for requests under 200,000 tokens, and a materially higher one, roughly double across the board, once a request reaches that threshold — and the higher rate applies to the entire request, not just the tokens past the line [ 1 ] . Written as a cost function of input tokens nin_i and output tokens non_o against a threshold T = 200{,}000 , with low-tier prices piLp_i^{L}, poLp_o^{L} and high-tier prices piHp_i^{H}, poHp_o^{H} :

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 Actually Building with the Grok API

See this formula across 1 published context →

Browse the mathematical compendium →