LLM Inference Observability: The Metrics, Dashboards and Alerts You Need in Production
GPU utilization tells you the hardware is busy. It doesn't tell you whether your users are waiting, your queue is growing, or your costs are drifting. Here's what to measure instead.
Most teams discover they need inference observability the hard way. The service passes a load test, launches, and works — until one afternoon responses crawl, a dashboard full of green CPU and GPU graphs insists everything is fine, and nobody can say whether the problem is the model, the queue, the context length, or a client retrying in a loop.
Traditional service monitoring doesn't transfer cleanly to LLM inference. A web request takes milliseconds and returns a fixed payload; an inference request can run for half a minute, stream its output token by token, and consume wildly different resources depending on how much text goes in and comes out. Observability for inference has to reflect that shape.
This guide covers the metrics worth collecting, the dashboards worth building, and the alerts that fire when something is actually wrong — not just when a graph looks unusual.
Why GPU utilization isn't enough
GPU utilization is the first chart everyone builds and the least informative one on the board.
A GPU at 95% utilization might be efficiently serving a large batch of requests — or struggling through one pathological request with an enormous context. A GPU at 40% might be wasting money — or delivering excellent latency with headroom for a traffic spike. The number alone doesn't distinguish healthy from broken.
Worse, utilization says nothing about what users experience. Requests can queue for seconds before ever reaching the GPU, and no device-level metric will show it. To understand an inference service, you need to measure three different things, separately:
- What users experience — how long they wait, how fast text arrives, how often requests fail.
- What the system is doing — queue depth, batch sizes, memory pressure, request lifecycle.
- What it costs — tokens processed, broken down by model, endpoint, and customer.
The metrics that matter
User-facing latency
Time to First Token (TTFT). The time from receiving a request to emitting the first output token. For chat and other interactive products, this is the number that decides whether the feature feels fast: it's how long the user stares at a blank screen. TTFT includes queue time plus the prefill phase, where the model processes the entire input prompt. Long prompts raise TTFT even on an idle system.
Time per Output Token (TPOT). The average time between tokens once generation has started — the streaming speed the user perceives. As an illustrative rule of thumb — not a published benchmark — many teams target a TPOT of roughly 100ms or less, on the intuition that text arriving at several tokens per second stays comfortably ahead of reading speed. Validate the threshold against your own product and users.
End-to-end latency. Total request duration. Still worth tracking for timeouts, non-streaming API consumers, and batch jobs — but for streaming products, TTFT and TPOT are what users actually feel.
Track all of these as percentiles — P50, P95, P99 — never averages. Inference latency distributions have long tails: a single request with a very long context can take many times longer than the median (the exact ratio depends on your model and hardware), and an average will smear that into invisibility. Your P50 tells you what a typical user sees; your P99 tells you what your angriest user sees.
Traffic and saturation
Request rate, by model and endpoint. The baseline for interpreting everything else.
Queue depth and queue time. How many requests are waiting for capacity, and how long they wait. This is the single most important leading indicator in an inference system: queues grow before latency degrades, and queue time is the difference between "the model is slow" and "the model is fine but overloaded" — two problems with completely different fixes.
Concurrency and batch size. How many requests are being processed simultaneously, and how effectively the serving engine is batching them. A falling average batch size at constant traffic often signals memory pressure.
Token counts. Input tokens and output tokens per request, as distributions. Token volume — not request count — is what drives both load and cost. A thousand short completions and a thousand long-context conversations are entirely different workloads at the same request rate.
Resource health
GPU memory utilization — split into components (model weights, KV cache, activations) if your engine exposes them; otherwise rely on KV cache utilization. Note that some engines, such as vLLM, pre-allocate GPU memory up front, so aggregate device memory will look constant and per-component breakdowns may not be available. The distinction that matters is between "the model barely fits" and "long conversations are consuming the cache" — KV cache utilization captures it.
KV cache utilization. Every token in every active conversation occupies GPU memory for as long as that request is being processed. As cache utilization approaches its limit, serving engines respond by shrinking batches, evicting and recomputing cache entries, or rejecting requests — all of which degrade latency before anything visibly "fails." If you track only one resource metric beyond memory, make it this one.
Failure rates, split by cause. Out-of-memory errors, timeouts, context-length-exceeded rejections, rate-limit rejections (429s), and upstream errors are different problems. A single aggregated "error rate" forces you to query logs to learn which one you have.
Cost
Token throughput per GPU-hour, by model. This converts directly into cost per million tokens and is the number that tells you whether an optimization — quantization, batching changes, a different GPU — actually paid off.
Token usage by model, endpoint, and customer or tenant. Cost drift in inference is rarely dramatic. It creeps: a prompt template gains a few hundred tokens, a feature starts sending longer histories, one customer's usage pattern shifts. Attribution is what lets you catch it early and answer "why did last week cost 30% more?" with data instead of archaeology.
Separating model latency from queueing latency
This deserves its own section because it's the most common diagnostic mistake in production inference.
When latency rises, decompose every request's lifetime into stages:
total latency = queue time + prefill time + generation time
- Queue time is rising, prefill and generation are stable. The model is fine; you're out of capacity. Fix: scale out, shed load, or admit fewer concurrent requests.
- Prefill time is rising. Inputs are getting longer — check input token distributions. Fix: trim prompts, summarize histories, cap context.
- Generation time per token is rising. Memory pressure, shrinking batches, or interference between requests. Check KV cache utilization and batch size. Fix: more memory headroom, shorter output caps, or workload isolation.
Adding GPUs fixes the first problem. It does very little for the second and third. Teams that only track end-to-end latency routinely scale hardware to solve a prompt-length problem — an expensive way to not fix anything.
The dashboards worth building
Resist one giant dashboard. Three focused views cover the needs of different audiences:
1. Service overview — "are users okay?"
Request rate, TTFT (P50/P95/P99), TPOT (P50/P95/P99), error rate by type, and requests currently queued. This is the on-call page. If everything here is green, latency and availability are likely healthy; output quality needs its own checks.
2. Capacity and saturation — "do we have headroom?"
Queue depth and queue time, concurrency, batch size, GPU memory by component, KV cache utilization, and token throughput — per model and per replica. This view answers scaling decisions and explains why the service overview went red.
3. Cost and usage — "where is the money going?"
Input and output token volume over time, broken down by model, endpoint, and tenant; tokens per GPU-hour; and the input-token distribution (watch its median creep upward — that's prompt bloat happening in real time).
On every latency panel, plot percentiles as separate series. A P99 line pulling away from a flat P50 is the signature of tail-latency trouble — long-context requests, cache pressure, or a single bad replica — and it's invisible in any single-line chart.
Alerts that mean something
The goal of alerting is a short list of pages, each of which reliably means "a human should look now." For inference, that list is:
Set thresholds from your own SLOs and baseline data, not borrowed numbers.
Equally important — don't page on: GPU utilization (high is normal, low might be fine), single slow requests (tails are inherent to the workload), or any raw infrastructure metric that doesn't map to user experience or cost. Every alert that fires without requiring action trains the on-call rotation to ignore the pager.
A sample SLO for a real-time chat API
- TTFT: P95 under 1.5 seconds, measured over 30 days
- TPOT: P95 under 100ms
- Availability: 99.9% of requests complete without server-side error
- Error budget alerting on burn rate, not instantaneous spikes
Adjust to your product. A code assistant inside an IDE needs a much tighter TTFT than an email-drafting feature; a batch summarization pipeline may not care about TTFT at all and should be judged on throughput and cost alone.
Recognizing the classic failure patterns
Five patterns are worth learning first. Learn their signatures and diagnosis gets dramatically faster:
GPU out of memory. OOM errors climb; batch size drops as the engine defends itself; latency rises for everyone. Usual cause: a shift toward longer contexts, or concurrency creeping past what memory supports.
Context creep. No deploy, no traffic spike — but TTFT and cost drift upward over weeks. The input-token median tells the story: conversations, histories, or prompt templates have quietly grown.
Queue spiral. Traffic exceeds capacity; queues grow; clients time out and retry; retries add load; queues grow faster. The signature is queue depth rising faster than request rate. The fix is admission control and client backoff — adding capacity mid-spiral often just feeds the retries.
Cold start lag. After scale-up, latency stays poor because new replicas spend minutes loading tens of gigabytes of weights before serving a single token. If scale-up events correlate with latency spikes rather than relief, measure replica ready-time and consider warm pools.
Post-change regression. Tokens per GPU-hour drops after a model update, quantization change, or driver upgrade. Nothing errors; everything is just quietly slower and more expensive. Only caught if you track throughput per replica across deploys.
A production readiness checklist
Before calling an inference service production-ready:
- ☐ TTFT, TPOT, and end-to-end latency tracked as P50/P95/P99
- ☐ Queue time measured separately from model execution time
- ☐ Input and output token distributions per model and endpoint
- ☐ GPU memory and KV cache utilization visible per replica
- ☐ Errors categorized by cause, not aggregated
- ☐ Token usage attributed to model, endpoint, and tenant
- ☐ Alerts tied to SLOs, with sustained-window thresholds
- ☐ Throughput per replica compared across deploys
- ☐ Load test re-run after every model or serving-engine change
- ☐ An incident runbook mapping each failure pattern above to first diagnostic steps
The takeaway
LLM inference observability comes down to three questions, answered continuously: are users waiting, is the system saturating, and where is the money going? GPU utilization answers none of them. Percentile latencies split into queue, prefill, and generation time; KV cache and queue depth as leading indicators; and token-level cost attribution answer all three.
Instrument the service before the first incident, not after — the difference is an hour of diagnosis versus a day of guesswork.
Running inference on Nebula Block? Pair your serving metrics with per-GPU utilization and cost data from your deployment to close the loop between performance and spend.
Learn more at
- Email: contact@nebulablock.com
- Website: nebulablock.com
- Docs: docs.nebulablock.com
- Book a call: nebulablock.com/contact