# Your Self-Hosted LLM Needs to Say No - Harshul Jain & Parv Khatri, Audible & SAP <!-- ref: @content/youtube/aie/your-self-hosted-llm-needs-to-say-no-harshul-jain-parv-khatri-audible-sap tags: [admission control, LLM inference, KV cache, rate limiting, load shedding, benchmarking, self-hosted inference, agent traffic] version: 2 updated_at: 2026-11-24T05:15:57.979Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=ntVpbyDTYaQ)** # Your Self-Hosted LLM Needs to Say No - Harshul Jain & Parv Khatri, Audible & SAP *Synthesized from Harshul Jain and Parv Khatri's talk on AI Engineer, 2026-11-09.* Harshul Jain, a senior software engineer at Audible who manages part of its ML/AI infrastructure and maintains the open-source agentship framework, co-presents with Parv Khatri, a senior software developer at SAP who works on cloud applications and LLM tooling. The talk is a rough machine transcript, so some names in the source are misspelled and the titles above are used. ## Core Thesis The speakers argue that a self-hosted LLM cluster needs admission control: a decision, made before a request reaches GPU memory, about whether to accept, postpone or reject it. Agent traffic (bursts of tool calls, retries and cancellations) can overload a cluster, and a request accepted too early holds KV-cache memory until it finishes, hurting latency targets for everyone. They also argue that admission policies must be tested with a metric that counts rejected requests, or they will look better than they are. ## Key Insights - **Where the pipeline breaks.** A request passes the application or agent, an API gateway (keys and request counts), a router (replica choice), and an inference engine such as vLLM, SGLang or TensorRT. The engine batches requests and keeps a KV cache per request that grows with each generated token, and it cannot know the output length in advance. - **Two public incidents.** The speakers cite an OpenAI incident on 8 November 2023, where routing servers ran out of memory under heavy traffic, and an Anthropic incident on 21 January 2026, where a Sonnet 4.5-level model slowed and then errored within 90 minutes for lack of compute. Their reading: both needed earlier load shedding and faster capacity detection. - **Three answers at the front door.** Accept returns a 200 and commits KV memory for the whole request. Postpone returns a 503 with a Retry-After header. Reject returns a 429 when one caller exceeds its share and a 529 when the whole pool is busy. - **Placement.** The policy can sit at the entrance (a proxy or gateway, with the engine unchanged), inside the engine's queue scheduler, or during decoding. The last two need a forked and maintained copy of the engine, so the entrance is the practical choice. - **Choosing a policy.** Four choices: the unit (single request, agent session or tenant), the signal (KV pressure, queue depth, deadline slack, predicted output length), the rule (threshold up to optimizer), and the action. Accepting whole agent sessions avoids the case where many calls start and none finish. They say the four published policies they compare each fit only part of a coding-agent workload. - **Useful performance metric.** The proposed measure is requests meeting the latency SLO divided by all requests received, including rejected ones. Without the rejected requests in the denominator, rejecting 95% of traffic and serving the rest perfectly would score 100%. - **Example run.** On a half-billion-parameter model on an A10 GPU, limited to four sequences, a queue policy that allowed two pending requests accepted 63% of requests and cut P95 time-to-first-token from about 2.5 s to about 1 s. In that run KV usage peaked at 0.5%, so a KV-pressure policy would never have triggered; queue depth reached 24. The signal has to match the actual bottleneck. - **Admit toolkit.** The speakers released Admit, a library placed in front of vLLM or SGLang plus a benchmark harness. Policies must declare the signal they read and fail loudly if it is missing, each decision is logged, and a dummy engine allows testing without a GPU. ## Actionable Takeaways 1. Decide admission before a request reaches GPU memory. Treat a 200 as a promise to start, not to finish, and start the time-to-first-token timer when the first token arrives. 2. On the client, honour Retry-After with random jitter and exponential backoff, and close connections you abandon, because the server frees KV cache only on completion or disconnect. 3. Respond differently to 429 (reduce your own concurrency) and 529 (wait longer, switch provider, or defer the task). 4. Prefer signals that change every second, such as queue depth or KV usage, over one-minute averages, since 40 calls can arrive in two seconds. 5. Benchmark with rejected requests in the denominator, replay agent retry patterns rather than uniform arrivals, sweep load from half to double measured capacity, and report repeat counts and the full configuration. ## Notable Quotes > "In short, 200 is a promise to start, not a promise to finish, right?" — speaker not labeled in the transcript (Harshul Jain or Parv Khatri) --- *Related: `@content/youtube/nate-herk/i-tested-jev-on-12-real-use-cases-my-honest-thoughts` · `@content/youtube/aie/kv-cache-aware-routing-and-p-d-disaggregation-on-kubernetes-yuchen-fama-ashish-kamra` · `@content/youtube/nate-herk/i-tested-astra-6-2-vs-fable-5-2-what-you-need-to-know` · `@content/youtube/latent-space/the-2026-software-factory-infra-stack-zach-lloyd-warp-dev` · `@content/youtube/sequoia/memory-and-continual-learning-engrams-dan-biderman-and-jessy-lin`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*