What is multi-tenant inference?

Multi-tenant inference is an inference setup in which several customers, business units or applications share the same model server and GPU resources, with each tenant's data, quota and, where needed, its own adapted model kept separate.

Unlike single-tenant deployment, which uses dedicated infrastructure and physical isolation per customer, multi-tenant inference shares hardware with software isolation. It is more efficient, but isolation failures can cause risks such as cross-tenant RAG leakage.

Topic
Inference and performance
Also known as
Multi-tenant serving

How multi-tenant inference works

  1. Requests carry a tenant identity; authentication and authorisation happen at tenant level.
  2. A shared base model is held once on the GPU; tenant-specific adaptations can be served as small adapters in the same batch.
  3. Token rate limits, priorities and quotas apply per tenant, with scheduling so one tenant's load does not affect others.
  4. Caches, logs and retrieved documents are separated by tenant.

In more detail

Timing side channels in a shared KV cache

Sharing an automatic KV prefix cache (such as RadixAttention or vLLM prefix caching) across tenants creates a timing side-channel: an attacker tenant can measure time-to-first-token (TTFT) differences to infer whether another tenant recently queried sensitive prompts or documents. Prefix cache keys should therefore be scoped by tenant identity or prefix sharing restricted to tenant-agnostic public system prompts.

Noisy neighbours and fair scheduling

In a shared continuous-batching queue, a tenant sending bursty or long-context requests can starve other tenants' KV cache blocks and degrade their tail latency, the 'noisy neighbor' problem. Production multi-tenant schedulers address this using fairness algorithms such as Virtual Token Counter (VTC) or deficit round-robin, plus per-tenant concurrency caps and prefill chunking.

Isolation layers: software, MIG and MPS

Software isolation via API gateways, separate vector namespaces and tenant-scoped caches suits internal business units, but stricter regulatory domains may require hardware partitioning. Technologies like NVIDIA Multi-Instance GPU (MIG) carve a physical GPU into isolated compute and memory slices with fault isolation, whereas Multi-Process Service (MPS) shares compute without strict memory-bandwidth or fault isolation.

Per-tenant chargeback and token metering

Enterprise multi-tenant platforms require granular token accounting, separating input tokens, cached prefix tokens, generated output tokens and GPU-seconds, per tenant for internal chargeback and capacity planning. Without attribution across both the inference engine and the retrieval pipeline, shared clusters suffer from misaligned incentives and unpredictable budget overruns.

Commonly confused terms

TermHow it differs
Multi-LoRA servingMulti-LoRA serving focuses specifically on batching multiple LoRA adapters over a shared base model; multi-tenant inference is broader and encompasses tenant-isolated authentication, rate limiting, fair scheduling, KV caches, logging and RAG indexes, even when all tenants use the exact same unadapted base model.
AutoscalingHorizontal auto-scaling adjusts replica count dynamically for aggregate traffic; multi-tenant inference determines how requests from multiple isolated tenants share and compete for resources within and across those replicas.

Why multi-tenant inference matters for on-premises AI

Multi-tenant inference raises utilisation by sharing in-house GPU investment across many units and applications. A 2023 system serving multiple low-rank adaptations on a shared GPU cluster kept one copy of the base model, ran different adaptations in the same batch and reached 12 times the throughput of existing systems while adding only 2 milliseconds of latency per token. The main risk is isolation: tenants' data must not mix in caches, memory or retrieval.

ON-PREMISES EXAMPLE

A holding company runs its group companies' assistants on one in-house inference cluster; each company uses its own adapter and document index, requests are separated by company identity and each token quota is tracked separately.

Common questions

Is multi-tenant inference secure?

Yes, if isolation is right. Identity, cache, logs and document access must be separated by tenant and tested regularly.

How does it differ from single-tenant deployment?

Single-tenant dedicates infrastructure per customer. Multi-tenant shares hardware with software isolation.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.