ended4월 13일· 1 sources

The Three Layers of LLM Infrastructure: Gateway, Proxy, and Router

LLM 인프라 3계층 제대로 알기: Gateway, Proxy, Router의 진짜 역할

Why it matters

Industry products like LiteLLM and Portkey use 'gateway' and 'proxy' interchangeably, creating confusion about their actual roles. This article clarifies that these are three distinct layers of the same stack—Proxy (transport layer), Router (decision layer for intelligent model selection), and Gateway (policy layer for auth and rate limits)—with practical Go examples for each. Understanding this architecture is critical for teams optimizing LLM cost efficiency, reliability, and operational compliance.

1
Sources
+0
24h
Growth
161d
Active
LLM GatewayLLM RouterLLM ProxyCost-based routingFailover routing

Sources

Related Issues