Home · Insights · Engineering
EngineeringJuly 2026·10 min read

Sovereign AI Reference Architectures: A 2026 Field Guide

A practitioner's guide to the five sovereign AI reference architectures and the component choices inside them. It covers model family, vector database, inference server and integration pattern, and is written from MindMap's delivery work and public sources such as model licences. It reports no survey data.

SG
Saurabh Goenka
Co-Founder & CEO, MindMap Digital

There is no single sovereign AI stack. A regulated enterprise that asks for "sovereign AI" is choosing between at least five different architectures, and the right one depends on its regulator, the systems it has to integrate with and how much its operations team can run. This guide describes those five reference architectures and the component choices inside them: model family, vector database, inference server and integration pattern. It is written from MindMap Digital's delivery work, which covers 50+ sovereign deployments, and from public sources such as model licences and project documentation.

What this guide is, and what it is not

This is a practitioner's guide. It is not a study: it reports no survey, no benchmark and no measured dataset. Where it gives a rule of thumb, such as a chunk-count threshold for choosing a vector database, that is engineering judgement, and you should test it against your own workload. Statements about third-party software come from each project's public licence and documentation as we read them at the time of writing. Licences change, so read the licence for the exact model version you plan to deploy. For cost, use your own numbers: /tools/tco-calculator lets you model them, and /blog/llama-on-prem-economics sets out what a fully loaded cost per million tokens should include.

The five reference architectures

Architecture A is the lean single-rack deployment: one rack, two H100-class GPUs in the reference design, pgvector inside an existing Postgres, one general-purpose open-weights model served by vLLM, Keycloak for single sign-on and an S3-compatible object store such as MinIO for documents. It suits an organisation with one or two first use cases and a small operations team. Architecture B is the multi-tenant enterprise stack: Kubernetes-native, with more GPUs, a dedicated vector database such as Qdrant or Milvus, and several models served side by side (a general model, a domain-tuned model for specialist workflows and a guardrails model for input and output filtering). Identity and SIEM integration happen at the platform layer, not in each application. It suits an organisation that expects many teams to build on the same platform. Architecture C is the air-gapped deployment: the same components as A or B, plus a cluster-level egress block, an artefact registry for model weights inside the perimeter, and an observability environment that shares no network with anything outside it. It suits defence and intelligence workloads and the strictest banking and healthcare environments. Architecture D is GPU-on-edge: smaller models on a single GPU per branch or site, with retrieval that brings the model to the data instead of moving the data to a central cluster. It suits multi-site organisations where connectivity or latency rules out a central service. Architecture E is hybrid: production inference on-premise, with development and evaluation in an in-country sovereign cloud region. It suits teams that need sovereign production but want a more convenient environment for non-production work.

Choosing a model family: licence, language and fit

The open-weights families an enterprise team is likely to shortlist in 2026 include Llama (Meta), Qwen (Alibaba), Mistral (Mistral AI), DeepSeek, Phi (Microsoft) and Gemma (Google). For the workloads regulated enterprises usually start with (document question answering, structured extraction, classification and summarisation), our view is that the strong models in these families are close enough in capability that a leaderboard should not decide the choice. Three things should. The first is the licence. Llama 3.3 is released under Meta's own community licence, which permits commercial use but is not an open-source licence in the OSI sense; it carries an acceptable use policy and a clause for services with a very large number of monthly users. Most Qwen 2.5 sizes are released under Apache 2.0, though some sizes carry Alibaba's own licence terms. Mistral 7B is Apache 2.0, while the weights of Mistral Large 2 were released under a research licence and commercial use needs a commercial licence from Mistral. Phi-3.5 is MIT-licensed. Gemma 3 was released under Google's Gemma terms of use. Legal teams read these documents closely, so settle the licence question before any engineering starts. The second is language. If the workload is in Arabic, Chinese or South Asian languages, test the candidates on your own documents in those languages; general English-language evaluations will not tell you what you need to know. The third is operational fit: which sizes run on the hardware you have, which formats your inference server supports, and how many different models your team can realistically operate. MindMap's own Model Estate follows the same logic. Its five families (Charaka, Lekha, Vanij, Bhasha and Rasayana) are tuned from permissively licensed open-weight bases, and /models describes them.

Choosing a vector database by scale

Four vector stores cover the range we consider for sovereign deployments. pgvector is an extension to Postgres. If you already run Postgres and your corpus is modest, it means one less system to back up, monitor and include in disaster recovery, and that operational simplicity is worth more than the performance edge of a specialist database at that scale. Qdrant is a dedicated vector database written in Rust that runs as a single binary. It is a sensible step up when you need richer payload filtering, or snapshot and restore for compliance backups. Milvus is a distributed system made of several separately scaled components, and it supports GPU-accelerated indexing. It is built for very large corpora and high write throughput, at the price of more to operate. Weaviate bundles hybrid search and a module ecosystem and fits teams already invested in it. As a rule of thumb we reach for pgvector below roughly ten million chunks, Qdrant between ten and a hundred million, and Milvus beyond that. Treat those thresholds as a starting point and test at your own scale, with your own filters. Two constraints are fixed in an air-gapped design. The database must be self-hostable, which rules out any managed-only service. And it must have a backup and restore path your operations team has rehearsed. /blog/vector-db-comparison goes deeper.

Choosing an inference server

vLLM is our default for GPU serving. Its PagedAttention memory management and continuous batching are designed for serving many concurrent requests, and it exposes an OpenAI-compatible API, which keeps application code portable. Text Generation Inference (TGI) from Hugging Face is a mature alternative, and a natural choice where the organisation already has a commercial relationship with Hugging Face. Ollama is the simplest to run and is well suited to low-traffic internal tools, developer machines and small edge sites. llama.cpp runs quantised models on CPUs and constrained hardware, which makes it useful where GPUs are not available, and for a proof of value before GPU procurement completes. Whichever you pick, run as few serving stacks as you can. Each one is another thing to patch, monitor and explain to an auditor.

What a cost per million tokens should include

This guide gives no cost figures, because a per-token cost only means something for a specific volume, hardware price, power tariff and utilisation. What it can give is the shape of the calculation. A fully loaded on-premise cost per million tokens includes hardware amortised over its useful life, power and cooling, rack space, software support and the operations time needed to run the platform. Divide that by the tokens you actually serve, not the tokens the hardware could serve: an under-used cluster is expensive per token however cheap it looks on paper. The architectures differ in predictable ways. An air-gapped deployment (C) carries extra cost for its separate observability environment and its manual promotion procedures. An edge deployment (D) spreads hardware across sites, so its cost per token is higher and its case rests on latency and resilience. A hybrid deployment (E) adds the cost of the sovereign cloud environment used for development. At low volume a cloud API is cheaper, and at sustained high volume on-premise is cheaper. Where the lines cross depends on your numbers, which is what /tools/tco-calculator is for.

Regulator-readiness: what each architecture makes easier

Regulators do not approve architectures. They ask for evidence, and some architectures make that evidence easier to produce. Under the EU AI Act, a provider of a high-risk system needs technical documentation (Article 11 and Annex IV), automatic logging of events (Article 12), human oversight designed into the system (Article 14) and a post-market monitoring system (Article 72). In architectures B and C, identity, logging and observability are built into the platform layer, so that evidence is a by-product of normal operation. Architecture A can meet the same requirements with more manual collation. Architecture D adds evidence collection at every site, which needs explicit operational discipline. Data-localisation and outsourcing rules, such as those of the RBI in India and SAMA in Saudi Arabia, are easier to answer when model weights, prompts and logs demonstrably stay on infrastructure the regulated entity controls. That is true of A to D by design, and has to be shown by configuration for the cloud half of E. In US healthcare, HIPAA permits cloud processing under a business associate agreement; running inference on-premise removes that negotiation for the LLM layer. None of this replaces legal advice on your own obligations. /eu-ai-act/articles sets out the Articles in engineering terms.

Integration: the part that scoping tends to skip

The least discussed dimension of sovereign AI architecture is how the AI cluster connects to the rest of the enterprise. There are four common patterns. With event streaming (Kafka, Pulsar or an equivalent), the AI components consume from and publish to topics, which is the cleanest option where an event-driven architecture already exists. With an API gateway and sidecar identity (Kong, Apigee, Tyk or an in-region equivalent), the AI components sit behind the organisation's existing gateway, and authentication and audit happen there. With direct database access, the AI component reads from and writes to an operational database, which suits a small deployment that augments one existing application. With an embedded pattern, the model runs in-process with the calling application, as it does at the edge. Whichever pattern applies, the integration work (single sign-on, identity propagation, audit logging, network rules, monitoring and deployment pipelines) is substantial, and a plan that treats sovereign AI as a self-contained project will underestimate it. Ask the integration question in the first scoping conversation.

A default starting point

If you have no strong reason to choose otherwise, start with Architecture A, and make the case for B only when several teams need the platform at once. Use a general-purpose Llama-family model unless language coverage or licence terms point you elsewhere. Use pgvector if you already run Postgres and your corpus is modest. Serve with vLLM. Build the evaluation harness before the production pipeline, and reserve fine-tuning for the cases where prompting and retrieval cannot close the gap. Plan the platform so that the second and third use cases reuse it. In MindMap's own engagements, the time from signed contract to production is 6–9 weeks.

Three mistakes that are easy to make

The first is leaving evaluation until after launch. A retrieval change that quietly makes answers worse is hard to detect without a question set and a scoring harness, and it is far cheaper to catch on the day it is introduced. Build the harness at kickoff. The second is choosing the multi-tenant platform because it looks more serious. Architecture B is the right answer for an organisation with many teams and a platform group to run it. For a first deployment it adds time and operational load that a small team will struggle to carry. The third is treating integration as a late-stage task. An organisation with a mature event-driven estate can plug AI components into it quickly; one without may be better served by fixing its gateway and identity layer first. Both are easier to plan for when the question is asked at the start.

Where this guide will date

Three parts of this guide will age fastest. Model families: new releases arrive every few months and licence terms change with them, so the specific names here matter less than the method of choosing by licence, language and operational fit. Vector databases: general-purpose databases keep adding vector search, and the boundary between using what you have and running a specialist system will keep moving. Inference servers: running fewer stacks will remain the right instinct, whichever projects lead. The principles should hold: weights and data under the customer's control, integration treated as a first-class concern, and evaluation built in from the start.

Saurabh Goenka
About the author

Saurabh Goenka →

Co-Founder & CEO, MindMap Digital

Saurabh has spent the last five years shipping sovereign AI for regulated enterprises. He's personally led engagements with tier-1 banks across the Gulf, East Africa and South Asia, with healthcare systems in the UK and India, and with central-government agencies on three continents. He speaks regularly at industry forums on the engineering reality of EU AI Act compliance and sovereign LLM deployment.

Credentials + recognition
  • ✓NASSCOM Tech Excellence 2026 — Healthcare AI category winner
  • ✓Hindustan Times 40 Under 40 (2026)
  • ✓ET NOW 40 Under 40 (2026)
  • ✓Outlook Dynamic Leaders (2025)
  • ✓ICAI 40 Under 40 (2025) · Chartered Accountant
  • ✓Forbes Business Council member (2021–present)
  • ✓50+ enterprise AI deployments shipped
Areas of repeated lived expertise
Sovereign AI architectureEU AI Act + RBI + SAMA compliance engineeringBFSI AI transformationHealthcare AI at scalePublic-sector AI deployment
Free download · 12-minute read

The Sovereign AI Playbook.

Enterprise generative AI that runs on your servers.

  • 01Definition. The four non-negotiable properties of a sovereign deployment — and the three patterns that look sovereign but aren't.
  • 02Why now. Three forces that converged in 2026: regulator pressure, the open-weights capability gap closing, and unit economics flipping.
  • 03Reference architecture. The five-layer stack we deploy: applications → agent runtime → sovereign LLM → RAG + KB → data stores. With model and tooling choices for each.
  • 04The regulators. SAMA · RBI · UK ICO · EU AI Act · DPDP · HIPAA — what each requires and how it maps to architecture.
Get the playbook
Free PDF, in your inbox in 30 seconds.
We'll send the PDF, and may follow up once or twice with related material. One click unsubscribes.

Ready to apply these ideas?

Talk to our engineering team. No sales pitch — just a technical conversation.

Start a conversation →