The two AI gateway patterns in production inference
Aug 25, 2026
Summary
This post introduces and details the two dominant AI gateway patterns in production inference: access gateways (application-side, many providers) and serving gateways (customer-facing, own models). It elaborates on the serving gateway's request processing flow, covering identity establishment, serving path selection (mentioning KV cache locality as an optimization), service protection mechanisms (rate limiting, concurrency, overload protection), usage measurement, and auditable result production. It also outlines key evaluation criteria for AI gateways, focusing on customer model representation, tenant isolation, commercial API support, inference awareness, and deployment location tradeoffs.
More from the Baseten AI Model Deployment and Serving Platform trail
- LangChain trains custom models for LangSmith Engine with Baseten Loops
- DeepSeek-V4.1-Flash: more efficient prefill for coding agents
- Blaxel is joining Baseten to build the future of agentic infrastructure
- How Baseten makes pyannote’s diarization models 9.6x faster
- Optimizing delta weight syncs for managed rollouts