Skip to content
Stribog

§02/SOVEREIGN AI

Sovereign AI

Routing regulated data through a third-party inference API is a structural risk posture decision, not a technical shortcut. We deploy private inference inside your perimeter — vLLM or Ollama on owned GPUs, private RAG pipelines, governed agents — so regulated prompts and embeddings never leave the cluster and outputs return only to the authenticated caller. Every request passes identity, input guards, and a policy router; every response passes an output guard; and the one real exit route, the outbound call, is default-deny.

§01/THE INFERENCE PERIMETER

Why the API route is a risk posture decision

When an engineer routes a prompt to a third-party inference API, several things happen simultaneously: sensitive data leaves the perimeter; it transits infrastructure the organisation does not control; it is processed under terms-of-service that can change without notice; and the model version is not pinned, meaning the system's behaviour can shift without a deployment event. For consumer applications with low-sensitivity data, these risks may be acceptable. For regulated organisations — healthcare handling PHI, legal processing privileged communications, financial services with material non-public information — they are structural risk posture decisions that deserve the same scrutiny as any other data-handling choice.

The exposure is the outbound call: a third-party frontier API never calls into your cluster, your own workload calls out to it. So the control that matters is not a label on the vendor but an enforcement point on your side of the boundary — a default-deny egress policy, with a policy router deciding by data class which requests may ever leave. Without that enforcement point, 'regulated data never leaves' is a claim, and a claim is what an auditor tests first.

The organisations we work with in regulated industries arrive at sovereign inference through different paths: a compliance requirement that explicitly restricts PHI to defined infrastructure, a legal opinion on privilege waiver risk in attorney-client communications, a board decision to treat model providers as a category of concentration risk. The technical implementation is the same in each case. What varies is the urgency — and the cost of the conversation that did not happen before the deployment went to production.

18–30 mo

TCO parity horizon (representative range)

API-based inference vs. owned GPU cluster, for sustained high-volume workloads — varies with token volume, hardware configuration, and vendor pricing trajectory

Pillars expressed

§02/INFERENCE INFRASTRUCTURE

Private inference on owned GPUs

We deploy inference stacks on Kubernetes with GPU device plugin scheduling: vLLM for high-throughput multi-GPU deployments, Ollama for simpler single-node inference with broader model support, HuggingFace TGI as an alternative where its specific model optimisations are relevant. Model selection is driven by your workload requirements — task performance, context window needs, and GPU memory available. We do not have preferred model vendors.

GPU allocation is governed by Kubernetes device plugins and resource quotas so inference workloads compete fairly with other cluster workloads and no single model deployment can exhaust available GPU capacity. Where tenants share a GPU, we use MIG partitioning for hard isolation on supporting hardware, or time-slicing where isolation of GPU memory is not required, with per-team quotas on top. Inference endpoints serve both chat-completion and embedding formats — the same cluster runs your LLM inference and your RAG embedding pipeline, with consistent authentication and audit logging. Open WebUI provides self-service access for internal users through the same gateway, so it passes the same identity, guard, routing and output controls.

Model versioning is treated with the same rigour as application versioning, and it is a pipeline, not a label. Open-weight models enter by a one-time offline transfer into an air-gapped staging mirror, are verified there, and are then imported one-way into a private registry (Harbor or Zot) where provenance and licence are recorded. A task-specific eval and regression gate decides promotion; approved models are signed (Sigstore cosign) and pinned in GitOps; and an admission check refuses any model that is unsigned or unpinned, so only verified models run. A model update is a deployment event — reviewable, auditable, and rollback-capable. This is the EVIDENCE-BY-DEFAULT pillar applied to AI: model governance is evidence infrastructure, not documentation overhead. The second diagram below shows the chain.

§03/PRIVATE RAG

Retrieval-augmented generation inside the perimeter

Retrieval-augmented generation addresses the model's knowledge cutoff and context window limitations by injecting relevant document chunks at inference time. The architecture has two stages — document ingestion and retrieval — each of which must stay inside the perimeter to maintain data sovereignty.

Document ingestion: source documents are chunked, embedded using an embedding model running inside the cluster (never a third-party embedding API), and stored in a vector database inside the cluster — pgvector on managed PostgreSQL, Qdrant, or Weaviate depending on workload size and query characteristics. Retrieval at inference time runs a semantic similarity search against the vector store and injects the top-k chunks into the prompt context. Latency is profiled for each deployment; sub-200ms retrieval is achievable at typical enterprise document corpus sizes.

Retrieval is where most enterprise RAG leaks. A vector index that ignores who is asking turns every user into a reader of the whole corpus. We therefore capture each document's sensitivity label and access permissions at ingestion, store them as metadata with every chunk, and apply the asking user's permissions as a filter inside the vector query — so a chunk the user could not open in the source system at the last permission sync is not retrieved. Permissions are re-synced from the source system on a defined schedule; the sync interval is the window in which a revoked permission can still be honoured by the index, and we set it with you. The data lifecycle is designed in as well: retention windows, and erasure by purging the affected chunks, re-embedding the remainder where the index needs it, and a verification step, because deletion in a vector store is not automatic. Vector-store and model-artifact backups go to a customer-held target in a separate failure domain inside your perimeter, are restore-tested, expire on a stated retention schedule, and recorded erasures are re-applied after any restore so a purged chunk does not come back.

We include an accuracy evaluation framework in every RAG deployment — a curated set of questions with known answers against which retrieval quality can be measured and tracked over time as the document corpus changes.

§04/AGENT GOVERNANCE

Governed agents with audit trail from day one

Agent frameworks — systems where an LLM drives a sequence of tool calls to complete a task — introduce a class of risk that single-turn inference does not: the model's decisions compound across steps, and an incorrect early decision can cascade into unexpected downstream actions. For regulated environments, this requires explicit governance design from the start, not a retrofit.

Governance sits inline on the request and on the response, not downstream of them. On the way in: SSO identity with RBAC/ABAC and per-tenant isolation at the gateway, per-team quotas, an input guard for PII and prompt-injection patterns (a flagged request is blocked or redacted before routing, and a prompt carrying PII, PHI, privileged-communication or material non-public markers is never classed non-regulated: non-regulated is a positive label granted by rules we agree with you, not a default), and a classifier that assigns each request a data class, and a policy router that sends regulated and unclassified requests to private inference and only non-regulated classes toward an allow-listed egress proxy. On the way out: an output guard that filters PII and leakage, including on responses that came back from an external API, and, where an agent calls tools, a human-in-the-loop gate on calls above a defined risk threshold. Guards reduce risk and do not eliminate it; classification is the control we test hardest, which is why an unclassified request fails closed to private inference. Prompt and response logging with tamper-evident retention is a by-product of these gates (every prompt is recorded as it passes the gateway, the chunks retrieved into context are recorded, every tool call before it executes, and every response as it returns), with routing decisions and outbound calls logged too. The log has its own retention bound, and where a prompt or retrieved chunk contains regulated data we agree a documented redaction or deletion path with your legal team; tamper-evidence and the right to erasure pull against each other, and we surface that tension rather than hide it, alongside OpenTelemetry tracing and token and GPU accounting. Retry and fallback logic degrades gracefully to a defined safe state, and an incident classification framework separates model-related failures from infrastructure failures. Key custody (KMS or HSM) stays with you. Agent frameworks are scoped tightly — each agent has a defined tool surface and no access beyond what the task requires. This is the principle of least privilege applied to model capabilities.

§05/GPU ECONOMICS

The honest GPU TCO

GPU ownership economics are genuinely complex. H100 hardware costs are material; power and cooling in a data centre or colocation facility add ongoing cost; GPU memory limits the model classes you can run; and the staffing to manage the infrastructure is real overhead. We build a workload-specific TCO model before any hardware commitment: projected token volume, model class requirements, hardware options (owned, leased, or a hybrid with reserved GPU cloud capacity for burst), and the staffing cost of management.

The comparison point is not 'free API access' — it is the true projected cost of API-based inference at your expected token volume, including the vendor's pricing schedule and the trajectory of that pricing as demand grows. For teams with sustained, predictable inference workloads and a data sensitivity requirement, owned GPU infrastructure typically reaches TCO parity with API-based inference within 18–30 months. For teams with low-volume or highly variable workloads, a hybrid — private infrastructure for sensitive data, API-based inference for non-sensitive workloads — may be the better answer. We will tell you which is which.

Deliverables

  • Inference stack deployment

    vLLM or Ollama on Kubernetes with GPU device plugin scheduling, model versioning, and automated health checks — serving both chat-completion and embedding endpoints.

  • Private RAG pipeline

    Document ingestion with classification, chunking, in-cluster embedding, and ACL-aware retrieval using pgvector or Qdrant — with latency profiling, accuracy evaluation, retention and erasure procedures, and index maintenance automation.

  • Model governance framework

    Policy document and tooling: private model registry with provenance and licence records, signature verification at admission, version pins, an evaluation gate before promotion, change control, and incident classification for model-related failures.

  • Request-path and agent controls

    Identity and tenant isolation at the gateway, input and output guards, a policy router with default-deny egress, and scoped agent frameworks with tool call logging, prompt/response retention for audit, human-in-the-loop gates, and retry/fallback logic.

  • Data residency documentation

    Mapping of every data path through the AI stack — ingestion, embedding, inference, storage, and the egress policy that bounds them — with residency classification for regulatory review.

  • GPU TCO and capability model

    Workload-specific comparison: owned GPU cluster vs. per-token API spend across projected token volume, including hardware, power, and staffing cost.

Stack

vLLMOllamaTGI (HuggingFace)pgvectorQdrantWeaviateLangChainLlamaIndexCUDA / ROCmNVIDIA Device PluginKubernetes GPU OperatorOpen WebUIHarbor / ZotSigstore cosignOpenTelemetry

Trade-off

Model capability ceiling vs. data control — the trade-off that does not resolve cleanly

Self-hosted inference caps your accessible model classes at what runs on hardware you own or can lease. Frontier models — GPT-4-class, Gemini Ultra — are only accessible through their providers' APIs. That is a real capability ceiling, and we will not pretend otherwise. The performance gap between frontier API models and open-weight models like Llama 3.1 405B or Mixtral 8x22B is real for some tasks and negligible for others; it must be measured against your specific workloads, not assumed from general benchmarks. What is not negotiable for regulated organisations: if PHI, privileged legal communications, or material non-public financial data enters the prompt, the API route is an unacceptable risk posture. For workloads where data sensitivity is low and frontier capability is essential, API-based inference may be the right answer — and then the honest design is a policy router with default-deny egress, so the exception is enforceable and auditable rather than a blanket claim. We will tell you which is which.

Architecture

Sovereign AI — reference architecture
Sovereign AI — model supply chain and data lifecycle

§06/FAQ

Questions, answered plainly.

The questions we hear most from CTOs, engineering directors, and founders considering a sovereignty engagement.

Which regulated industries is sovereign AI most relevant for?

Healthcare organisations handling PHI, legal services processing attorney-client communications, financial services with material non-public information, and government or defence entities with classification requirements are the most common cases. The commonality is not sector — it is the combination of data sensitivity and a regulatory or fiduciary obligation that defines how that data may be handled. If your organisation has a data classification policy that includes a 'restricted' or 'confidential' category, the question of where inference runs is already answered by that policy; the infrastructure needs to follow.

Can we run frontier models like GPT-4 or Claude on-prem?

Not in a meaningful sense. Frontier proprietary models are not released as weights — they are only accessible through their providers' APIs. Open-weight models in the 70B–405B parameter range are the current ceiling for self-hosted inference, and they perform well across a wide range of tasks. For specific workloads, we run a task-specific evaluation against both open-weight and frontier API models before recommending an approach. The capability gap is real in some domains (complex multi-step reasoning, frontier coding quality) and minimal in others (document classification, summarisation, structured extraction).

What GPU hardware do we need to get started?

It depends on the model class and throughput requirements. For 7B–13B parameter models at low to moderate concurrency, a single A100 or H100 40GB is sufficient. For 70B+ parameter models, a multi-GPU configuration is required — typically two to four H100 80GB GPUs for comfortable headroom. We model your specific requirements — model class, concurrent users, peak throughput — before recommending hardware. Leased GPU servers from colocation providers are a reasonable starting point before committing to hardware purchase.

How do you handle model updates and version pinning?

Model updates are treated as deployment events. Models are stored in a private registry, pinned to specific versions in the GitOps configuration, and promoted through environments with the same review and approval process as application code. A model update requires: a changelog entry noting the version change and the upstream release notes; evaluation against the task-specific test harness; a canary deployment to a subset of traffic; and a structured approval before full promotion. Rollback is a GitOps operation — reverting to the previous model version is the same as reverting any other infrastructure change.

What compliance documentation do we receive for the AI stack?

We deliver a data residency map covering every data path through the AI stack — document ingestion, embedding, inference, and storage — with residency classification for regulatory review. For HIPAA engagements, this includes a Business Associate Agreement analysis for each component. For SOC 2 engagements, each AI component is mapped to the relevant control objectives with evidence pointers. For GDPR, we document the lawful basis for processing, data minimisation controls, and the Subject Access Request response path for AI-processed data.

Can private RAG replace a commercial semantic search product?

For most enterprise document search use cases, yes — at significantly lower per-query cost and with full data sovereignty. The operational trade-off is real-time indexing latency (seconds to minutes vs. sub-second for optimised commercial products) and the operational responsibility for maintaining the vector index as your document corpus grows. For high-volume, real-time search over frequently-changing document sets, commercial products may retain an advantage. For compliance-driven search over internal document repositories where the update cadence is measured in hours, private RAG performs well. We profile both against your specific use case before recommending.

Executive Briefing

Thirty minutes to clarify your infrastructure risk

Walk us through your vendor footprint and regulatory constraints. We will tell you honestly where sovereignty creates leverage — and where it does not. No pitch deck. No obligation.