Updated 2 December 2026 · Next review June 2027 · By Chris Wells
IN SHORT: An LLM gateway is one layer every model call goes through, so you can route, log, cap and switch models in one place. Models change faster than anything else in your stack: they improve, get cheaper, get retired on the vendor's schedule, and occasionally get worse at your work after an update. So don't wire them in directly; put every call behind the gateway. Connect agents to your tools and data through open standards, especially the Model Context Protocol (MCP), so tools are swappable too. With both in place, changing a model is a configuration change followed by a run of your scored tasks (Chapter 21), not a rebuild. Stage 1 teams can start with one model called directly and a monthly cap; add the gateway at stage 2, or as soon as more than one agent or model is in use.
Key facts
| Fact | As of | Source |
|---|---|---|
| 46.9% of enterprises reported AI spend over budget in the second half of 2026 | 2026 | Futurum |
| In 2026 several LLM observability tools changed hands: Langfuse to ClickHouse (Jan), Helicone to Mintlify (Mar, into maintenance mode), Galileo to Splunk (completed by May) | 2026 | HackerNoon; Towards AI |
| Atlassian reported MCP calls up 400% alongside its Teamwork Graph (vendor-reported) | Aug 2026 | Nasdaq, Atlassian Q4 call |
Why do models need a layer in front of them?
Four things happen to models that you don't control:
| Event | What it does to you |
|---|---|
| A better or cheaper model appears | You want to switch, but every agent calls the old one directly |
| A model is retired | Vendors retire models on their own schedule (AI model retirement calendar); agents break on the date |
| A model update changes behavior | Quality on your work moves, up or down, without warning |
| Costs spike | Usage grows with success; nearly half of enterprises overshot AI budgets in 2026 |
Without a gateway, each of these means editing every agent. With one, it means changing one setting and running your tests.
What does an LLM gateway do?
A gateway is a thin service every model call goes through. It does six jobs:
| Job | What it means |
|---|---|
| Route | Each agent asks for a role ("drafting," "classification"); the gateway decides which model serves it |
| Switch | Change the model behind a role in one place |
| Log | Every call: agent, model, input size, output size, cost, time, errors |
| Cap | Monthly limits per agent and overall, with an alert at 80% and a hard stop at 100% |
| Fall back | If a model is down or slow, use a named backup |
| Protect | Strip or mask data that shouldn't leave (for example, personal data for a model your contracts don't allow) |
You can use a managed gateway, an open-source one you host, or the routing features some platforms include. The run and govern picks list options. Score any choice on the scorecard (Chapter 9), and note that the 2026 acquisitions of observability tools mean ownership checks (Chapter 8) matter here too.
Roles, not model names
The single most useful habit: agents never name a model. They name a role.
| Role | Typical needs | Example assignment |
|---|---|---|
| Drafting | Quality writing, your voice | A strong general model |
| Classification and triage | Fast, cheap, consistent | A small, fast model |
| Long documents | Large context, careful reading | A model strong on long context |
| Reasoning | Multi-step judgment | A strong reasoning model |
| Extraction | Structured output from text | A small model with structured output |
| Sensitive data | Stays within approved boundaries | A model under the right contract, or local |
Assign models to roles in the gateway. When a better classification model appears, you change one row and run the classification tasks from your scored set.
How do you switch models safely?
| Step | What |
|---|---|
| 1 | Pick the role and the candidate model |
| 2 | Run the scored tasks for that role on the current model (baseline) and the candidate |
| 3 | Compare scores; check restraint tasks especially (Chapter 21) |
| 4 | Compare cost and speed from the gateway logs |
| 5 | Switch a small share of traffic, or one agent, for a week |
| 6 | Switch fully; keep the old model as fallback for a month |
| 7 | Record the decision and why (Chapter 13) |
Open standards for tools: MCP
The gateway makes models swappable. Open standards make tools swappable.
The Model Context Protocol is an open standard for how AI applications and agents connect to tools and data. A tool that offers an MCP server can be used by any MCP-capable agent or assistant; an agent built on MCP can reach any tool that offers one. Adoption grew fast through 2026; Atlassian, for example, reported MCP calls up 400% alongside its graph.
For a company brain, MCP means:
| Benefit | Example |
|---|---|
| One way to connect | Your CRM, docs and memory store all reachable by the same agents |
| Swappable assistants | Change which assistant your team uses without rewiring every tool |
| Swappable tools | Replace the CRM and keep the agents |
| Your own data as a source | Expose your glossary, decision log or scored tasks to any approved agent |
MCP and permissions
MCP doesn't decide who may do what; you do. When you connect an MCP server:
- Give it the least access its job needs (Chapter 6).
- Prefer read-only connections unless the agent's spec says it may write (Chapter 15).
- Use separate credentials for agents, never a person's login.
- Log what's called, through the gateway or the server.
- Treat third-party MCP servers like any vendor: check who runs them and what they can reach.
Other open standards worth preferring
| Standard | Covers |
|---|---|
| OpenTelemetry | Traces and logs, including LLM calls, so observability tools are swappable |
| Documented REST APIs and webhooks | Reading, writing and reacting to changes |
| Single sign-on (SAML, OIDC) | One place to manage access |
| Open data formats | CSV, JSON, Markdown for export |
What changes from stage 1 to stage 2?
| Stage | Models | Tools |
|---|---|---|
| Stage 1 | One model, called directly by your assistant; a monthly cap set in the vendor's console | Native connectors; MCP where your assistant supports it |
| Stage 2 | A gateway with roles, logs, caps and fallbacks | MCP servers for your core systems, with agent credentials and logging |
Move to the gateway early if any of these are true: more than one agent, more than one model, usage costs you'd notice, or customer data that needs masking.
What should you watch in the gateway logs?
| Signal in gateway logs | Might mean |
|---|---|
| Cost per agent rising faster than volume | Prompts growing, or retries |
| Error rate climbing | Model or provider issues; time to use fallback |
| Latency rising | Provider load; consider routing |
| One agent's calls suddenly zero | It has silently stopped (Chapter 23) |
| Input size jumping | Too much context being sent; a retrieval problem |
Data boundaries: what may go to which model
Not every piece of company data should go to every model. Write a short data-boundary table and enforce it in the gateway:
| Data class | Examples | Allowed models |
|---|---|---|
| Public | Published content, public signals | Any approved model |
| Internal | Glossary, processes, non-client documents | Approved models under a business agreement |
| Customer | CRM records, meeting notes, tickets | Only models whose terms meet your customer contracts (no training on your data, agreed data location) |
| Sensitive | Financials, personal data, anything under NDA | Named models only, or masked before sending, or a local model |
The gateway's "protect" job applies the table: masking personal data, blocking sensitive classes from models that aren't approved for them, and logging what was sent. Check the table against your customer contracts at the monthly review (Chapter 24).
Does this look different in your kind of business?
| Business | Why the gateway matters | First role to set up |
|---|---|---|
| B2B software | Several agents and models; usage costs visible | Classification (cheap) and drafting (quality) |
| Consultancy or agency | Client data boundaries | Drafting with masking for sensitive clients |
| Fintech or regulated | Data classes and audit trails | Every role, with data-class rules |
| Community-led product | Spiky volume in incidents | Triage with a cheap fast model and a fallback |
| Service business | Usually not needed | One model with a cap |
Questions to ask a gateway or MCP vendor
- Who owns your company, and what have you committed to in writing about pricing and open source?
- Can we export all logs in an open format?
- Can we set hard caps per agent, per role and overall?
- How do you mask or block data classes?
- Do you support OpenTelemetry for traces?
- For MCP servers: what can the server reach, and can we restrict it to read-only?
- What happens to our traffic if your service is down?
Score the answers on the scorecard (Chapter 9).
Which chapters does the gateway connect to?
The gateway and open standards keep models and tools replaceable.
| Direction | Chapter | Why |
|---|---|---|
| Needs | Chapter 4: Stage 1 to stage 2 | Stage 2 brings the gateway |
| Needs | Chapter 8: Ownership and exit | Open standards for exit |
| Needs | Chapter 21: Scored tasks | Scored tasks for switching |
| Feeds | Chapter 23: Failure modes | Lock-in and cost-creep safeguards |
| Feeds | Chapter 24: Running it | Costs at the monthly review |
| Feeds | Chapter 25: Cost and the 90-day plan | Usage costs |
What does good look like at 30, 60 and 90 days?
| By day | You should see | If you don't |
|---|---|---|
| 30 | Every agent's model listed; calls renamed to roles; caps set | Caps missing: set them at the vendor today |
| 60 | Gateway live (if needed); logs reviewed weekly | Cost per agent rising faster than volume: check prompts |
| 90 | One model switched or tested through the routine | Switching still means editing agents: finish the role names |
Why do teams resist a gateway?
"We only use one model, so we don't need this." Then start with a cap and role names in your agents' instructions. Add the gateway when a second model or agent arrives.
"A gateway is another vendor to manage." It's one vendor that makes every model vendor easier to manage. Score it like any other tool.
"MCP is too new." Major platforms adopted it through 2026. Prefer it where available; keep APIs as a fallback.
"Masking data will break the agent." Mask only what the data-class table requires, and test with scored tasks after turning masking on.
"Switching models is risky." It's riskier to be unable to switch when a model is retired. The seven steps make a switch a habit, not an event.
What do the first two weeks look like?
Moving from direct model calls to roles and caps takes about ten working days.
| Day | Do | Output |
|---|---|---|
| 1 | List every agent and the model it calls | Inventory |
| 2 | Define roles | Role list |
| 3 | Rename model calls to roles | Roles in instructions |
| 4 | Set caps and alerts at the vendor | Caps |
| 5 | Write the data-class table | Boundaries |
| 6 | Choose a gateway if needed; score it | Choice |
| 7 | Route one agent through the gateway | First logs |
| 8 | Route the rest | All logged |
| 9 | Connect core tools through MCP, read-only where possible | Standard connections |
| 10 | Run the switch routine once as practice | Routine tested |
A closer look: choosing the model for each role
A practical way to assign models to roles, using your own tests rather than leaderboards:
| Step | What |
|---|---|
| 1 | List the roles your agents need |
| 2 | For each role, shortlist two or three models: one strong, one cheap and fast, one you can run under stricter data terms |
| 3 | Run the scored tasks for that role on each |
| 4 | Record quality, restraint failures, cost per task and speed |
| 5 | Pick the cheapest model that meets your quality bar with zero restraint failures |
| 6 | Set the next-best as fallback |
| 7 | Re-run quarterly, and whenever a vendor announces a new model or a retirement |
Most teams find the cheapest acceptable model is good enough for classification, triage and extraction, while anything a client will read is worth a stronger model. That split alone often cuts usage costs substantially.
Three ways to put a gateway in place
| Approach | What you do | Best when | Start here |
|---|---|---|---|
| On your own | Follow this chapter's steps and fill in the matching table in the free workbook | You have an owner with a few hours a week and a team of under 20 | The 2027 Stack Audit workbook |
| With the right tools | Use the tool categories that do this job well, and score each tool before you commit (Chapter 9) | You know the job and want the tooling right | Model gateways, Frameworks and standards, Model providers in the lowob SYNAPSE directory, and our 2027 picks |
| With us | We run it with you as part of lowob SYNAPSE: audit, pilot, build or run | You'd rather move faster, or nobody has the time | Book a free one-hour consultation |
Not sure which tools you need at all? The 2027 stack builder asks seven questions and gives you a starting stack by layer.
More from lowob RESEARCH
If you already know this:
Name roles, not models, in every agent; put the gateway in as soon as you have two agents or two models; and make "switch a model" a seven-step routine that ends with scored tasks and a decision record. For tools, prefer MCP and other open standards, connect them with least-privilege agent credentials, and check the ownership of any third-party MCP server or gateway the way you would any vendor.
What we'd do
- List every agent and the model it calls.
- Rename calls to roles.
- Set monthly caps with 80% alerts, at the vendor or the gateway.
- Add a gateway once you have two agents or two models.
- Connect core tools through MCP with read-only agent credentials where possible.
- Write the switch routine and run it at the next model announcement.
Worksheet: roles and models
| Role | Agents using it | Current model | Fallback | Monthly cap | Scored tasks for this role |
|---|---|---|---|---|---|
Common questions
What is an LLM gateway? A layer every model call goes through, which routes calls to models, logs them, enforces cost caps, falls back when a model fails and lets you switch models in one place.
Do small companies need an AI gateway? Not on day one. Add one when you have more than one agent or model, costs you'd notice, or data that needs masking.
What is MCP? The Model Context Protocol, an open standard for connecting AI agents and assistants to tools and data, so tools and assistants can be swapped without rewiring.
How do we switch AI models safely? Run your scored tasks on the current and candidate model, compare quality, restraint, cost and speed, switch a small share first, keep a fallback, and record the decision.
What happens when a model is retired? Agents calling it directly break. With a gateway and roles, you assign a new model to the role and run your tests.
Next move
List your agents and the models they call today. Then read Chapter 23: what breaks, and the safeguard for each. To set up the gateway with us, book lowob SYNAPSEStarts with a free one-hour consultation..
Previous: Chapter 21: Scored tasks · Next: Chapter 23: What breaks
Sources
- Futurum: 46.9% of enterprises report AI spend over budget in 2H 2026
- HackerNoon: Two acquisitions deep, two still standing (2026)
- Towards AI: The LLM observability land grab of 2026
- Nasdaq: Atlassian Q4 earnings call highlights (Aug 2026)
How to cite this
Free to quote and link with credit. Please link to this page when you use a figure, chart or framework from it.
Cite as: Wells, C. (2026). Models behind a gateway, tools on open standards. lowob RESEARCH. Published 2 December 2026, updated 2 December 2026. https://lowob.com/research/company-brain/22-model-gateway-and-mcp/
BibTeX
@online{lowob202622modelgatewayandmcp,
author = {Wells, Chris},
title = {Models behind a gateway, tools on open standards},
organization = {lowob},
date = {2026-12-02},
urldate = {2026-12-02},
url = {https://lowob.com/research/company-brain/22-model-gateway-and-mcp/}
}
Using a chart? Each chart has its own link (for example https://lowob.com/research/company-brain/22-model-gateway-and-mcp/#figure-1). Charts and data tables are licensed CC BY 4.0: reuse them with the credit line "Source: lowob RESEARCH" and a link to this page.
Changelog
- 2 Dec 2026: First published.