ai gateway
Basic Information
LangDB AI Gateway is an open source, enterprise-grade API gateway built in Rust that provides a unified, OpenAI-compatible interface to multiple large language model providers. It is designed for teams and developers who need to govern, secure, and optimize AI traffic by centralizing access to models from providers such as OpenAI, Google Gemini, Anthropic, Mistral and others. The project exposes standard endpoints for chat completions, embeddings, model listing, and image generation, and supports local deployment via Docker, Cargo, or Docker Compose. It includes configuration via config.yaml and command line options, supports MCP tools for external servers, and integrates observability and analytics backends such as ClickHouse. The gateway is intended to sit between applications and multiple LLM backends to provide routing, rate limits, cost controls, logging, and developer-friendly controls for production AI deployments.