What's actually inside a private AI setup
"Private AI" is often sold as a single box. In reality it is six layers that work together. This is a plain walkthrough of each layer by following one employee's question from start to finish.
Follow one question
An analyst at a bank types: "What is our policy on restructuring loans for small businesses affected by flooding?" Here is everything that happens before she gets an answer, all of it inside the bank's own environment.
Layer 1: Where people ask
The question can come from a chat window in the browser, from Microsoft Teams or Slack, or from inside an existing application such as the loan system. This layer is mostly about convenience: AI gets used when it sits where people already work.
Layer 2: The gateway
Every request passes through one controlled entry point first. The gateway:
- Checks who is asking, using the company's existing sign-in, such as Microsoft Entra ID or Okta.
- Applies the rules, for example which teams may use which models.
- Removes or masks personal data if a rule says it shouldn't reach the model.
- Records the request for audit.
- Routes it to the right model: here, a private one.
Without a gateway, every application talks to models directly, and nobody has a full picture of what is being asked or sent.
Layer 3: Finding the right information
The model on its own knows nothing about the bank's policies. So before it answers, the system searches the bank's own documents. In plain terms, it looks up the relevant pages, then asks the model to answer using only those pages. This is often called retrieval-augmented generation, or RAG.
Documents from places like SharePoint, Confluence and shared drives are prepared in advance: split into passages, converted into a form that captures their meaning, and stored in a search index built for this purpose. When the question arrives, the system finds the closest passages, re-ranks them and passes the best few to the model.
One detail matters more than any other: the search must respect existing permissions. If the analyst can't open a document in SharePoint, the AI must not quote it to her.
Layer 4: The model
Now the model gets the question plus the relevant passages, and writes the answer. In a private setup, this is an open model, such as one from the Llama, Mistral or Qwen families, running on GPU servers in your cloud account or data centre. Serving software such as vLLM handles many requests at once and keeps response times steady.
Larger models answer complex questions better but need more GPU memory. For answering policy questions from supplied documents, a mid-sized model is often enough. The only reliable way to choose is to test candidates on your own questions.
Layer 5: Guardrails and checking
Before the answer goes back, it passes through checks: does it cite the documents it used, does it stay within its brief, does it contain anything a rule blocks? The answer shows which policy pages it came from, so the analyst can verify it in one click. Separately, a set of test questions with known answers runs regularly, so the team knows if quality slips.
Layer 6: Running it
The last layer keeps everything working: monitoring response times and errors, tracking GPU usage and cost, updating models, applying security patches and keeping the document index in sync. Every step from Layer 2 onward is logged, so the bank can show an auditor exactly what was asked, retrieved and answered.
What this means for planning
When someone quotes you for "private AI", ask which of these six layers they include. A model running on a server covers Layer 4 only. A system your security team will approve and your staff will trust needs all six.