← All parts of this equation

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

Symbol n_o

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}
non_o

What this part means

non_o is an argument of the function-like quantity on the left; its role is set by that function’s stated inputs.

Its job in the formula

non_o is an argument of the function-like quantity on the left; its role is set by that function’s stated inputs.

The passage around this formula

…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} : 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…

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.