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_secondsis registered as a Prometheus histogram with the label namesmodel_nameandengineunderthePrometheusStatLoggerV1metricspublisher. - Its registration in
v0.23.0declares 22 literal histogram bucket boundaries spanning 0.001 to 2560.0. - In
v0.23.0it 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.0follows 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 withrequest_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