← all repositories
envoyproxy/ai-gateway

A two-tier Envoy for the messy world of LLM APIs

It wraps a two-tier Envoy Gateway around the chaos of routing requests to commercial and self-hosted generative AI providers.

ai-gateway
Not currently ranked — collecting fresh signals.
star history

What it does

Envoy AI Gateway uses Envoy Gateway to sit between application clients and generative AI services. It employs a two-tier architecture: a centralized Tier One gateway that handles authentication, top-level routing, and global rate limiting, and a Tier Two gateway that manages ingress to self-hosted model clusters with fine-grained access controls. The project integrates with a wide roster of commercial providers—OpenAI, Anthropic, AWS Bedrock, and roughly a dozen others—while also offering endpoint picking for self-hosted inference optimization.

The interesting bit

The two-tier pattern is the architectural hook. Most gateways treat all backends as a flat pool; this one explicitly separates the public API front door from the internal model cluster door, suggesting that routing to a GPU cluster deserves different guardrails and LLM-specific optimization than routing to a SaaS endpoint.

Key highlights

  • Supports 16 distinct AI providers out of the box, from OpenAI and Azure to Groq, DeepSeek, and SambaNova.
  • Tier One gateway centralizes auth and global rate limiting; Tier Two gateway targets self-hosted models with fine-grained access control.
  • Includes an endpoint picker specifically tuned for LLM inference optimization on self-hosted clusters.
  • Backed by the Envoy community and inspired by a CNCF cloud-native LLM gateway proposal.

Verdict

Worth evaluating if you already run Envoy Gateway and need to normalize access to a mix of SaaS LLMs and in-house model serving. If you are not already invested in the Envoy ecosystem, this may be more machinery than you need.

Frequently asked

What is envoyproxy/ai-gateway?
It wraps a two-tier Envoy Gateway around the chaos of routing requests to commercial and self-hosted generative AI providers.
Is ai-gateway open source?
Yes — envoyproxy/ai-gateway is open source, released under the Apache-2.0 license.
What language is ai-gateway written in?
envoyproxy/ai-gateway is primarily written in Go.
How popular is ai-gateway?
envoyproxy/ai-gateway has 1.9k stars on GitHub.
Where can I find ai-gateway?
envoyproxy/ai-gateway is on GitHub at https://github.com/envoyproxy/ai-gateway.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.