Schema.ai· vLLM
vLLM official site Log in
All versions · Version range: v0.23.0

vllm:time_to_first_token_seconds

Histogram of time to first token in seconds.

MetricPrometheusverified Sep 29

Version history

  • In vLLM v0.23.0, vllm:time_to_first_token_seconds is registered as a Prometheus histogram with the label names model_name and engine under the PrometheusStatLogger V1 metrics publisher.
  • Its registration in v0.23.0 declares 22 literal histogram bucket boundaries spanning 0.001 to 2560.0.
  • In v0.23.0 it observes the elapsed seconds from request arrival to the first produced token, recording an observation when iteration processing identifies the request as prefilling/producing that first token.
  • Because its count in v0.23.0 follows first-token events, it need not equal a finished-request counter across abort and error paths, so quantiles should use matched labels and windows and lifecycle population should be reconciled before comparing the count with request_success.

Identity

Prometheus type
histogram
Labels
model_nameengine
Buckets
22 boundaries · 0.001 → 2560
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 (2)

Availability

vllm:time_to_first_token_seconds 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:754-785