# What Sits Around the Model in Enterprise AI? *Part 2 of the Enterprise AI Blueprint: eight layers, four doors, and what your team still owns.* By Thomas Hein Thura In Part 1, [Where Do You Start With Enterprise AI?](https://medium.com/@thomas.heinthura/where-do-you-start-with-enterprise-ai-6b028f4aa1de), I shared the first half of my [VarCamp Myanmar](https://www.var.camp/speakers/thomas-hein-thura) talk: picking from three targets (Volume, Judgement, Process) and drawing the five blocks (users, UI, logic, model, data) on one page. Once a team gets past that first drawing, the next question comes up fast. What actually sits around the model block, and how do you run it without building more than your team can support? Simply put, a model on its own is not a working system. Around it sit eight layers that keep answers accurate, safe, and easy to check. The good news is that you do not have to build all eight yourself. In the VarCamp talk, I kept the five blocks in the same places, placed the eight layers inside them, and used four doors to show what a vendor runs and what stays with your team. ![The whole enterprise AI architecture placing eight numbered operating layers inside five application blocks with infrastructure underneath](assets/enterprise-ai-architecture.png) *The one picture I used at VarCamp: five blocks as columns, eight numbered layers where they work, and infrastructure underneath.* ## Eight layers around every AI design The eight layers in my slides follow Virex Explains' *The Eight Layers of Your Own AI* ([Virex Explains reel](https://www.facebook.com/reel/1993088841357620/)). Each layer sits above basic infrastructure, such as servers, storage, and GPUs if you host your own. In practice, each layer gets added after something breaks once real users arrive. ![Stack of eight layers above infrastructure: Prompt, RAG, Tools, Access, Guardrails, Cache, Router, and Observability](assets/eight-layers.png) *Eight layers built bottom up on top of infrastructure. Each one catches a problem that shows up once real users arrive.* Here is what I check across all eight layers in a design review. | Layer | Plain idea | What breaks without it | What to look out for | |---|---|---|---| | 1. Prompt | Instructions card | Vague asks give random answers | Version prompts like code so you can roll back | | 2. RAG | Open-book exam | Model guesses from memory | Filter permissions before search; skip RAG if there is nothing to search | | 3. Tools | Hands | Agent clicks the wrong action | Use small, typed tools (MCP) and human approval for irreversible steps | | 4. Access | Keys | Everyone sees private files | Use SSO and act as the signed-in user, never a shared admin key | | 5. Guardrails | Seatbelt | Prompt injection or leaked PII | Run cheap rules and format checks first, model checks last | | 6. Cache | Remembered work | Paying full price on repeat asks | Provider prompt caching is safe; answer caching needs permission and staleness checks | | 7. Router | Right brain per job | Big model used for easy tasks | Send routine tasks to a small model first and keep a fallback | | 8. Observability | Dashcam and evals | Nobody knows why answers changed | Log prompt version, sources, and token cost, and keep saved test cases | Two traps show up often here. First, teams skip Layer 8 when rushing to ship a demo. Without traces and saved test cases, one Friday prompt edit can break Monday's answers without anyone noticing. Second, caching is easy to mix up. When a provider reuses a long system prompt for you, that cuts input cost safely. If your own app caches full answers, however, you must check whether the next user is allowed to see that source and whether the file changed since the last run. ## Five blocks and eight layers through four doors Once you know your three targets and five blocks, you can keep this same drawing and pick one of four doors. Each door shifts which layers the vendor runs and which ones your team still looks after. ![Four doors for running the five blocks and eight layers: API key, user licence, agent platform, and own data centre](assets/four-doors.gif) *Same blueprint, four doors. Each step highlights what the vendor runs and what your team still has to look after.* Each door suits a different need. The products below are examples as of November 2026, and your own constraints may point to another choice. ### Door 1: API key (pay per token) ![Door 1 architecture animation showing Claude API and OpenRouter: model, serving, and GPU run by the vendor while UI, logic, data, and most layers stay in-house](assets/door-1-api-key.gif) *Door 1 example from the VarCamp slides: Claude API rents the model and GPU; a router like OpenRouter can also handle routing, guardrails, and prompt caching.* If you already have an application and only need a model to extract fields or draft text, a model API is a clean place to start. With a direct API such as Claude API or a router such as OpenRouter, the vendor runs the model, serving engine, and GPU. A router can also add fallback routing, spend limits, and basic guardrails while passing prompt caching through. Your team still owns the UI, logic, data, timeouts, retries, and evals. Check the data retention settings (such as zero data retention where offered), and make sure your app can still finish the job if the API times out. ### Door 2: User licence (pay per user) ![Door 2 architecture animation showing Microsoft 365 Copilot, Gemini in Workspace, Claude, and ChatGPT: vendor runs seven layers while Access and Data stay in-house](assets/door-2-licence.gif) *Door 2 example: Microsoft 365 Copilot, Gemini in Workspace, Claude, and ChatGPT. Seven layers move to the vendor while Access and Data stay in-house.* If staff mainly need help with emails, meetings, and office documents, look at a user licence. Examples include Microsoft 365 Copilot, Gemini in Workspace, or Claude and ChatGPT business plans connected to company drives through an admin-approved connector or MCP. Here, the vendor runs the model, infrastructure, and seven of the eight layers. What stays in-house is Layer 4 (Access) and your Data. Before switching the assistant on, audit your SharePoint, OneDrive, or Google Drive sharing settings and admin consent rules. The assistant respects existing permissions, so overshared folders quickly become visible. ### Door 3: Agent platform (pay per use) ![Door 3 architecture animation showing Copilot Studio, Microsoft Foundry, Google Agent Platform, and Amazon Bedrock: managed runtime and layers with in-house workflow and tools](assets/door-3-agent-platform.gif) *Door 3 example: Copilot Studio, Foundry, Google, and Bedrock run the managed layers while your team owns the workflow, tool scopes, and approval.* When a workflow has to plan steps, search approved knowledge, and call business systems, an agent platform such as Copilot Studio, Microsoft Foundry, Google's Gemini Enterprise Agent Platform, or Amazon Bedrock with AgentCore can host the runtime, guardrails, search, and traces for you. You can choose the model without managing GPU servers. Your team still designs the workflow, tool scopes, permissions, and human approvals. Watch out for pay-per-use costs climbing if an agent loops or calls a large model for simple routing, and be careful of managed connectors tying your logic to one cloud. ### Door 4: Own data centre (pay for everything) ![Door 4 architecture animation showing every block, all eight layers, and GPU infrastructure built and run in-house with vLLM and MCP](assets/door-4-own-data-centre.gif) *Door 4 example: every block, all eight layers, and the GPU stack run inside your own network for sensitive or air-gapped workloads.* If data rules keep prompts and files inside your network, such as in core banking or air-gapped sites, you build behind Door 4. You run open-weight models on your own GPUs with serving software such as vLLM, connect your own search index and MCP tools, and maintain guardrails and logs in-house. For smaller sensitive workloads, you may not need a full rack; in the talk I showed a two-node NVIDIA DGX Spark example where users, UI, and logic stayed on ordinary servers. Full control comes with full operational work. Budget time and money for patching the serving stack, power and backup, and testing how memory and queues behave under concurrent users. I look at that sizing test in the next article. ## Keeping your freedom behind any door Across the four doors, Door 2 gives you speed while Door 4 gives you full control. Many teams mix them, using a user licence for office tasks and an API key or agent platform for internal workflows. Whichever door you choose, five habits from the VarCamp talk help keep your design flexible: 1. Use an OpenAI-compatible API shape in your code so swapping models takes configuration instead of a rewrite. 2. Put your own gateway in front of model calls for keys, budgets, logs, and fallback. 3. Keep prompts, eval test cases, and source data in your own repository. 4. Test open-weight models on rented cloud GPUs before buying hardware. 5. Use open standards such as MCP for tools so integrations stay portable. If you want to try this week, take the five-block drawing you made from Part 1. Circle the layers you actually need, pick the door that fits your data rules and on-call team, and save five messy test cases on your own side. When you try a new model next month, run those five cases first. If you missed the earlier posts, you can read [Where Do You Start With Enterprise AI?](https://medium.com/@thomas.heinthura/where-do-you-start-with-enterprise-ai-6b028f4aa1de) for the three targets and five blocks, or [Three Years Later, Here’s What I’ve Been Working On](https://medium.com/@thomas.heinthura/three-years-later-heres-what-i-ve-been-working-on-607ccb87dd7e) for the background behind the talk. Next in this series: *Will the Model Fit? What I’d Test Before Sharing a DGX Spark*.