← All parts of this equation

Equation 14 · Part 1 · Serving a Frontier Model: The KV Cache, Batching, and What a Token Actually Costs

Symbol n_kv

nkvn_{\mathrm{kv}}
nkvn_{\mathrm{kv}}

What this part means

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

Its job in the formula

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

The passage around this formula

The other lever is nkvn_{\mathrm{kv}} . Standard multi-head attention gives every query head its own key and value heads. Shazeer observed that the key and value projections could be shared across all query heads, cutting the cache by the head count at some quality cost [ 4 ] . Grouped-query attention interpolates: query heads are divided into groups, each sharing one key–value head, and the paper shows the resulting models can be uptrained from existing multi-head checkpoints to reach quality close to the original at speed close to multi-query [ 5 ] .

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.