TL;DR: An AI gateway only saves money once nothing can go around it. Before you count savings, make it the only path to your models, key any shared cache to the user, give its open-source parts a named owner, and log every call. If people can skip the gateway, you pay for it and for everything that goes around it.
On November 2, 2026, a CISO at a logistics company told me why his CIO wanted an AI gateway. It would control costs. It would also speed adoption.
The plan was one company-branded assistant for everyone. Most people would lose their individual AI licenses. A gateway would route each prompt to a cheaper model where it could, and a cache would answer repeat questions without paying for them twice.
That's a real business case. I've now heard it often enough to call it a pattern. The problem is that the savings only show up after the security work is done, and most plans put the savings first.
Why is everyone building an AI gateway right now?
Because it looks like the fastest way to cut AI spend. An AI gateway is the single front door that every model call and tool call passes through. Once you have one, you can pick the model and see the bill.
My client-call ledger shows the same story on five calls with three organizations between November 2 and November 23, 2026. A logistics company had three of those calls about one gateway design. A public-sector pension fund and a healthcare company had one each. The ledger ties the cost angle back to two earlier calls, on September 21 and October 1.
The CISO on the first call said peers were driving it. In his words, "a lot of companies that rub elbows with my boss are doing the same." He meets monthly with a large pharmaceutical company that runs more than one gateway.
The healthcare security engineer put the money case well. He measures AI by "cost per deliverable," meaning what the company got for what it spent.
A gateway can answer that. But only if all the traffic goes through it.
What makes an AI gateway save money instead of adding cost?
It has to be the only way to reach a model. If an app or an agent can call the model provider directly, the gateway never sees that spend and can't route it.
So do this first. Take the provider keys out of the apps. Make a direct call fail.
The healthcare company had no gateway yet. As soon as one agent holds its own API key, it skips the gateway. Its costs and its logs go with it. On that call I put it this way: the ability to route is the ability to trace.
The logistics company's cloud lead got there before anyone asked. On November 11 he laid out one model account per environment, one for non-production and one for production. Then he added an organization-level rule that denies the model service in every other account.
That rule is a service control policy. AWS describes service control policies as a guardrail that sets the most any user or role in an account can do. Other policies grant the access. The SCP sets the ceiling.
By the third call, on November 23, I read four of these rules for the workloads that run the assistant:
Deny the model service outside the model accounts.
Deny the regions you don't use, while keeping the ones the model service needs open.
Deny turning off the audit trail, the threat detection, the config history or the model call logging.
Deny any account leaving the organization.
Test each one on a sandbox group of accounts first. A wrong ceiling can stop a working app in production, and the error won't say why.
Then measure one number every month: the share of model calls and tool calls that cross the gateway. The target is 100 percent. That number is your savings report and your security report at the same time.
Should you run one gateway for everything?
Usually one gateway per kind of traffic works better.
A principal architect at the pension fund told me on November 12 he'd been trying to make one gateway fit every path. "One size fits all," he said. He was relieved to hear that one per path is normal.
People chatting with an assistant is one kind of traffic. An agent calling internal systems through MCP servers is another. MCP is the protocol agents use to reach tools. Those two paths need different checks and different owners. One product can sometimes do both. One policy rarely can.
Whatever you choose, apply limits. The OWASP Top 10 for LLM Applications entry on unbounded consumption names "denial of wallet" as a real attack. Someone floods a pay-per-use model with requests until the bill hurts. OWASP's fix list includes rate limits and per-user quotas. A gateway is where those go.
Is a shared semantic cache safe?
Only if it's keyed to who is asking. A semantic cache stores answers by meaning, so a new question that means the same thing gets the old answer for free. That's the savings. It's also a second data store, and it needs its own access rules.
The logistics CISO found this himself on the first call. He asked about a simple case. User A asks for October's sales and the answer goes in the cache. Then user B asks the same thing. Does anything check whether B may see it? His worry was privileged data reaching people without that access. The design document didn't say.
The vendor's written answer, shown on screen on November 11, was good. I accepted it. The cache key is an access tag built from the user's directory groups and role. Two people share a cached answer only when their tags match, and only for a general-knowledge answer to the first question in a chat. Entries live 24 hours by default and go away when the chat is deleted. The cache keeps no prompt text and no tool results. A tool-using answer is never cached without a separate design and security approval. Per-user keys were offered as an option.
On November 23 we added one test before any tools go live. Two users with different access ask the same question. The second one must not get the first one's answer.
If your vendor can't describe its cache in that much detail, turn the cache off until it can.
Who owns the gateway after the contractor leaves?
Someone on your payroll, by name. The logistics company's design ran on four young open-source projects. They covered the gateway, the router, the policy engine and the rate limiter. Nobody at the company owned any of them yet.
Each one needs an owner, a pinned version, a patch schedule and a plan for when it breaks. Someone also has to watch its security advisories.
On the third call the vendor's answer said patching moves to the client after a short support period. I accepted it with a recorded risk. The fix is simple. Write the names down before the contractor leaves.
Same with uptime. One gateway in one cloud region is one outage away from no AI for anyone. A second region costs money. Whether it's worth it depends on how much of the business runs through that one door. That gets sharper the day the gateway becomes the only door.
What does the gateway give the security team for free?
A log line for every call. Who called, which model, which tool, what it cost and whether policy allowed it. A dozen separate AI subscriptions give you a dozen partial views.
The logistics company couldn't see usage on its current team plan, and it knew that. Nothing blocked other AI platforms either. A gateway fixes the first problem. It only fixes the second if the deny rules above are in place.
Send the metadata to your SIEM and keep the full traces somewhere cheaper, with a named owner. I wrote up which events to alert on first in what your SOC should alert on first when staff use AI.
The gateway also sits at the point where an agent's identity has to carry through to the systems it calls. That's a longer story. I covered the credential choices in how an AI agent should log in to the tools it calls.
Key takeaways
An AI gateway saves money only when it's the one path to your models.
Pull provider keys out of apps, and add an organization-level deny for the model service everywhere else.
Track the share of model and tool calls that cross the gateway each month. Aim for 100 percent.
Run one gateway per kind of traffic, with rate limits and per-user quotas.
Key any shared cache to the user's access, keep tool results out of it and test it with two users.
Name an employee owner for every open-source part before the contractor leaves.
FAQ
Does an AI gateway replace our enterprise AI licenses?
It can, and that's the cost case. But an enterprise license already includes admin controls and logs that a home-built gateway has to earn. Most companies keep a few paths open while the gateway proves itself.
Is a semantic cache worth the risk?
Yes, when it only shares answers between people with the same access and never stores tool results. If the vendor can't explain how it decides who shares an answer, it isn't ready.
What's the first thing to build?
The deny rule. Make every direct call to a model provider fail outside the gateway. Everything else depends on that.
How do we know it's working?
Watch the share of calls that cross the gateway. If it's under 100 percent, you have AI spend and AI risk that nobody can see.
The gateway that cuts your AI bill is the same one that shows you every call. Build it as the only door, and you get both.
