← All parts of this equation

Equation 6 · Part 7 · Actually Building with the Grok API

Symbol p_o^H

Cost(ni,no)={ni piL+no poL,ni<Tni piH+no poH,ni≥T\text{Cost}(n_i, n_o) = \begin{cases} n_i\, p_i^{L} + n_o\, p_o^{L}, & n_i < T \\ n_i\, p_i^{H} + n_o\, p_o^{H}, & n_i \geq T \end{cases}
poHp_o^{H}

What this part means

poHp_o^H is one of the signed contributions combined to compute the quantity on the left.

Its job in the formula

poHp_o^H is one of the signed contributions combined to compute the quantity on the left.

The passage around this formula

…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} : Cost(ni,no)={ni piL+no poL,ni<Tni piH+no poH,ni≥T\text{Cost}(n_i, n_o) = \begin{cases} n_i\, p_i^{L} + n_o\, p_o^{L}, & n_i < T \\ n_i\, p_i^{H} + n_o\, p_o^{H}, & n_i \geq T \end{cases}. For grok-4.6 that means a 199,999-token prompt is billed at two dollars per million input tokens, and a 200,001-token prompt — one token longer — is billed at four dollars per million input tokens and twelve dollars per million output tokens for the whole request, not…

Read this part in the article →

Learn the underlying idea

A subscript is a label attached below a symbol. It often selects a time step, component, category, or member of a sequence.

Open the illustrated subscripts: which member of a family? guide →

See this notation across published equations →

Sources cited in the surrounding passage

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