All versions · Version range: v0.23.0
vllm:iteration_tokens_total
Histogram of the number of tokens per engine step.
MetricPrometheusverified Sep 29
Version history
- In vLLM
v0.23.0, under thePrometheusStatLoggerpublisher withV1metrics,vllm:iteration_tokens_totalis registered as a Prometheus histogram carrying the label namesmodel_nameandengine. - Its
v0.23.0registration declares 13 literal histogram bucket boundaries spanning 1.0 to 16384.0. - In
v0.23.0the metric observes one histogram sample per engine step equal to computed prompt tokens plus generated tokens. - That
v0.23.0sampling is driven by iteration-level work, with the metric populated after each IterationStats update. - Despite the word total in its declared name, in
v0.23.0it describes the distribution of batch/step work rather than acting as a cumulative token counter. - Accordingly, in
v0.23.0the recommended use is to inspect batching through its distribution and not to calculate token throughput from bucket counts without elapsed-time counters.
Identity
- Prometheus type
- histogram
- Labels
- model_nameengine
- Buckets
- 13 boundaries · 1 → 16384
- Unit
- Not recorded — vLLM registration code has no structured unit field, and units are not inferred from name suffixes
Semantic coverage
covered · Availability & namecovered · Structural identitycovered · Measurement semanticscovered · Causal/runtime semanticscovered · Interpretation & compositioncovered · Guarded guidance
Metric knowledge (7)
Related Use Cases (1)
Availability
vllm:iteration_tokens_total is registered as a Prometheus histogram in vLLM v0.23.0.vllm.surface.prometheus_metricscomplete_inventoryPrometheusStatLogger metrics publisher