A 100-run sweep, one request at a time: input length fixed at 62 tokens on every request, ten target output lengths from 16 to 8,192 tokens, ten repeats each, every generation forced to hit its target length exactly, at temperature 0.8, with per-token arrival times captured by driving the inference engine's decode loop directly, one step at a time.
Ten target output lengths (16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192 tokens), ten repeats each, for 100 forced-length generations in total, one request at a time (bs=1). Input length is fixed at 62 tokens on every request.
We looked at the raw power traces of individual requests to understand how GPU power changes during generation. The results show that the decode power is very stable across different runs. For short generations, such as 128 tokens, the power stays almost constant, and the prefill stage is too short to be noticeable. For longer generations, such as 2048 tokens, the power shows slightly larger variation and gradually increases during generation, which is likely caused by the growing context length and KV cache. Overall, the GPU power during decoding is stable, with only a small increase for longer sequences.
Pooling every recorded token by its position in the sequence (prompt length + tokens already generated) instead of by the run's target length: all ten target lengths agree tightly on latency at a given position. Token 500 costs about the same whether it's the middle of a 1,024-token answer or an early token of an 8,192-token one.
Median inter-token latency ± interquartile band, by context position
28 log-spaced bins over context length (prompt 62 + tokens generated so far), pooled across all target lengths and repeats
A more targeted instrument than the ribbon above: at each fixed context-length checkpoint, how much do the different target-length runs disagree on inter-token latency? If the universal-curve claim is right, this spread should be small and roughly flat.
Checkpoint spread: % disagreement across target lengths at matched context position
Per-token latency was modeled as a constant floor plus a term that grows linearly with context length, not logarithmically. This matches the mechanism: a fixed per-token cost from reading the model's weights, plus a cost from reading the growing key-value cache that scales linearly with how much context has accumulated.
The fitted model
itl(x) ≈ 22.646 + 0.00009793 × x ms
where x is context length in tokens (prompt tokens + tokens generated so far). The floor, 22.646ms, is the fixed per-token cost of reading the model's weights; the slope, 0.00009793ms per token of context (≈0.098ms per additional 1,000 tokens), is the growing key-value-cache read cost. R²≈0.80 on raw per-token points. Fit to nine of the ten target lengths and used to predict the held-out length's total decode time, repeated leave-one-out for all ten: worst-case held-out error is 0.36% (at length 128).
The decode series feeding this fit excludes the first post-prefill token gap for every run, consistent with the prefill definition above — a per-token signal this small is sensitive to even one contaminated point per run, so that exclusion is what keeps the worst-case error at 0.36% rather than several times higher.