Skip to main content
This page lists every metric the Baseten metrics export endpoint exposes, with each metric’s name, type, and labels. Baseten serves these metrics in Prometheus format at https://app.baseten.co/metrics. For the endpoint URL, authentication, scrape interval, and supported integrations (Prometheus, Datadog, Grafana, New Relic), see the export overview.

How to read this page

Each metric is listed by its Prometheus name, with:
  • Type: counter (a cumulative total that only increases), gauge (a point-in-time value), or histogram (a distribution you can compute percentiles from).
  • Labels: the dimensions you can filter and group by. Common labels are model_id, model_name, and deployment_id; environment and rollout_phase appear only for deployments tied to an environment. Some metrics, such as the engine metrics, use a smaller label set.
These are the same measurements shown in the dashboard Metrics tab, exposed here for export. The two sets overlap but aren’t identical: a few values are graphed in the dashboard without being exportable, and some exported metrics aren’t graphed.

Labels for chain deployments

For a chain deployment, each chainlet’s metrics carry the chain’s identity instead of a model identity. The following labels replace model_id, model_name, and deployment_id:
  • chain_id: the ID of the chain.
  • chain_name: the name of the chain.
  • chain_deployment_id: the ID of the chain deployment.
  • chainlet_id: the ID of the chainlet. This replaces deployment_id.
  • chainlet_name: the name of the chainlet.
The ID labels are the same ones in the chain’s dashboard URLs, so you can tie a metric series to the chainlet you see in the app. environment and rollout_phase reflect the chain deployment’s environment and promotion state. All other labels on a metric are unchanged.
These labels are available by request. Contact us to enable them for your organization.

Availability

Some metrics are emitted only for certain deployments:
  • BIS-LLM metrics (baseten_llm_*) appear for each BIS-LLM deployment. See BIS-LLM metrics.
  • vLLM and SGLang metrics appear when Baseten detects that engine on your deployment. See vLLM and SGLang metrics.
  • Model API metrics (baseten_model_api_*) appear for Model APIs endpoints your workspace has called in the last 48 hours. See Model API metrics.
  • Pod health metrics (baseten_container_restarts_total and baseten_pod_readiness) roll out behind a feature flag. Contact your account team if they aren’t yet visible for your organization.

baseten_inference_requests_total

Cumulative number of responses from the model. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The status code of the response.
label
required
Whether the request was an async inference request.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_incoming_inference_requests_total

Cumulative number of requests arriving at your deployment, before they’re routed to the model. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
Always "false". An async inference request counts once when it arrives, and the queue’s later dispatch to the model isn’t counted again.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_end_to_end_response_time_seconds

End-to-end response time in seconds. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The status code of the response.
label
required
Whether the request was an async inference request.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_container_cpu_usage_seconds_total

Cumulative CPU time consumed by the container in core-seconds. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The ID of the replica.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_replicas_desired

Number of replicas the autoscaler is targeting at the current concurrent request volume. Stays within the deployment’s min_replica and max_replica range. BIS-LLM deployments target in-flight tokens instead. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_replicas_active

Number of replicas ready to serve model requests. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_replicas_starting

Number of replicas starting up—that is, either waiting for resources to be available or loading the model. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_container_restarts_total

Cumulative number of times the model container has been restarted. Restarts are typically caused by application crashes, out-of-memory kills, or failed liveness probes. See custom health checks for how liveness affects restart behavior. Type: counter
This metric rolls out behind a feature flag. Contact your account team if it’s not yet visible for your organization.
Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_pod_readiness

Number of pods grouped by their Kubernetes Ready condition. A pod with condition="true" is serving traffic; condition="false" means the pod is starting up, failing its readiness probe, or shutting down. Type: gauge
This metric rolls out behind a feature flag. Contact your account team if it’s not yet visible for your organization.
Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The Kubernetes Ready condition for the pods in this sample.Possible values:
  • "true": Pods are ready and serving traffic.
  • "false": Pods are starting up, failing readiness probes, or shutting down.
  • "unknown": The Ready condition can’t be determined (for example, the kubelet hasn’t reported recently).
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_container_cpu_memory_working_set_bytes

Working set memory usage of the container in bytes. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The ID of the replica.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_request_size_bytes

Request size in bytes. Proxy for input tokens. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The status code of the response.
label
required
Whether the request was an async inference request.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_response_size_bytes

Response size in bytes. Proxy for generated tokens. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The status code of the response.
label
required
Whether the request was an async inference request.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_time_to_first_byte_seconds

Time to first byte/write in seconds. Proxy for time-to-first-token (TTFT). Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The status code of the response.
label
required
Whether the request was an async inference request.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_time_in_async_queue_seconds

Time async requests spend queued before processing. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_async_queue_size

Number of queued async requests over time. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_async_webhook_requests_total

Cumulative number of async inference webhook delivery requests sent. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_async_webhook_latency_seconds

Latency of async inference webhook delivery requests in seconds. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_gpu_memory_used

GPU memory used in MiB. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The ID of the replica.
label
required
The ID of the GPU.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_gpu_utilization

GPU utilization as a ratio (between 0 and 1). Reported for Hopper-architecture GPUs and newer; on older GPUs, use baseten_gpu_utilization_legacy, which reports a percentage (between 0 and 100). Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
The ID of the replica.
label
required
The ID of the GPU.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_ongoing_websocket_connections

Number of ongoing websocket connections. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_concurrent_requests

Total in-flight inference requests for a deployment, including both requests currently being serviced by replicas and requests waiting to be processed. Async inference requests are not included in this metric. This is the primary signal that drives autoscaling decisions. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

BIS-LLM metrics

BIS-LLM deployments export engine-level and autoscaler metrics with the baseten_llm_* prefix, alongside the standard platform metrics above.

baseten_llm_input_tokens_total

Total number of input tokens processed. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_output_tokens_total

Total number of output tokens generated. Type: counter Dashboard equivalent: output_tokens Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_input_tokens_per_request

Distribution of input tokens per request. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_output_tokens_per_request

Distribution of output tokens per request. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_tokens_per_second_per_request

Distribution of output tokens per second per request. Each request that generates output tokens contributes one sample: its output token count divided by its full processing time, including time to first token. See LLM token speed for how this differs from decode speed and aggregate token throughput. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_time_per_output_token_seconds

Distribution of the time in seconds between consecutive output tokens on a stream, after the first token. Each streamed output chunk after the first contributes one sample. See LLM token speed for how decode speed differs from tokens per second per request and aggregate token throughput, and for how to compute decode tokens per second from this histogram. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_kv_cache_hit_rate

Distribution of KV cache hit rates observed by workers. Values are between 0 and 1. Type: histogram Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_spec_decode_num_accepted_tokens_total

Total number of accepted tokens from speculative decoding. Only present when speculative decoding is active on the deployment. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_spec_decode_num_draft_tokens_total

Total number of draft tokens generated by speculative decoding. Only present when speculative decoding is active on the deployment. Type: counter Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_in_flight_tokens

Instantaneous number of in-flight tokens across the deployment, including worker load and router-queued tokens. Type: gauge Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_avg_in_flight_tokens

Trailing average of in-flight tokens over the deployment’s autoscaling_window. Type: gauge Dashboard equivalent: autoscaler_avg_in_flight_tokens Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

baseten_llm_num_requests

Instantaneous number of concurrent in-flight requests across BIS-LLM workers. Type: gauge Dashboard equivalent: concurrent_requests Labels:
label
required
The ID of the model.
label
required
The name of the model.
label
required
The ID of the deployment.
label
required
A hashed identifier for the source pod. Use this label to distinguish per-pod series within a deployment without exposing raw pod names.
label
The environment that the deployment corresponds to. Empty if the deployment is not associated with an environment.
label
The phase of the deployment in the promote to production process. Empty if the deployment is not associated with an environment.Possible values:
  • "promoting"
  • "stable"

vLLM and SGLang metrics

When Baseten detects vLLM or SGLang on your deployment, it scrapes your container’s /metrics endpoint and exports the engine’s native metrics alongside Baseten’s own. These also appear as graphs in the Metrics tab. The engines define these metrics, not Baseten, and they change between versions. For the complete, current list, always refer to the official vLLM and SGLang metrics documentation. Baseten normalizes these metrics across engine versions and exports the most useful ones. Some exported metrics include tokens per second, time to first token, KV cache usage, and the number of requests running or queued. Baseten attaches the same two labels to every exported engine metric:
label
required
The ID of the deployment.
label
required
The ID of the replica.

Model API metrics

Model APIs endpoints are shared: you call them rather than run your own replicas, so they export request and token metrics instead of replica and hardware metrics. These are the same measurements behind the endpoint’s Metrics tab. A series appears only for endpoints your workspace has called in the last 48 hours. If you set up scraping before the first call to an endpoint, the series shows up after the first request. Every Model API metric carries these labels:
label
required
The model slug of the endpoint, for example zai-org/GLM-5.2.
label
required
The service tier the request was served under. "default" for all current Model APIs traffic.
label
required
A randomized identifier for the source pod. Use this label to distinguish per-pod series without exposing raw pod names.
label
Present when the request came in through a Frontier Gateway federated key. The value is the group’s external entity ID, so you can attribute usage and rate limiting to a specific customer key.
label
Present in a lab’s export for its listed endpoints. The value is the name of the customer organization that made the call, so the lab can attribute usage per customer.

baseten_model_api_inference_requests_total

Cumulative number of requests to a Model API endpoint, counted when the response completes. Type: counter Labels: the shared labels above, plus:
label
required
The HTTP status code of the response. Filter to "429" to watch requests rejected by rate limits.

baseten_model_api_incoming_inference_requests_total

Cumulative number of requests arriving at a Model API endpoint, counted on arrival. Type: counter Labels: the shared labels above. This metric is recorded before the response exists, so it carries no status_code. Compare it against baseten_model_api_inference_requests_total to surface requests that arrived but never produced a response.

baseten_model_api_tokens_total

Cumulative number of tokens processed by a Model API endpoint. Type: counter Labels: the shared labels above, plus:
label
required
The kind of token counted.Possible values:
  • "uncached_input"
  • "cached_input": served from the KV cache at a discounted rate
  • "output"