AI Engineer52 min
Your Self-Hosted LLM Needs to Say No - Harshul Jain & Parv Khatri, Audible & SAP
Harshul Jain, Parv Khatri, Pearl
Conference Presentation, Panel
Admission Control in LLM Inference: Key Insights and Implementation
Core Problem Definition
- Coding agents generate high-volume, bursty traffic (e.g., 40+ calls in 2 seconds for a single user request), overwhelming inference clusters designed for human chat patterns.
- Inference is stateful; a model cannot determine output length until the first token is generated, making memory commitment a long-term commitment from the moment a request is admitted.
- Three competing targets define system capacity: Quality, Latency, and Throughput; a system can optimize for only two simultaneously (e.g., Interactive chat prioritizes Quality + Latency; async agents prioritize Quality + Throughput).
Inference Architecture and Risks
- A standard inference pipeline consists of Client -> API Gateway (Rate Limiting) -> Router (Replica Selection) -> Inference Engine (Batching/KV Cache Management).
- The missing critical layer is "Admission Control," which must sit between the Gateway/Router and the Engine to decide whether to admit, defer, or reject requests before GPU memory is committed.
- Recent major outages highlight the necessity of this layer:
- OpenAI (Nov 2023): Routing servers ran out of memory due to heavy traffic, requiring traffic shedding.
- Anthropic (Jan 2026): Sonnet 4.5 became slow and returned errors after 90 minutes due to insufficient compute for demand.
- GPU memory usage grows continuously during decoding (KV Cache expansion); if memory fills, the engine must evict requests, swap to CPU, or crash, all of which violate Service Level Objectives (SLOs).
Admission Control Signals and Decisions
- The policy requires two views: Request context (input length, client ID, session ID, deadline) and Engine state (KV cache usage, queue depth, cache hit rate, replica load).
- Decision Outcomes:
- Admit (200 OK): Request enters the engine; GPU memory is committed; streaming begins.
- Defer (503 + Retry-After): Request is queued for a specific duration; requires client-side jitter to prevent thundering herd on retry.
- Reject (429/529):
- 429 Too Many Requests: Client-side issue (quota exceeded, too many in-flight calls).
- 529 Service Unavailable: System-side issue (all replicas saturated).
- Effective Signals: Policies must use "live" signals that change rapidly (e.g., queue depth) rather than minute-long averages, as agents send bursts every few seconds.
Policy Strategies and Trade-offs
- Admission Unit:
- Per-Request: Often leads to partial task execution and zero progress if dependencies are missing.
- Per-Session: Admits the entire agent session or rejects it, ensuring task completion but requiring accurate capacity estimation.
- Decision Mechanisms (Cost vs. Accuracy):
- Thresholds (e.g., Fluid Weight): Microsecond latency; compares single metric (e.g., KV usage) to a limit.
- Dual Gate (e.g., Concord): <100µs latency; requires two signals to agree (e.g., low KV usage AND high cache hit rate).
- Optimizers (e.g., QLM): ~5 seconds latency; solves a global planning problem across all queues.
- Formal Bounds (e.g., Chronos): Microsecond latency; mathematically guarantees deadlines are met.
- Benchmarking Tool (AdmitPerf):
- An open-source framework for building, benchmarking, and comparing admission policies against real engines (vLLM, SGLang) and workloads.
- Enforces that policies declare required signals at startup to prevent silent failures (e.g., a missing KV metric defaulting to "always admit").
- Admission Unit:
Benchmarking Methodology and Results
- Metric: "Good Put Under Admission" = (Requests meeting SLO) / (Total Requests Arrived); rejects count against the denominator to prevent artificial inflation of success rates.
- Test Parameters: Workloads must be replayed from real traces, ramping from 0.5x to 2.0x capacity to force rejection logic.
- Performance Data:
- In a small model test (2.5B params, A10 GPU) with 4-sequence capacity:
- No Admission: P95 Time-to-First-Token (TTFT) was ~2.5 seconds with high variance.
- With Admission (Queue depth policy): P95 TTFT dropped to ~1.0 second (2.5x improvement) with 63% admission rate.
- KV Cache pressure was negligible; Queue depth was the critical signal, demonstrating that "KV pressure" policies can fail to admit requests even when memory is abundant.
- In a small model test (2.5B params, A10 GPU) with 4-sequence capacity:
- Reproducibility: Results require disclosing 7 specific metrics: Load multiple, deadline setting, signal liveliness, sample size, rejection inclusion in denominator, hardware config, and baseline SLOs.
Forward-Looking Recommendations
- Teams hosting their own models must implement an ingress-layer admission policy to prevent GPU "burndown" caused by unbounded agent traffic.
- Existing research policies (like QLM or Chronos) do not perfectly fit coding agent workloads; teams should adapt the closest strategy (likely per-session admission with dual gates or thresholds) rather than adopting a single "off-the-shelf" solution.
- Clients must implement exponential backoff with jitter when receiving 429/503 errors to avoid cascading failures during recovery.