LLM Gateway sits between applications and multiple model vendors, offering an OpenAI-compatible API, centralized keys, and usage analytics. It can be used hosted or deployed on your own stack.
Overview
LLM Gateway is middleware that routes language-model requests to providers such as OpenAI, Anthropic, and Google Vertex AI through one interface. Applications can keep a single API shape while switching models or vendors.
The gateway tracks tokens, costs, response times, and related metrics so teams can compare models and monitor production traffic. A hosted option at llmgateway.io supplies accounts and API keys without local setup. For on-premises or private cloud control, self-hosted deployment is supported, including Docker with named volumes for database storage rather than fragile host bind mounts.
The surrounding project includes a web dashboard, API backend, routing gateway app, documentation, and optional enterprise modules for billing, organizations, and fuller payload retention under separate licensing. Provider onboarding for the public hub flows through a separate provider portal rather than direct pull requests.
Routing spans many models and providers, with real-time cost tracking and switching providers without client code changes, alongside optional team pilots on the managed service.
Key features
- OpenAI-compatible API surface
- Multi-provider routing
- Token and cost analytics
- Performance monitoring
- Self-hosted Docker deployment
- Centralized provider API keys
- Web dashboard UI
Use cases
- Unified LLM access in applications
- Cost tracking across model vendors
- Private inference gateway deployment
- Team rollout with managed hosting