Why this matters
The gateway decision looks free in a diagram. In production it has a bill, and the bill decides whether the pattern survives the first budget review.
The lines
Compute
One small service, horizontally scaled. For a dozen tool servers and a few hundred internal users, this is the cheapest line by far.
Audit storage
Every tool invocation is recorded with inputs, outputs, identity and decision. At a few kilobytes per call, high-volume tools fill terabytes within a year. Retention policy is a cost decision.
Availability
The gateway is in the path of every agent action. It needs the same availability as the systems behind it, which means at least two regions and a tested failover.
People
Someone reviews tool descriptions, rotates credentials, answers "why was this call denied" and carries the pager. First estimates always leave this line out.
What I would not cut
Audit, because it is the reason the gateway exists. Cut retention, sample inputs for high-volume read-only tools, but never cut the decision record.
Key takeaways
- Compute is the smallest line. Audit storage and on-call are the largest.
- Tool description reviews are a recurring cost, not a one-off.
- Budget for the gateway as production infrastructure from day one.
Terms in this piece
About this article
- Format
- Article
- Level
- Architect
- Read
- 1 min read
- Published
- Oct 2, 2026
- Disciplines
Considered pieces on one idea.
More on these topics
Explainer · · 4 min read
What RPO and RTO mean, and how to set targets you can meet
RPO is how much data you can lose and RTO is how long you can be down. What decides each one in practice, and how to test them before an outage does.
Article · · 3 min read
The first AI skill is knowing when to leave the model out
Many model calls in production could be a simple rule. How to tell when a problem needs a model and when it does not.
Comparison · · 8 min read
Direct APIs, MCP tools and Code Mode: three ways an agent reaches your systems
How I choose between hand-written tools, MCP tool calls and Code Mode by where the plan runs, and why I built codemcp to test it.
Discussion