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

vllm:kv_cache_usage_perc

Gauge for KV-cache usage where 1 means 100 percent usage.

MetricPrometheusverified Sep 29

Version history

  • In v0.23.0, the only version covered here, vllm:kv_cache_usage_perc is exposed by the PrometheusStatLogger under V1 metrics as a point-in-time Prometheus gauge of KV-cache usage in which a value of 1 means fully used KV block capacity (100 percent).
  • In that same version its value is set directly from SchedulerStats.kv_cache_usage — observing scheduler-side KV-cache usage pressure — rather than being incremented from completed requests.
  • In v0.23.0 the gauge is registered with the label names model_name and engine.
  • In v0.23.0 it describes active used capacity and is not a counter of reusable cached prefixes or of completed work.
  • Accordingly, in v0.23.0 it should be read as a pressure signal alongside waiting and progress metrics, and cache effectiveness should not be inferred from it alone.

Identity

Prometheus type
gauge
Labels
model_nameengine
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:kv_cache_usage_perc is registered as a Prometheus gauge 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:519-527