Home / Architecture / Sovereign AI
Architecture Blueprint

Sovereign On-Premise AI & Local LLM Cluster.

Enterprise reference design for air-gapped GPU compute nodes, high-speed vector storage, vLLM inference orchestration, LiteLLM governance proxy, and role-based client consumption.

AI Architecture
REFERENCE ARCHITECTURE

Designed as a private, air-gapped intelligence fortress.

This topology details how enterprise GPU acceleration, model serving, vector databases, and identity governance integrate inside an air-gapped data center.

Internal Users Open WebUI / IDEs LiteLLM Gateway Auth, PII & Rate Limits Entra ID / LDAP SSO Qdrant Vector DB Encrypted Internal RAG vLLM Inference Cluster PagedAttention Engine GPU Compute Nodes (NVIDIA Ada / Tensor Fabric) Dual 100GbE RDMA Interconnect • High-Bandwidth NVMe RAID

Absolute Data Isolation

Model weights and prompt telemetry are confined strictly to internal memory and dedicated NVMe arrays.

Local network latency

Requests travel over your internal 10G/40G network instead of the public internet, so response time depends on your hardware and model size, not on an external provider.

Zero Token Cost Inflation

Flat, amortized infrastructure operational costs regardless of millions of internal daily tokens generated.

Design goals

The problem this architecture solves.

Teams want AI assistants that can answer questions from internal documents, contracts and tickets, but sending that data to a public AI API is not acceptable under client confidentiality terms or the DPDP Act 2023. A private cluster keeps prompts, documents and model weights inside your own data centre, with the same access control and audit trail as any other business system.

  • Prompts, retrieved documents and responses never leave infrastructure you control.
  • Access through single sign-on, with role-based permissions, usage quotas and a full audit log.
  • Retrieval respects document permissions: users only get answers from content they are allowed to read.
  • Predictable cost that does not grow with every token, and GPU capacity that is actually used.
Traffic flow

How a request moves through the design.

  1. 1

    User & Application Access via Single Sign-On

    Employees use an internal chat interface or an application integration. Every request carries an identity from Entra ID or Active Directory through OIDC or SAML single sign-on.

    OIDC / SAML 2.0HTTPS (TLS 1.3)Internal DNS

    If something fails: Redundant identity providers and cached sessions keep users signed in through a short directory outage.

  2. 2

    Governance Gateway: Authorisation, Quotas & Routing

    The LiteLLM gateway checks the caller's team key and role, applies rate limits and token quotas, routes the request to the approved model, and writes an audit record.

    OpenAI-compatible REST APIPer-team API keysRequest logging

    If something fails: Two or more gateway instances run active-active behind an internal load balancer.

  3. 3

    Permission-Aware Retrieval from the Vector Store

    For document questions, the query is embedded and matched against the vector store. Results are filtered by the source permissions stored with each chunk, so users only receive passages they are allowed to read.

    Embedding model APIVector search (HNSW)Metadata/ACL filtering

    If something fails: Replicated vector collections; if retrieval is unavailable, the assistant answers without documents and says so.

  4. 4

    GPU Inference with vLLM

    The prompt and retrieved context are served by vLLM on the GPU nodes. Continuous batching keeps GPUs busy across many concurrent users and the response streams back token by token.

    vLLM HTTP APITensor parallelism across GPUsStreaming responses (SSE)

    If something fails: Multiple model replicas; if a node fails, the gateway sends traffic to the remaining replicas or a smaller fallback model.

  5. 5

    Audit, Redaction & Telemetry

    Prompts and responses are logged with user identity, with personal data redacted where policy requires. Usage, latency and GPU metrics feed dashboards, and security-relevant events go to the SIEM.

    Syslog / HTTPS log shippingPrometheus metricsNVIDIA DCGM GPU metrics

    If something fails: Logs buffer locally on each node until the collector is reachable again.

Interfaces

Interfaces and ports.

InterfaceTypePurpose
Chat UI / Apps → GatewayHTTPS 443 (OpenAI-compatible REST)Single entry point for every AI request, with SSO and per-team keys
Gateway → vLLMHTTP (internal, mTLS optional)Model routing and load balancing across GPU replicas
Gateway → Vector storeHTTP / gRPCPermission-filtered similarity search for retrieval
Ingestion → Document sourcesSMB / SharePoint API / S3Scheduled parsing, OCR and embedding of approved content
Nodes → MonitoringPrometheus scrape (9090/9400)GPU, latency and usage metrics
Resilience

Failure modes and automatic response.

What failsWhat happens automaticallyRecovery time
A GPU node fails or is drained for maintenanceGateway health checks remove the replica and route to the remaining nodes or a fallback model< 30 seconds
GPU memory is exhausted under peak loadRequests queue at the gateway and per-team limits cap maximum context and output lengthImmediate (graceful queuing)
Vector store node is lostQueries are served from the replica collection; the failed node is rebuilt from snapshot< 1 minute
Ingestion job fails on a corrupt documentThe document is quarantined and the job continues; an alert lists the failuresNext scheduled run

Recovery times are design targets, validated during acceptance testing.

Components

Building blocks and sizing notes.

GPU compute
GPU servers sized from the models you plan to run: an 8-billion-parameter model fits on a single 24–48 GB GPU, while 70-billion-parameter models need several GPUs or 4-bit quantisation.
Inference serving
vLLM serving open-weight models with continuous batching, behind an internal load balancer.
Governance gateway
LiteLLM (or equivalent) exposing an OpenAI-compatible API with per-team keys, quotas, model routing and request logging.
Retrieval
An ingestion pipeline (parsing, OCR, chunking, embeddings) and a vector store such as Qdrant, pgvector or OpenSearch k-NN, tagged with source permissions.
Storage and network
NVMe storage for model weights and indexes; 25 GbE or faster between GPU nodes and storage.
Observability
Prometheus and Grafana with GPU metrics (utilisation, memory, temperature) and per-team usage dashboards.
Security controls

Controls built into the design.

  • The cluster has no inbound internet access; model and package updates arrive through a controlled staging path.
  • SSO through Entra ID or Active Directory with role-based access to models and document collections.
  • Personal data detection and redaction on ingestion and in logs where required.
  • Prompt and response logs retained and forwarded to the SIEM for audit.
Operations

Running it after go-live.

  • Model evaluation before any model is promoted to users.
  • GPU utilisation and queue-depth monitoring to plan capacity.
  • Scheduled re-indexing so answers reflect current documents.
  • Usage reporting per team for internal chargeback.
START A CONVERSATION

Deploy private AI with confidence.

Consult with XOOPIE infrastructure architects on hardware provisioning, network fabrics, and model tuning.