Home · Designing an AI Gateway for Enterprises · Part 3 of 17
One endpoint for every kind of consumer
Claude Desktop, Claude Code, GitHub Copilot, OpenAI Codex and your own apps, through one door.
Models come from many places, and the tools people use to reach them come from even more. Each tool has its own conventions, its own way of being configured, and its own idea of what "connected" means. If every tool carries that knowledge, then every new model is a change on every laptop, and every credential is a secret somebody pasted into a settings file.
I wanted the opposite. A tool asks for a model by name. The product works out the rest.
Who's calling
The consumers of this product aren't hypothetical. They are:
- Claude Desktop, for people who chat.
- Claude Code, for people who build in a terminal.
- GitHub Copilot in VS Code, for people who live in an editor.
- OpenAI Codex, for people who prefer that way of working.
- Applications that call the models with an API key issued for their product.
Five very different habits. I won't describe how each one connects, but I will say that none of them needed a bespoke gateway.
They also change. New tools appear every few months, and an existing one adds a new way to connect. A product designed around today's list would be out of date by the time it shipped, so the design question was never "which tools do we support?" but "what does a tool need to know?" The answer I wanted was: almost nothing.
One person, many tools
A developer might start the day in Claude Code, move to Copilot in VS Code, and ask Claude Desktop a question over lunch. To the gateway that's one person. To the portal it's one budget and one history. To finance it's one line instead of three mysteries. That is the part customers react to first, because it's the thing they can't get by running five tools separately.
What you get
- Add or move a model without touching a single client.
- Credentials stay on the server side. They never travel to a laptop.
- One set of rules, covering identity, limits and records, applies to every consumer and every provider alike. A route that bypasses your rules is a hole, however good its models are.
Where the models live
Most of the models are hosted on Microsoft Foundry. The door doesn't care. If a model lives somewhere else, the client still asks for it the same way, and the same rules apply. The consumer sees one catalogue, one sign-in and one bill, whatever is behind it.
The trap
Consumers and providers are subtly different, and "compatible" is a spectrum, not a switch. The temptation is to flatten every difference until the front door is perfectly uniform, and then to be surprised when something behaves oddly at the edges.
Keep the front uniform and be honest about the differences at the back. That's where the real work lives, and it's the part I won't write about.
Why the names matter
I've named the consumers because they're what makes the idea concrete. "A gateway for AI tools" is abstract. "A gateway you can point Claude Code, Copilot and your own app at on the same afternoon" is something you can picture, test and argue with. It's also the question I'd ask any vendor: which of my tools work, and what changes for each?
Uniform at the front, honest about differences at the back.
Want to discuss this? Connect with me on LinkedIn.
Next: stop sending people a config file.