Schema.ai· vLLM
vLLM official site Log in
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 the PrometheusStatLogger publisher with V1 metrics, vllm:iteration_tokens_total is registered as a Prometheus histogram carrying the label names model_name and engine.
  • Its v0.23.0 registration declares 13 literal histogram bucket boundaries spanning 1.0 to 16384.0.
  • In v0.23.0 the metric observes one histogram sample per engine step equal to computed prompt tokens plus generated tokens.
  • That v0.23.0 sampling 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.0 it describes the distribution of batch/step work rather than acting as a cumulative token counter.
  • Accordingly, in v0.23.0 the 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

vLLM v0.23.0 v1 metrics loggers.py · vllm/v1/metrics/loggers.py:711-719