Home · Series
Designing an AI Gateway for Enterprises
The architecture and design thinking behind an enterprise AI gateway and its portal: the problems it has to solve, the trade-offs, and the principles I design by. Ideas you can apply to your own platform.
01
Claude is moving into your cloud. Who's minding the door?Why enterprises moving Claude access to third-party cloud providers need a gateway and a portal.
02
Nobody can tell you who spent whatWhy an AI gateway exists at all: who, how much, what went wrong. One product, two halves.
03
One endpoint for every kind of consumerFive kinds of consumer, one endpoint, one identity, one budget.
04
Stop sending people a config fileClients such as Claude Desktop discover the models they may use, filtered by who is asking.
05
One gateway, many identity worldsIdentity beyond a single vendor's user base, through one federation layer in front of one token issuer.
06
The middleware that counts every tokenHonest metering when answers arrive as a stream, and a small component built to do it.
07
A gateway that keeps working when its control room is offlineStandalone and connected modes of one product, and why the control room must never make the door fragile.
08
Your logs aren't answersThe portal as the second half of the product: answers out, decisions back.
09
Give every user a dashboard of their ownA personal usage page: month-end forecast, what caching saved, which models you may use, what was refused.
10
Budgets that don't lieMoney, not tokens; soft and hard limits; a budget set in one half and applied in the other.
11
When the gateway says no, say why, and offer a way forwardClear refusals, an on-demand request for more budget, an administrator's decision and a full audit trail.
12
Health isn't a ping: watching a request across the whole pathWatching the whole path as one product, and a verdict with reasons.
13
"Deployment succeeded" is not "it works"Four rules for proving a change works, applied to a product with two halves.
14
Keep the glue thin, and write down how to remove itSeams between building blocks: thin glue, written exits, with the metering relay as the worked example.
15
What an AI gateway really costsThree layers behind one number, for the door and the control room alike.
16
What I'd tell you before you build oneThe whole product in one picture, seven opinions and a call-out.
17
What this series didn't coverThe pillars I touched lightly, the newer things gateways are asked to carry, and where I drew the line.