Independent analysis by NHI Mgmt GroupSource article: ngrok, “Serving open-weight models at scale with vLLM” (November 5, 2026)

TL;DR: High-throughput LLM serving is constrained less by model quality than by decoding inefficiency, KV-cache pressure, and request scheduling overhead, according to ngrok, and vLLM addresses those limits with continuous batching, PagedAttention, and chunked prefill. GPU utilisation, not just model choice, becomes the governing factor for production inference economics.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on ngrok's blog post: High-throughput LLM serving is governed by decode-time inefficiency, KV-cache pressure, and batching strategy rather than by model quality alone.

Why it matters: IAM and AI security teams need to understand how inference infrastructure decisions shape availability, tenancy, and control boundaries around model-serving platforms.


Context

LLM serving is an infrastructure problem before it is a model problem: decoding happens token by token, GPU memory is consumed by KV cache state, and response latency rises when schedulers cannot keep enough work in flight. That makes production inference depend on memory allocation, batching policy, and request routing as much as on model selection.

For teams operating model-serving platforms, the security and governance question is not whether the model can answer, but whether the serving layer can sustain predictable throughput without starving requests or wasting GPU capacity. In environments that mix shared services, agent loops, and user-facing chat, poor serving design becomes an availability risk as well as an efficiency issue.


Key questions

Q: How does continuous batching improve LLM inference throughput?

A: Continuous batching improves LLM inference throughput by admitting new requests while other sequences are already decoding, so the GPU stays busy instead of waiting for each prompt to finish first. The scheduler interleaves prefill and decode work, usually in micro-batches, which raises utilisation and token throughput. The trade-off is more queueing and slightly less predictable per-request latency.

Q: Why does KV cache allocation limit model-serving concurrency?

A: KV cache allocation limits concurrency because each active sequence needs its own key-value state retained in GPU memory across decode steps. As more requests run, cache memory fills up before compute does, so the server must cap batch size, shorten context windows, or evict work. Fragmentation and long prompts make this constraint more acute.

Q: How should teams balance latency and throughput in LLM serving?

A: Teams balance latency and throughput by choosing a scheduler that matches the service objective: smaller batches and shorter queues reduce first-token and tail latency, while larger continuous batches improve tokens per second. The main controls are batch size, admission queue depth, context length limits, and GPU memory reserved for KV cache. Interactive workloads usually favour latency, offline workloads favour throughput.

Q: What is the best way to scale shared LLM endpoints across GPUs?

A: The best way to scale shared LLM endpoints across GPUs is to split the serving workload so prefill and decode can be parallelised without overcommitting KV cache or network links. Common patterns include tensor parallelism, pipeline parallelism, and request routing that keeps related sequence state on the same device group. Capacity planning must account for memory-bound decode, not just raw compute.


Technical breakdown

Why decode-time inference wastes GPU capacity

Inference for an LLM has two distinct phases. Prefill processes the prompt, while decode emits one token at a time and repeatedly revisits the model’s layers for each new token. That makes decode memory-bound and underutilises the GPU compared with larger matrix workloads. The result is not a model defect, but a serving characteristic: the hardware is available, yet the workload pattern prevents efficient use of it.

Practical implication: Size serving capacity around decode-heavy traffic patterns, not only around prompt volume or model parameter count.

How continuous batching keeps requests in flight

Continuous batching lets the scheduler admit new work as soon as a running request finishes a token, instead of waiting for an entire batch to drain. That keeps the GPU busier and reduces idle seats in the forward pass. Unlike static batching, it trades some scheduling complexity for better utilisation under variable-length responses, which is why it dominates production inference servers.

Practical implication: Use continuous batching where concurrency and throughput matter more than perfectly uniform response timing.

Why PagedAttention changes KV cache management

PagedAttention breaks each request’s KV cache into fixed-size blocks rather than reserving a worst-case slab of GPU memory up front. The scheduler and cache manager track those blocks with block tables, so a request can grow its cache incrementally as it generates tokens. That reduces internal fragmentation and allows more concurrent requests to fit into the same memory footprint.

Practical implication: Adopt block-based KV allocation when cache overcommitment is constraining batch size or concurrency.


Threat narrative

Attacker objective: The objective is service degradation through resource exhaustion rather than payload execution or data theft.

  1. Entry occurs when a client request reaches the inference endpoint and enters the scheduler queue.
  2. Escalation happens when the serving layer over-allocates KV cache or leaves decode slots idle, reducing the number of requests that can make progress.
  3. Impact is a degraded inference service with lower throughput, higher latency, and wasted GPU capacity under load.
  • DeepSeek database exposure 2025: An unauthenticated DeepSeek ClickHouse database exposed over a million log lines with plaintext chat history and API keys in 2025.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Inference governance starts with serving efficiency, not model capability. LLM deployments often fail at the layer that schedules, caches, and routes requests, not at the layer that generates tokens. When serving design is weak, availability and cost become the dominant risk variables. Practitioners should treat throughput engineering as part of control design, not as a post-deployment optimisation task.

KV cache management is an identity-adjacent control problem for shared AI services. The serving layer decides which request gets memory, when it gets it, and how long that state persists. In multi-tenant environments, that allocation logic becomes a governance boundary because poor cache discipline can create noisy-neighbour effects and unpredictable service behaviour. Security and platform teams should treat cache allocation as a governed resource rather than an implementation detail.

Continuous batching creates a new operational expectation for AI platforms. Instead of waiting for a batch to drain, the scheduler must continuously re-evaluate which requests can progress without starving longer prompts. That changes how teams should think about peak load, fairness, and priority handling. The practical conclusion is that inference platforms need explicit policy around throughput, not just autoscaling.

PagedAttention is a memory-efficiency concept with direct governance value. By allocating cache in small blocks, it reduces wasted GPU memory and increases the number of requests that can share a device. That matters because memory waste in inference is not just a performance issue. It determines whether the platform can absorb spikes without falling back to queueing and degraded response times.

From our research library:

What this signals

Throughput engineering is becoming a governance issue for AI platforms. Once teams run user-facing chat, agent loops, and scheduled inference together, the scheduler becomes the control point that determines whether the platform remains usable under peak load. That pushes platform owners to define policy for fairness, queueing, and priority rather than leaving those choices to defaults.

Memory fragmentation now determines whether AI services scale predictably. When KV cache is over-allocated, concurrency drops even before compute is exhausted. Teams that treat GPU memory as an elastic pool without block-level accounting will see avoidable latency spikes and wasted capacity.

Operationally, the next question is not whether an LLM can answer, but whether the serving stack can sustain the answer rate your programme needs. That is where routing, cache placement, and scheduler tuning become part of service resilience rather than pure performance engineering.


For practitioners

  • Define throughput targets for inference tiers Set separate performance targets for interactive chat, agentic loops, and scheduled jobs so schedulers can be tuned to actual latency tolerance.
  • Tune token budgets for mixed workloads Balance decode fairness against long-prompt latency by adjusting the scheduler’s token budget for the traffic shape you actually serve.
  • Enable cache-aware routing for multi-copy deployments Route repeat traffic to the copy most likely to hold the relevant prefix cache so repeated prompts do not lose the benefit of cached context.
  • Review KV cache allocation assumptions Check whether your serving stack reserves worst-case memory per request or allocates cache incrementally, then measure the concurrency impact.

Key takeaways

  • LLM serving bottlenecks come from decode behaviour, KV cache growth, and scheduler design more than from model quality alone.
  • Serving stacks that over-allocate memory or drain batches too slowly lose concurrency even when GPUs still have spare compute.
  • The practical fix is to govern throughput with continuous batching, block-based cache management, and workload-specific scheduler tuning.

Related NHI Mgmt Group resources: Running LLMs Locally Explained · Securing AI Model Weights · Self-Hosted LLM Security Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsShared inference platforms need governed request admission and resource allocation, which this serving model makes explicit.
PR.PS-01 — Service ProvisioningThe article is about how model-serving platforms provision work across GPU resources and queues.
Recommendation — Define entitlement and admission policies for AI serving capacity so request allocation stays predictable under load. Configure serving tiers so workload provisioning matches latency and throughput requirements.
CIS Controls v8CIS-12 — Network Infrastructure ManagementProduction inference depends on routing, segmentation, and capacity management across serving nodes.
Recommendation — Manage serving infrastructure centrally so request routing and capacity changes stay controlled and observable.
MITRE ATT&CKTA0040 — ImpactResource exhaustion and degraded service are the primary failure modes described for overloaded inference stacks.
Recommendation — Map inference bottlenecks to impact scenarios and monitor for throughput degradation as an availability risk.

Key terms

  • Continuous Batching: Continuous Batching is an inference serving method that keeps adding new requests to a running batch instead of waiting for the whole batch to finish. As individual sequences complete, the scheduler replaces them with new ones, which improves throughput and keeps accelerator hardware better utilised during generative model serving.
  • Chunked Prefill: Chunked prefill is an inference optimisation for large language models that splits the prompt processing phase into smaller chunks. It lets the model start computing attention and building the KV cache before the whole prompt is loaded, which can reduce memory pressure and improve throughput on long inputs.
  • Decode Phase: Decode Phase is the token-by-token generation stage of LLM inference after the prompt has been processed. The model uses the stored KV cache to predict each next token, so this phase is typically latency-sensitive and constrained by memory bandwidth and cache size.
  • PagedAttention: PagedAttention is an attention memory management technique for large language model inference. It stores key and value cache blocks in fixed-size pages rather than one contiguous buffer, so sequences can grow, shrink, and share memory more efficiently during decoding. That helps runtime systems reduce fragmentation and reclaim cache space faster.

Deepen your knowledge

NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. Explore nhimg.org for resources that connect identity governance to the broader security disciplines your programme depends on.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org